TikTok Scraper
Get TikTok Top Search
Get TikTok's Top search results for a keyword, including videos and photo carousels with their stats.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| querystring · required | string | required | Keyword to search for |
| limitnumber · optional | number | optional | Maximum number of results to return from this request. Leave empty for everything this request returns. This trims the response — it does not fetch more; use the returned cursor for the next batch. The price is the same either way. |
| cursornumber · optional | number | optional | Cursor to get more videos. Get 'cursor' from previous response. |
| regionstring · optional | string | optional | Note, this doesn't filter the tiktoks only in a specfic region, it puts the proxy there. Use it in case you want to scrape posts only available for some country. Use 2 letter country codes like US, GB, FR, etc |
| sort_bystring · optional | string | optional | Sort by One of: |
| publish_timestring · optional | string | optional | Time Frame TikTok was posted One of: |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"items": {
"type": "array"
},
"cursor": {
"type": "number"
},
"limitApplied": {
"type": "boolean",
"description": "True when a Limit trimmed the results; there were more in this response."
}
},
"additionalProperties": true
}