Call it
curl https://api.peume.com/v1/call/tiktok-trending-hashtags-3 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"period": 7,
"limit": 3,
"region": "US"
}
}'const res = await fetch("https://api.peume.com/v1/call/tiktok-trending-hashtags-3", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"period": 7,
"limit": 3,
"region": "US"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/tiktok-trending-hashtags-3",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"period": 7,
"limit": 3,
"region": "US"
}
},
)
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-trending-hashtags-3.
Parameters
periodintegerLookback window in days that the ranking and the popularity curve cover (default 7).
7 · 30 · 90
Example: 7
routestringUpstream source to run on; omit for "tiger". walrus ($0.0012 per call, 91.8% uptime); tiger ($0.025 per call, 97% uptime); octopus ($0.03 + $0.0006 per result, at most $0.09, 99.7% uptime). Output fields only some routes return: industryIds (tiger); topCreators (tiger, octopus). A route can refuse an input it cannot apply with a 400 source_unknown (not charged): retry on another route, or omit that input.
walrus · tiger · octopus
limitintegerMaximum number of ranked hashtags to return, from 1 through 100 (default 3), counted from the top of the board.
Example: 3
industrystringRestrict the ranking to one industry. Omit for the all-industries board.
apparel_accessories · baby_kids_maternity · beauty_personal_care · education · food_beverage · games · health · home_improvement · household_products · news_entertainment · pets · sports_outdoor …
regionstringTwo-letter country code of the market whose hashtag ranking to read (default US). Each market is ranked independently, so US and DE return different boards.
US · FR · DE · IT · ES · GB · AR · AU · BR · CA · CO · EG …
Example: US
