How to run a TikTok top search
GET request to /v1/tiktok/top-search with your input. You get clean JSON back in seconds for 14 credits per call โ no OAuth, scraping or platform SDKs. Search TikTok programmatically and get structured, ranked results.How to run a TikTok top search (step by step)
- 1
Get a free API key
Create a free Captapi account (100 credits, no card) and generate an API key from the dashboard.
- 2
Call the TikTok Top Search API
Send an authenticated GET request to /v1/tiktok/top-search with your input. No OAuth, no scraping setup.
- 3
Read the JSON response
Parse the clean JSON response. Results are cached for 24 hours, so repeat calls are free.
Code example
curl "https://api.captapi.com/v1/tiktok/top-search?q=skincare" \
-H "Authorization: Bearer capt_live_..."What the response looks like
{
"success": true,
"cached": false,
"creditsUsed": 14,
"data": {
"query": "skincare",
"totalReturned": 10,
"results": [
{
"platform": "tiktok",
"url": "https://www.tiktok.com/@melaniseiffert/video/7593808338719132950",
"id": "7593808338719132950",
"caption": "@medicube global collagen mask ๐ ad #medicube\n#collagenwrappingmask #amazonkbeauty #amazonbestseller #glassskin",
"description": "@medicube global collagen mask ๐ ad #medicube\n#collagenwrappingmask #amazonkbeauty #amazonbestseller #glassskin",
"publishedAt": "2026-01-10T18:54:48.000Z",
"durationSeconds": 20,
"thumbnailUrl": null,
"videoUrl": null,
"author": {
"username": "melaniseiffert",
"displayName": "Melani Seiffert",
"url": "https://www.tiktok.com/@melaniseiffert",
"followers": 528000,
"verified": false,
"profileImage": "https://p16-common-sign.tiktokcdn-eu.com/tos-no1a-avt-0068c001-no/578b5a247a466ec3e441fd159f1b7ff8~tplv-tiktokx-cropcenter:720:720.jpeg?dr=10399&refresh_token=901763df&x-expires=1780686000&x-signature=INnTVEBmSYIVblRYKkqZBhLMqQg%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=no1a"
},
"engagement": {
"views": 1200000,
"likes": 39400,
"comments": 334,
"shares": 7202,
"saves": null
},
"hashtags": [
"",
"medicube"
],
"musicName": "Aeris"
},
{
"platform": "tiktok",
"url": "https://www.tiktok.com/@albina/video/7646788858876546324",
"id": "7646788858876546324",
"caption": "Yeah naturally ๐\n\n#skin #skincare #skincareroutine #asmr",
"description": "Yeah naturally ๐\n\n#skin #skincare #skincareroutine #asmr",
"publishedAt": "2026-06-02T13:26:16.000Z",
"durationSeconds": 14,
"thumbnailUrl": null,
"videoUrl": null,
"author": {
"username": "albina",
"displayName": "Albina Mavriqi",
"url": "https://www.tiktok.com/@albina",
"followers": 160200,
"verified": false,
"profileImage": "https://p16-common-sign.tiktokcdn-eu.com/tos-alisg-avt-0068/e8ff6eb5b1983575267d0987cd0b1a65~tplv-tiktokx-cropcenter:720:720.jpeg?dr=10399&refresh_token=27832b04&x-expires=1780686000&x-signature=RKMXPxhtj1ybQICd%2FdhqkY8qswY%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=no1a"
},
"engagement": {
"views": 113500,
"likes": 5791,
"comments": 26,
"shares": 522,
"saves": null
},
"hashtags": [
"skin",
"skincare"
],
"musicName": "original sound"
}
]
}
}Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| q | string | Yes | Search query or keywords (min 2 characters). |
| limit | integer | No | Max items to return (default 20, max 200). Billed per result. |
Frequently asked questions
What does the TikTok Top Search API do?
The TikTok Top Search API lets you search and return matching results from a public TikTok query using one GET request to /v1/tiktok/top-search. It returns clean JSON โ no OAuth or scraping setup required.
How many credits does the TikTok Top Search API cost?
Each successful call costs 14 credits. Responses are cached for 24 hours, and cached results cost 0 credits. Failed or empty results are never charged.
Do I need a TikTok API key or OAuth?
No. A single Captapi key works across YouTube, TikTok, Instagram, and Facebook. We handle proxies, rate limits, retries, and authentication for you.
Is the TikTok Top Search API suitable for production use?
Yes. It is a stable REST endpoint with predictable JSON, automatic retries, and a shared 24-hour cache. Use it for RAG pipelines, analytics, monitoring, and content automation.
Ready to run a TikTok top search?
Start free with 100 credits โ no credit card required.
Get your free API key