Call it
curl https://api.peume.com/v1/call/tiktok-profile-reposts \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"secUid": "your secUid",
"limit": 30
}
}'const res = await fetch("https://api.peume.com/v1/call/tiktok-profile-reposts", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"secUid": "your secUid",
"limit": 30
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/tiktok-profile-reposts",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"secUid": "your secUid",
"limit": 30
}
},
)
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-profile-reposts.
Parameters
cursorstringPagination cursor from a previous response's nextCursor. Pages can overlap: a page may repeat items an earlier page returned and is billed like any other, so de-duplicate by item id and stop when a page adds no new id.
routestringUpstream source to run on; omit for "tiger". tiger ($0.0012 per call, 97.3% uptime).
tiger
secUidRequiredstringTikTok's opaque sec_uid for the account. TikTok's own endpoint keys on it and will not accept a handle; call tiktok.profile with the handle first and read secUid off its response.
limitintegerMaximum items to return in one page.
Example: 30
