APIs / TikTok / Collections Posts
TikTok: Collections Posts
Collections Posts from TikTok as JSON. 1 credit per successful call.
GET /v1/tiktok/collections-postsNeeds terms
Note
This endpoint needs the restricted-endpoint terms, which you can accept in your dashboard.
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
collection_id | string | Required | Up to 100 characters |
count | integer | Optional | Any |
cursor | string | Optional | Up to 100 characters |
Example request
curl "https://api.perceptlayer.com/v1/tiktok/collections-posts?collection_id=7394627756635573022&count=10&cursor=0" \
-H "X-API-Key: $API_KEY"Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
Each item in data.videos has these 31 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
aweme_id | string |
video_id | string |
region | string |
title | string |
cover | url |
ai_dynamic_cover | url |
origin_cover | url |
duration | integer |
play | url |
wmplay | url |
size | integer |
wm_size | integer |
music | url |
play_count | integer |
digg_count | integer |
comment_count | integer |
share_count | integer |
download_count | integer |
collect_count | integer |
create_time | integer |
anchors_extras | string |
is_ad | boolean |
commerce_info | object |
commercial_video_info | string |
item_comment_settings | integer |
mentioned_users | string |
author | object |
is_nff_or_nr | boolean |
is_top | integer |
content_desc | string[] |
anchors | object[] |