Call it
curl https://api.peume.com/v1/call/tiktok-douyin-creator-popular-courses \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"order": 1,
"limit": 24,
"offset": 0
}
}'const res = await fetch("https://api.peume.com/v1/call/tiktok-douyin-creator-popular-courses", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"order": 1,
"limit": 24,
"offset": 0
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/tiktok-douyin-creator-popular-courses",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"order": 1,
"limit": 24,
"offset": 0
}
},
)
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-douyin-creator-popular-courses.
Parameters
orderinteger排序方式/Order type (1=推荐排序, 2=最受欢迎, 3=最新上传)
Example: 1
limitinteger每页数量/Items per page (建议24)
Example: 24
offsetintegerOffset
Example: 0
category_idstring精选专题分类ID/Selected topic category ID - 不传则为热门课程,传入则为精选专题 可选值/Available values: 6976547830546582816=知识品类, 6976547923849006336=生活品类, 6976547940311633165=娱乐品类, 6976547972108635404=美食品类, 6980288134957272352=正能量, 6980288181744766219=游戏品类, 6980288219548011776=通用
Other ways to do it
Same job, other sources, cheapest first.
