Reference
TikTok Engine
Overview
A dual-purpose engine. You can provide a direct TikTok URL to download a specific video, OR provide a Search Query to automatically find and download the top result for that keyword.
Endpoint
POST /tiktok
Request Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| query | string | Required | A valid TikTok URL OR a text search term (e.g., "soccer skills"). |
| url | string | Optional | Alias for 'query' (legacy support). |
Example Usage (Download)
javascript
Example Usage (Search)
javascript
Successful Response
json