A fresh sample of TikTok's For You feed as served from one country, with caption, author and engagement per video.
curl -X POST "https://api.primaryapi.com/v1/run/tiktok.trending_feed" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"region":"US"}'{
"output": {
"found": true,
"data": {
"nextCursor": "<null>",
"videos": [
{
"durationSeconds": "<number | null>",
"likes": "<integer | null>",
"comments": "<integer | null>",
"authorVerified": "<boolean | null>", …
}
]
}
},
"credits": 3
}Input and output
3 fields
US.24 fields
Good to know
A rotating sample, not a ranked chart. Every call returns a different batch (no pagination; do not cache).
Feed items omit the creator handle on some posts (taken from the post URL). Carry no follower or sound fields.
The same key and credits work for every API.