Douyin video download URL: getting a video's play address by API (2026)
Call Douyin's video detail, douyin.videos.get, with the video's ID or link: ext.video_url in the answer is the address the video plays from, at $0.0020 a call. Every video of a video search or an account's video list carries it too. The address expires, so use it soon. DataXAPI reads Douyin with 38 endpoints, from $0.0020 a call; a failed call is not charged, and the free trial covers up to 333 calls.
Updated 2026-11-07
Which endpoints carry the address?
Every video the three endpoints return carries ext.video_url, with its length in ext.duration (seconds) and its cover in ext.cover_url. They are in the full view: ask with view: "full". An image post has no video, so it has none of them.
| You have | Endpoint | Price |
|---|---|---|
| A video's ID, link or share text | douyin.videos.get | $0.0020 |
| A keyword | douyin.videos.search | $0.0200 a page |
| An account | douyin.users.videos.list | $0.0020 a page |
How long does the address work?
It is a signed address of the platform's, and it expires: an address recorded in October no longer opened in November when we tried it. Download or play it soon after; once it has expired, call the endpoint again for a new one. DataXAPI returns the address only and keeps no video.
Use the videos within the platform's rules and their authors' rights.
How do I use it from an AI?
Once connected, say “give me the play address of this Douyin video (a link)”, or “list the play addresses and lengths of this account's last 20 videos”.
To connect: paste this to your AI assistant: “Read https://dataxapi.com/agents.md and set up DataXAPI here. My API key is dx_…; use it for every DataXAPI call.” A client that takes a remote MCP server can be given https://api.dataxapi.com/mcp with the header Authorization: Bearer <key> instead.
Why DataXAPI
- Steady: endpoints were available 99.9% of the last 30 days, on a public status page you can check.
- Fast: a paid call took 2.2 seconds at the median over the last 7 days (counted 2026-11-06).
- Fewer tokens: across 36 endpoints on Douyin, one recorded real response each, the platform's own JSON comes to 2.4M tokens and what an AI reads through DataXAPI's MCP server to 72k, 97% fewer; the JSON of a direct API call is 96% fewer too (counted 2026-11-06). Every platform answers in one shape: the author in
author, counts inmetrics, the next page inpage.next_cursor, so another platform needs no new parser. - See before you pay: every endpoint's page shows a recorded real response, field by field.
- Spending you control: a failed call is not charged; each key can have a limit,
X-Max-Pricecaps one call, and the sameIdempotency-Keywithin 24 hours is never charged twice. - Ready for AI: a remote MCP server listed in the official MCP registry as
com.dataxapi/mcp, usable from Claude, Cursor and ChatGPT. - Free trial of up to 333 calls, no card.
Endpoints
Each with its price; every page has the parameters, the fields and a recorded response.
Start with one key.
230 endpoints on 21 platforms, from $0.0003 a call. Errors and timeouts are not charged.