PHPackages                             tikliveapi/tiktok-scraper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. tikliveapi/tiktok-scraper

ActiveLibrary[API Development](/categories/api)

tikliveapi/tiktok-scraper
=========================

Advanced TikTok Scraper API Client for PHP. Scrape user profiles, followers, videos, hashtags, music and search data in real-time.

v1.0.0(1mo ago)10MITPHPPHP &gt;=7.4

Since Jul 10Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/Tikliveapi/tikliveapi-tiktok-scraper)[ Packagist](https://packagist.org/packages/tikliveapi/tiktok-scraper)[ Docs](https://www.tikliveapi.com/)[ RSS](/packages/tikliveapi-tiktok-scraper/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

TikLiveAPI - PHP Client
=======================

[](#tikliveapi---php-client)

[![Latest Version on Packagist](https://camo.githubusercontent.com/6f071bdd23db77b839ddb5f6c6e312767959ba0d4d34cd767470a44682e73202/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74696b6c6976656170692f74696b746f6b2d736372617065722e737667)](https://packagist.org/packages/tikliveapi/tiktok-scraper)[![Total Downloads](https://camo.githubusercontent.com/4391a032a21b9b4158f098787f78d17d8402016775d058ba5141a8a4fc73fd2b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f74696b6c6976656170692f74696b746f6b2d736372617065722e737667)](https://packagist.org/packages/tikliveapi/tiktok-scraper)[![License](https://camo.githubusercontent.com/1c504a0689b5c9abaf4b97f7f856f58cbbdef3287ac3fba914a537e33ab2709c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f74696b6c6976656170692f74696b746f6b2d736372617065722e737667)](https://packagist.org/packages/tikliveapi/tiktok-scraper)

A simple PHP wrapper for [**TikLiveAPI**](https://www.tikliveapi.com/) - a fast, reliable **TikTok Scraper API** for real-time user, video, music, hashtag, and search data.

**Website:** [tikliveapi.com](https://www.tikliveapi.com/) · **Documentation:** [tikliveapi.com/documentation](https://www.tikliveapi.com/documentation/) · **Get an API key:** [tikliveapi.com](https://www.tikliveapi.com/)

Features
--------

[](#features)

- **Easy to use:** Simple object-oriented interface.
- **Fast:** Optimized for speed with low latency.
- **Comprehensive:** Access User, Video, Search, and Music data.

Installation
------------

[](#installation)

### Composer (recommended)

[](#composer-recommended)

```
composer require tikliveapi/tiktok-scraper
```

Then include Composer's autoloader:

```
require 'vendor/autoload.php';
```

### Manual

[](#manual)

1. Download `TikLiveAPI.php` and include it in your project.
2. Get your API key from the [TikLiveAPI Dashboard](https://www.tikliveapi.com/).

Usage
-----

[](#usage)

```
require 'vendor/autoload.php'; // or: require 'TikLiveAPI.php';

// Initialize with your API Key
$api = new TikLiveAPI('YOUR_API_KEY');

// Get User ID
$result = $api->getUserID('tiktok');
print_r($result);

// Get User Info
$info = $api->getUserInfo('tiktok');
print_r($info);
```

Available Endpoints
-------------------

[](#available-endpoints)

### Users

[](#users)

- **User ID** (`getUserID`): Get the unique User ID by username.
- **User Info** (`getUserInfo`): Get detailed user information by username.
- **User Info by ID** (`getUserInfoByID`): Get user information by numeric ID.
- **User Posts** (`getUserPosts`): Retrieve posts from a specific user.
- **User Followers** (`getUserFollowers`): Get the list of followers for a user.
- **User Following** (`getUserFollowing`): Get the list of accounts a user is following.
- **User Search** (`searchUser`): Search for users by keyword.
- **User Collections** (`getUserCollections`): Get user collections (favorites).
- **User Liked Posts** (`getUserLikedPosts`): Get posts liked by a user.
- **User Playlists** (`getUserPlaylists`): Get playlists created by a user.
- **User Stories** (`getUserStories`): Get stories from a user.

### Posts (Videos)

[](#posts-videos)

- **Post Detail** (`getPostDetail`): Get detailed information about a specific post.
- **Post Comments** (`getPostComments`): Get comments for a specific post.
- **Post Comment Replies** (`getPostCommentReplies`): Get replies to a specific comment.
- **Post Music** (`getMusicPosts`): Get posts associated with a specific music track.
- **Post Challenge** (`getChallengePosts`): Get posts associated with a specific challenge.
- **Post Playlist** (`getPlaylistPosts`): Get posts from a specific playlist.
- **Posts Collection** (`getCollectionPosts`): Get posts from a specific collection.
- **Post Search** (`searchVideo`): Search for posts (videos) by keyword.

### Music

[](#music)

- **Music Info** (`getMusicInfo`): Get details about a music track.
- **Music Posts** (`getMusicPosts`): Get posts that use a specific music track.

### Challenge (Hashtags)

[](#challenge-hashtags)

- **Challenge Info (ID)** (`getChallengeInfoByID`): Get challenge info by ID.
- **Challenge Info (Name)** (`getChallengeInfoByName`): Get challenge info by name (hashtag).
- **Challenge Posts** (`getChallengePosts`): Get posts for a specific challenge.
- **Challenge Search** (`searchChallenge`): Search for challenges.

### Playlist (Mix)

[](#playlist-mix)

- **Playlist Info** (`getPlaylistInfo`): Get playlist details.
- **Playlist Posts** (`getPlaylistPosts`): Get posts in a playlist.
- **Playlist by User** (`getUserPlaylists`): Get playlists for a user.

### Collection

[](#collection)

- **Collection Info** (`getCollectionInfo`): Get collection details.
- **Collection Posts** (`getCollectionPosts`): Get posts in a collection.
- **Collection by User** (`getUserCollections`): Get collections for a user.

### Download

[](#download)

- **Download Video** (`downloadVideo`): Download a video without watermark.
- **Download Music** (`downloadMusic`): Download music track.

### Region

[](#region)

- **Region List** (`getRegionList`): Get list of available regions.

### Ads

[](#ads)

- **Ads Detail** (`getAdsDetail`): Get ad details.

For full documentation and parameter details, visit .

License
-------

[](#license)

MIT

###  Health Score

34

—

LowBetter than 74% of packages

Maintenance90

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

47d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5d3b79648e851e1817fad1d67ec31f6a6a8cbbfe874a24db037b62c90ad5bbb0?d=identicon)[Tikliveapi](/maintainers/Tikliveapi)

---

Top Contributors

[![Tikliveapi](https://avatars.githubusercontent.com/u/247900452?v=4)](https://github.com/Tikliveapi "Tikliveapi (4 commits)")

---

Tags

apiphpscrapersocial-mediatiktok-apitiktok-datatiktok-scraperapiscrapersocial mediaTikTok tiktok apitiktok-scraper

### Embed Badge

![Health badge](/badges/tikliveapi-tiktok-scraper/health.svg)

```
[![Health](https://phpackages.com/badges/tikliveapi-tiktok-scraper/health.svg)](https://phpackages.com/packages/tikliveapi-tiktok-scraper)
```

###  Alternatives

[ssovit/tiktok-api

Unofficial TikTok API for PHP

15038.8k](/packages/ssovit-tiktok-api)[jstolpe/tiktok-api-php-sdk

TikTok API PHP SDK

3511.8k](/packages/jstolpe-tiktok-api-php-sdk)[truongbo/tiktok-api

Full API Tiktok Data

162.8k](/packages/truongbo-tiktok-api)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
