Open Platform
Use API keys to access platform features. Benefits and quotas are shared with your web account.
Available tools
Parse and export (POST)
POST /openapi/v1/{tool_id}/resolve
Include X-Api-Key / X-Api-Secret in request headers; send {"url": "shared link"} for one item or {"urls": ["link1", "link2"]} for a batch (up to 20 items). A single response contains download_url; a batch returns {"results": [{"url", "ok", "download_url" or "error"}]}. Active membership is required; items are billed individually.
# Single request: url
curl -X POST https://www.xiats.com/openapi/v1/douyin/resolve \
-H "X-Api-Key: <your-key>" \
-H "X-Api-Secret: <your-secret>" \
-H "Content-Type: application/json" \
-d '{"url":"<shared-link>"}'
# Batch: urls array, up to 20 items; returns {"results":[...]}
curl -X POST https://www.xiats.com/openapi/v1/douyin/resolve \
-H "X-Api-Key: <your-key>" -H "X-Api-Secret: <your-secret>" \
-H "Content-Type: application/json" \
-d '{"urls":["<link1>","<link2>"]}'Extract text (POST)
POST /openapi/v1/transcribe
Send {"url": "video URL"} for one item or {"urls": ["url1", "url2"]} for a batch (up to 20 items). URLs may be resolve returned by download_url or any public direct video URL. Audio is transcribed on the server. A single response returns {"text", "chars"}; a batch returns {"results": [{"url", "ok", "text"/"chars" or "error"}]}. Produces text only; no video file is provided.
# Single request: url
curl -X POST https://www.xiats.com/openapi/v1/transcribe \
-H "X-Api-Key: <your-key>" \
-H "X-Api-Secret: <your-secret>" \
-H "Content-Type: application/json" \
-d '{"url":"<video-url, e.g. download_url from resolve>"}'
# Batch: urls array, up to 20 items; returns {"results":[...]}
curl -X POST https://www.xiats.com/openapi/v1/transcribe \
-H "X-Api-Key: <your-key>" -H "X-Api-Secret: <your-secret>" \
-H "Content-Type: application/json" \
-d '{"urls":["<video-url1>","<video-url2>"]}'Check quota (GET)
GET /openapi/v1/tools — Returns each tool's current access status and remaining allowance.