Download the PHP package jsonscraper/tiktok-api-php without Composer
On this page you can find all versions of the php package jsonscraper/tiktok-api-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jsonscraper/tiktok-api-php
More information about jsonscraper/tiktok-api-php
Files in jsonscraper/tiktok-api-php
Package tiktok-api-php
Short Description TikTok Scraper API for PHP — typed response models, video, profiles, comments and search
License MIT
Homepage https://github.com/jsonscraper/tiktok-api-php
Informations about the package tiktok-api-php
TikTok Scraper API for PHP
Composer client with LazyJsonMapper response models and ready-to-run examples. Supports 54 TikTok Scraper API methods.
Package: jsonscraper/tiktok-api-php · Documentation
Quick start
1. Get your key from the TikTok API product page and set it on your server:
2. Install the package:
3. Make a request:
The API payload is in tiktok. Live calls require a valid API license and may consume quota. Response examples and status handling.
Main methods
54 methods are available. Common starting points:
| What you need | Method |
|---|---|
| Read a profile | getUserInfo() |
| Read a video | getVideoByID() |
| Get a video download URL | getNoWatermarkUrl() |
| Read comments | getCommentsByID() |
| Search videos | searchVideo() |
| List profile videos | getUserFeed() |
All methods and parameters →
Ready-to-run examples
- Read a profile.
- Read a video.
- Read comments.
- Search videos.
- List profile videos.
- Video, author, statistics and playback URL models.
Each example includes command-line parameters, key setup, timeouts, error handling and response output. Run it with --help first; this makes no API request.
Full method and parameter reference
Response models
The PHP client uses Guzzle + LazyJsonMapper. A response is an APIResponse with nested models and readable getters:
All model classes
Configuration
Requests use a 30-second timeout by default. Configure caching and retries to fit your application's request budget. Keys are read from your server environment; redirects are disabled.
Full integration guide
Use with ChatGPT and Codex
Prefer an assistant connection? Use the shared jsonscraper MCP server. Connect an Instagram API license, a TikTok API license, or both; each product keeps its own plan and quota. MCP source and setup.
Access, pricing and support
The SDK source is MIT-licensed. Hosted API access requires a separate TikTok license. Check current plans and get access.
Service support · SDK issues · MIT license
Development
Tests use a local/mock server and require no API key. A GitHub Actions template is available for optional automation.
The SDK has no installation or usage telemetry. README links use campaign parameters for website referral analytics. jsonscraper is independent and is not affiliated with TikTok.
All versions of tiktok-api-php with dependencies
sergeykomlev/lazyjsonmapper Version ^2.0.0
guzzlehttp/guzzle Version ^7.4
ext-curl Version *
ext-json Version *
ext-mbstring Version *