Call it
curl https://api.peume.com/v1/call/tiktok-creator-search-insights-by-tab-and-filters \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"offset": 0,
"limit": 20,
"tab": "all",
"language_filters": "en",
"creator_source": "general_search",
"force_refresh": false
}
}'const res = await fetch("https://api.peume.com/v1/call/tiktok-creator-search-insights-by-tab-and-filters", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"offset": 0,
"limit": 20,
"tab": "all",
"language_filters": "en",
"creator_source": "general_search",
"force_refresh": false
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/tiktok-creator-search-insights-by-tab-and-filters",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"offset": 0,
"limit": 20,
"tab": "all",
"language_filters": "en",
"creator_source": "general_search",
"force_refresh": False
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: tiktok-creator-search-insights-by-tab-and-filters.
Parameters
offsetintegerPagination offset
Example: 0
limitintegerNumber per page
Example: 20
tabstringTab type (all/content_gap/follower_searched/life_style/topics/challenges/sounds/hashtags)
Example: all
language_filtersstringLanguage filters (id/de/en/es/fr/pt/vi/tr/ar/th/ja/ko)
Example: en
category_filtersstringCategory filters (Gaming/Fashion/Tourism/Science/Food/Sports)
creator_sourcestringCreator source
Example: general_search
force_refreshbooleanForce refresh
Example: false
Other ways to do it
Same job, other sources.
