Popular TikTok videos API
Videos from TikTok's Explore feed, the nearest public list to 'popular'.
- Cost
- 1 credit
- Cached repeats
- 0 creditssend max_age_days, results kept 1 day
- Failed requests
- 0 credits
- Status
- Betashape may still gain fields
period and sort are accepted for compatibility and not applied; category picks an Explore category.
Request
Send your key in the x-api-key header.
curl -G "https://api.socialscrape.io/v1/tiktok/videos/popular" \
-H "x-api-key: $SOCIALSCRAPE_API_KEY" \
--data-urlencode 'region=US'import os
import requests
params = {
"region": "US",
}
res = requests.get(
"https://api.socialscrape.io/v1/tiktok/videos/popular",
headers={"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]},
params=params,
timeout=60,
)
body = res.json()
if body["ok"]:
print(body["data"])
else:
print(body["error"]["code"], body["error"]["message"])const url = new URL("https://api.socialscrape.io/v1/tiktok/videos/popular");
url.search = new URLSearchParams({
region: "US",
}).toString();
const res = await fetch(url, {
headers: { "x-api-key": process.env.SOCIALSCRAPE_API_KEY! },
});
const body = await res.json();
if (body.ok) {
console.log(body.data);
} else {
console.error(body.error.code, body.error.message);
}{
"nodes": [
{
"name": "SocialScrape Popular TikTok videos",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
0,
0
],
"parameters": {
"method": "GET",
"url": "https://api.socialscrape.io/v1/tiktok/videos/popular",
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "region",
"value": "US"
}
]
},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "x-api-key",
"value": "={{ $env.SOCIALSCRAPE_API_KEY }}"
}
]
}
}
}
],
"connections": {}
}Parameters
| Name | Type | Required | Description |
|---|---|---|---|
period | string | Accepted for compatibility; the Explore feed has no time window. | |
sort | string | Accepted for compatibility; not applied. Also accepted as sort_by, sortBy, order. | |
category | string | TikTok's numeric Explore category id (default 1). | |
cursor | string | Opaque cursor from the previous page; pass it back unchanged. Also accepted as continuationToken, continuation_token, next_max_id, max_id, max_cursor, min_time, after, page_token, pageToken, paginationToken, next_page_id, page. | |
region | string | Two-letter country code (ISO 3166-1) for results that vary by country. Also accepted as country, geo. |
Every request also accepts trim, raw and max_age_days.
Response
Sample from a recorded response, shortened. Values are public data, not yours.
{
"ok": true,
"credits_charged": 1,
"credits_remaining": 4999,
"cached": false,
"cached_at": null,
"request_id": "req_f64ceef95a71479395ed042a",
"data": {
"object": "list",
"items": [
{
"object": "post",
"platform": "tiktok",
"id": "7694032058280119583",
"url": "https://www.tiktok.com/@bbykitty38/video/7694032058280119583",
"type": "video",
"author": {
"id": "7657915122313528334",
"handle": "bbykitty38",
"name": "Bbykitty",
"url": "https://www.tiktok.com/@bbykitty38",
"avatar_url": "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/262858978cba062bcf89c7975ff729ac~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token...",
"verified": false
},
"title": null,
"text": "#CapCut Toc Toc 😂 |⬆️ Tap on the template anchor to recreate yours #CapCut #capcutpioneer #pioneertemplate",
"published_at": "2026-10-07T20:54:17Z",
"duration_seconds": 11,
"language": "en",
"hashtags": [
"capcut",
"capcutpioneer",
"pioneertemplate"
],
"mentions": null,
"stats": {
"views": 155900,
"likes": 3758,
"comments": 38,
"shares": 1526,
"saves": 345,
"dislikes": null
},
"media": {
"thumbnail_url": "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-p-0068-tx2/osE3XcQAVeAFSErYuuRm2xfgBFD6EB8QjHvqDN~tplv-tiktokx-origin.image?dr=9636&x-expires=1793498400...",
"video_url": "https://v16-webapp-prime.us.tiktok.com/video/tos/useast8/tos-useast8-ve-0068c001-tx2/oYEADEA7XwBxazBVKCQgBIaJsgGxSRbiYzisP/?a=1988&bti=ODszNWYuMDE6&&bt=2069&...",
"audio_url": null,
"image_urls": null,
"width": 720,
"height": 1260
},
"song": {
"id": "7690651570417060641",
"title": "son original",
"artist": "CASTING GASTRO",
"url": "https://www.tiktok.com/music/son-original-7690651570417060641"
},
"location": null,
"is_pinned": null,
"is_sponsored": false,
"extra": {
"ai_label_shown": true,
"author_followers": 161200,
"category_type": 106,
"comments_disabled": false,
"duet_enabled": true,
"is_private": false
}
},
{
"object": "post",
"platform": "tiktok",
"id": "7697318897640377631",
"url": "https://www.tiktok.com/@naohh_ark765/video/7697318897640377631",
"type": "video",
"author": {
"id": "7697305375733744653",
"handle": "naohh_ark765",
"name": "naohh_ark765",
"url": "https://www.tiktok.com/@naohh_ark765",
"avatar_url": "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/c9da8fd5fb244ed6b39b85a95976a185~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token...",
"verified": false
},
"title": null,
"text": "Noah's Ark - did the legendary vessel really survive the Great Flood, and where is it today??? Noah's Ark, Great Flood, Ancient Mysteries, Mount Ararat, Bibl...",
"published_at": "2026-10-16T17:28:54Z",
"duration_seconds": 10,
"language": "en",
"hashtags": [
"noahsark",
"greatflood",
"ancienthistory"
],
"mentions": null,
"stats": {
"views": 24000000,
"likes": 1800000,
"comments": 42200,
"shares": 91300,
"saves": 126147,
"dislikes": null
},
"media": {
"thumbnail_url": "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-p-0068-tx2/oQBSISw21Eq1CYi9XAairHeiIiBBtWAuCAPat9~tplv-tiktokx-origin.image?dr=9636&x-expires=1793498400...",
"video_url": "https://video-ttp2-bp.us.tiktok.com/e165591be397843d1478b88c828c51f5/6ae6a142/kmoat/mps/logo/v2/r/p/v15044gf0000db95s27og65tmvcas1o0/b12fdccdc8734fc1b9a7e444...",
"audio_url": null,
"image_urls": null,
"width": 576,
"height": 1024
},
"song": {
"id": "7265056503707044614",
"title": "الصوت الأصلي",
"artist": "حسين مالك |🇮🇶",
"url": "https://www.tiktok.com/music/%D8%A7%D9%84%D8%B5%D9%88%D8%AA-%D8%A7%D9%84%D8%A3%D8%B5%D9%84%D9%8A-7265056503707044614"
},
"location": null,
"is_pinned": null,
"is_sponsored": false,
"extra": {
"ai_label_shown": true,
"author_followers": 118800,
"category_type": 120,
"comments_disabled": false,
"duet_enabled": true,
"is_private": false
}
}
],
"cursor": "c16",
"has_more": true,
"parent": null
},
"cursor": "c16",
"has_more": true
}Fields
A page of results. Each entry in items is a Post. cursor and has_more page through the rest.
A field the platform does not give is null, never made up. Extra platform details are in extra.
| Field | Type | Always | Notes |
|---|---|---|---|
object | "post" | ||
platform | Platform | yes | |
id | string | yes | |
url | string or null | ||
type | "video" or "short" or "reel" or "image" or "carousel" or "story" or "live" or "clip" or "text" or "link" or "tweet" or "pin" or "community_post" or "episode" or "unknown" | ||
author | Author or null | ||
title | string or null | ||
text | string or null | ||
published_at | string (ISO 8601 date-time) or null | ||
duration_seconds | number or null | ||
language | string or null | ||
hashtags | string[] or null | ||
mentions | string[] or null | ||
stats | Stats |
Show the other 6 fields
Full field list in the reference for this endpoint and the data models. Errors are listed under Errors.
Questions
Which errors can it return?
invalid_params (do not retry), not_found (do not retry). Account and platform errors from the errors list can also happen. A failure always costs 0 credits.
How do I get more than one page?
Send the same request with cursor set to the cursor you received, until has_more is false. Each page costs its own price. See pagination.
Is there an SDK call for it?
The preview Python client has client.tiktok.videos_popular(...) and the TypeScript client client.tiktok.videosPopular(). Both return the same envelope as the HTTP API. The packages are not published yet; plain HTTP works today in any language.
Can an AI agent call it?
Yes. The MCP server reaches every built endpoint, with the same prices.