Call it
curl https://api.peume.com/v1/call/search-tiktok-users-by-name-or-keyword \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"query": "your query",
"cursor": 10
}
}'const res = await fetch("https://api.peume.com/v1/call/search-tiktok-users-by-name-or-keyword", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"query": "your query",
"cursor": 10
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-tiktok-users-by-name-or-keyword",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"query": "your query",
"cursor": 10
}
},
)
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-name-or-keyword.
Parameters
queryRequiredstringSearch query for users
cursornumberCursor to get more users. Get 'cursor' from previous response.
Example: 10
trimbooleanSet to true to get a trimmed response
Other ways to do it
Same job, other sources, cheapest first.
Search TikTok users by keywordGet user search results of specified keywordsSearch 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 keywordSearches TikTok users by keyword with cursor pagination and search-session continuity.
