TikTok: User Story
User Story from TikTok as JSON. 1 credit per successful call.
GET /v1/tiktok/user-storyNeeds terms
Note
This endpoint needs the restricted-endpoint terms, which you can accept in your dashboard.
Parameters
Send parameters in the query string.
Required Send unique_id or user_id.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
unique_id | string | Optional | Up to 255 characters |
user_id | string | Optional | Up to 100 characters |
Example request
curl "https://api.perceptlayer.com/v1/tiktok/user-story?unique_id=%40isi.cos" \
-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 30 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 |
music_info | object |
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 |