GET
/tiktok/search/topSearch Top
Search TikTok's "Top" tab which combines the best results across videos, users, sounds, and hashtags for a keyword.
Quick Start
cURL
curl "https://api.creatorcrawl.com/v1/tiktok/search/top?keyword=cooking%20recipes" \
-H "x-api-key: YOUR_API_KEY"Parameters
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | Required | Search keyword or phrase |
cursor | string | Optional | Pagination cursor |
Response
JSON Response
{
"results": [
{
"type": "video",
"id": "7345678901234567890",
"desc": "Easy 5 minute recipe"
},
{
"type": "user",
"uniqueId": "chef_creator"
}
],
"cursor": "10",
"hasMore": true
}Every request costs 1 credit. Response data is live -- never cached.
Use Cases
Comprehensive search
Get the best results across all content types for a keyword in one call.
SERP analysis
Understand what TikTok shows first for specific search queries.
Content gap analysis
Analyze top results to find content opportunities in underserved areas.
Code Examples
Python
import requests
resp = requests.get(
"https://api.creatorcrawl.com/v1/tiktok/search/top",
params={"keyword": "cooking recipes"},
headers={"x-api-key": "YOUR_API_KEY"},
)
for result in resp.json()["results"]:
print(f"[{result['type']}] {result.get('desc', result.get('uniqueId', ''))}")JavaScript
const resp = await fetch(
"https://api.creatorcrawl.com/v1/tiktok/search/top?keyword=cooking%20recipes",
{ headers: { "x-api-key": "YOUR_API_KEY" } }
)
const { results } = await resp.json()
results.forEach(r => console.log(`[${r.type}] ${r.desc || r.uniqueId || ''}`))