X-API-Key 调用。单价 —,新密钥赠送试用余额。| 备注 | 密钥 | 余额 | 已消费 | 调用 |
|---|
POST /api/v1/jobs · 请求头 X-API-Key: 你的密钥
请求体:{ "links": ["https://v.douyin.com/xxxx/", ...] }
或 :{ "text": "整段分享文案,自动提取链接" }
返回:{
"code": 0, "message": "accepted",
"data": { "job_id": "job_xxx", "total": 2, "status": "pending",
"price_cents": 1, "estimated_cost_cents": 2,
"query_url": "/api/v1/jobs/job_xxx" }
}
GET /api/v1/jobs/{job_id} · 请求头 X-API-Key
返回:{ "code":0, "data":{ "status":"done", "done":2, "ok":1, "cost_cents":1,
"results":[ {"link":"...","ok":true,"data":{标题/作者/视频地址/统计...}},
{"link":"...","ok":false,"error":"..."} ] } }
GET /api/v1/balance · 请求头 X-API-Key
每成功解析 一条链接计费 —;解析失败不计费;余额不足会拒绝提交。充值请联系管理员。