TikTok Scraper
Get TikTok Collection Videos
Get the videos saved in a public TikTok collection from its URL, with captions, authors and stats.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| urlstring · required | string | required | Public TikTok collection URL |
| 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. |
| cursorstring · optional | string | optional | Cursor to get more videos. Use max_cursor from the previous response. |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"videos": {
"type": "array"
},
"has_more": {
"type": "boolean"
},
"max_cursor": {
"type": "string"
},
"status_msg": {
"type": "string"
},
"status_code": {
"type": "number"
},
"limitApplied": {
"type": "boolean",
"description": "True when a Limit trimmed the results; there were more in this response."
},
"collection_id": {
"type": "string"
}
},
"additionalProperties": true
}