Call it
curl https://api.peume.com/v1/call/search-tiktok-users-by-keyword-2 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"keyword": "Cat",
"offset": 0,
"count": 20
}
}'const res = await fetch("https://api.peume.com/v1/call/search-tiktok-users-by-keyword-2", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"keyword": "Cat",
"offset": 0,
"count": 20
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-tiktok-users-by-keyword-2",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"keyword": "Cat",
"offset": 0,
"count": 20
}
},
)
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: search-tiktok-users-by-keyword-2.
Parameters
keywordRequiredstringKeyword
Example: Cat
offsetintegerOffset
Example: 0
countintegerNumber
Example: 20
user_search_follower_countstringSort by number of followers
user_search_profile_typestringSort by account type
user_search_other_prefstringSort by other preferences
Other ways to do it
Same job, other sources, cheapest first.
Search TikTok users by keywordTiktok: Search userSearch users by keywordBest sourceSearch users by keyword. Checks the cheapest source first and moves to the next one until it finds an answer.TikTok User SearchSearch TikTok accounts by keyword (handle, nickname, follower count) with cursor pagination.Search TikTok users by name or keywordSearches for TikTok users by keyword or name — useful for finding creators or accounts matching a query.Search TikTok users by keywordSearches TikTok users by keyword with cursor pagination and search-session continuity.
