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. OneFeedAPI reads Douyin with 41 endpoints, from $0.0020 a call; a failed call is not charged, and the free trial covers up to 333 calls.

Open in ChatGPTOpen in Claude

Updated 2026-11-21

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 haveEndpointPrice
A video's ID, link or share textdouyin.videos.get$0.0020
A keyworddouyin.videos.search$0.0200 a page
An accountdouyin.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. OneFeedAPI 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://onefeedapi.com/agents.md and set up OneFeedAPI here. My API key is dx_…; use it for every OneFeedAPI call.” A client that takes a remote MCP server can be given https://onefeedapi.com/mcp with the header Authorization: Bearer <key> instead.

How do I get every file without watermark, the music, and what is said?

The files are douyin.videos.media.get's: give it the video's ID, link or whole share text, at $0.0020 a call, and it returns the video without watermark in each quality (each with its width, height, codec and bit rate), the cover and the background music, and for an image post each picture as a JPEG with its live photo video, one entry each in files. Many players cannot play a file whose codec is bytevc2: for a common format pick h264 or h265.

The address gives 403 or has expired: Douyin's addresses are fetched as they are, with no header; where another platform's files carry headers (Bilibili's want a Referer), send those headers with the request. expires_at is when the address's signature says it expires: once it has, or the address stops opening, call again for new ones. Each video file also has stable_url, the platform's play address, which lasts longer than url.

The background music's name, author, length, audio file (mostly an MP3), whether it is commercial music and how many have posted with it come from douyin.music.get, by the music's ID, at $0.0020 a call.

What is said in it is douyin.videos.transcript.get's: give it the link or share text, and it returns the whole text, each sentence with its start and end, and ready SRT subtitles; speakers can be told apart. $0.0020 a call, plus $0.0038 a minute of video, a part minute counting as one; nothing when nobody speaks or the call fails.

A video of up to 5 minutes gets its text in the same call. One of 5 minutes to 2 hours is answered with a job, its status processing: call the same endpoint with job after retry_after_seconds seconds for the text, within 24 hours of submitting, at the same price, charged only when the text is delivered.

A creator's videos in bulk: page through them with douyin.users.videos.list ($0.0020 a page), then give each one's ID or link to douyin.videos.transcript.get in turn.

Below is the request to douyin.videos.media.get as code, and a response recorded for real, with the day it was recorded under it. The code reads the key from the environment variable ONEFEED_API_KEY.

curl -G "https://onefeedapi.com/v1/douyin/videos/media/get" \
  --data-urlencode "id=7694940173372575014" \
  -H "Authorization: Bearer $ONEFEED_API_KEY"
# pip install onefeedapi
from onefeedapi import OneFeedAPI

dx = OneFeedAPI()  # reads ONEFEED_API_KEY
result = dx.douyin.videos.media.get(id="7694940173372575014")
print(result["data"]["item"])
// npm i @onefeedapi/sdk
import { OneFeedAPI } from "@onefeedapi/sdk";

const dx = new OneFeedAPI(); // reads ONEFEED_API_KEY
const result = await dx.douyin.videos.media.get({ id: "7694940173372575014" });
console.log(result.data.item);
onefeedapi call douyin.videos.media.get id=7694940173372575014
Recorded response
{
  "code": "ok",
  "request_id": "91269756-7751-463e-983d-46d8da516a46",
  "data": {
    "item": {
      "post_id": "7833109286609086520",
      "type": "video",
      "title": "关于周末露营,我踩过的五个坑",
      "author": {
        "id": "MS4wLjABAAAAym-ezULCocGd6O4LOtyemCC70xSavR-Fz9TkEy9fr5y",
        "name": "一颗柠檬糖"
      },
      "duration": 17.62,
      "files": [
        {
          "kind": "video",
          "index": null,
          "quality": "720p",
          "width": 720,
          "height": 1280,
          "codec": "bytevc2",
          "bitrate": 660528,
          "size": 1454980,
          "format": "mp4",
          "duration": 17.62,
          "title": null,
          "watermark": false,
          "url": "https://www.douyin.com/video/7532013836158439430",
          "backup_urls": [
            "https://www.douyin.com/video/7103843412149753325"
          ],
          "expires_at": "2026-10-12T23:42:12.000Z",
          "stable_url": "https://www.douyin.com/video/7379017266167968009",
          "live": null
        },
        {
          "kind": "video",
          "index": null,
          "quality": "720p",
          "width": 720,
          "height": 1280,
          "codec": "bytevc2",
          "bitrate": 560639,
          "size": 1234949,
          "format": "mp4",
          "duration": 17.62,
          "title": null,
          "watermark": false,
          "url": "https://www.douyin.com/video/7218692493584648804",
          "backup_urls": [
            "https://www.douyin.com/video/7806649436349130471"
          ],
          "expires_at": "2026-10-12T23:42:12.000Z",
          "stable_url": "https://www.douyin.com/video/7069581524645027774",
          "live": null
        },
        // … 6 more
      ]
    }
  },
  "warnings": [],
  "meta": {
    "capability": "douyin.videos.media.get",
    "result_status": "complete",
    "fetched_at": "2026-10-12T18:41:55.000Z",
    "cached": false,
    "replayed": false,
    "unavailable": {
      "files.lang": "platform",
      "files.headers": "platform",
      "decrypt": "platform"
    },
    "billing": {
      "amount": "0.002",
      "currency": "USD",
      "balance_after": "9.998"
    }
  }
}

From a response recorded 2026-10-12 18:41 UTC. Names, text and IDs are examples, and so are the links: none is the recorded one (the page shows no one's personal data); the figures are as recorded. Long lists are cut. The request ID, cursor and balance are made up.

Douyin video downloader, no watermark · $0.0020 / a call · Parameters, fields and errors on the endpoint's page →

Why OneFeedAPI

  • 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 OneFeedAPI'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 in metrics, the next page in page.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-Price caps one call, and the same Idempotency-Key within 24 hours is never charged twice.
  • Ready for AI: a remote MCP server listed in the official MCP registry as com.onefeedapi/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.

Douyin video detailGet one Douyin video or image post by ID or link: caption, author, engagement counts, time posted.$0.0020 / a callDouyin video searchSearch Douyin videos by terms, a page at a time, sorted by relevance, newest or most liked and filtered by time posted: caption, author with follower count, engagement counts.$0.0200 / a callDouyin user videosGet a page of the videos a Douyin account has posted, newest first: caption, engagement counts, time posted.$0.0020 / a callDouyin video downloader, no watermarkGive a Douyin video or image post by ID, link or share text and get the address of every file it has: the video without watermark in each quality (with the platform's play address beside it), the cover, the background music, and each picture of an image post as a JPEG with its live photo video. The addresses need no headers; where a signature says when one expires, expires_at says so, and another call gives new ones.$0.0020 / a callDouyin music detailGet one piece of Douyin music by its ID: name, author, length, the address of its audio file (mostly an MP3), cover, whether Douyin marks it as commercial music (in its commercial music library), whether it is a video's original sound, and how many people have posted with it. The ID is that of a video's background music, or an id of the music chart.$0.0020 / a callDouyin video transcript (video to text)Give a Douyin video's link, share text or ID and get what is said in it: the whole text, each sentence with its start and end time, and ready SRT subtitles, with the title, author and length; speakers can be told apart. Charged a call, plus by the minute of video when its speech is recognised; nothing when nobody speaks. Videos of up to 5 minutes. A video over 5 minutes and up to 2 hours is answered at once with a job: call again with it a little later for the text, at the same price, charged only when the text is delivered.$0.0020 / a call, plus each minute recognised
More about Douyin
Douyin APIHow do I export Douyin data?What is sec_uid on Douyin, and how is it different from uid and the Douyin ID?What are aweme_id and modal_id on Douyin, and what is a v.douyin.com link?Is the Douyin search index a number of searches?What is the Douyin keyword index (Ocean Engine)?What is Douyin Xingtu?Can Douyin's open platform read other people's videos and comments? (2026)How do I check a keyword's heat on Douyin and Xiaohongshu before advertising? (2026)How do I export all of a Douyin creator's video data? (2026)How do I export Douyin comments in bulk to find what users want? (2026)How do I find Douyin videos that took off from small accounts, and can I pull them in bulk? (2026)What are a_bogus and X-Bogus on Douyin? (2026)What is msToken on Douyin? (2026)Which Douyin API should I use for search, accounts and comments? (2026)How do I pull Douyin's hot-topic data by program? (2026)How do I use AI to audit and review an account? (2026)How do I filter Xingtu creators in bulk and see their rates? (2026)What is ttwid on Douyin? (2026)What are verifyFp and s_v_web_id on Douyin? (2026)How do I convert a Douyin sec_uid to a uid, and back? (2026)Douyin API for developers: third-party Douyin data APIs and what they return (2026)Douyin MCP server for Claude and Cursor (2026)Creator (KOL) data from Douyin and Xiaohongshu: profiles, posts and rates (2026)Chinese social media marketing data tools: official tools and APIs (2026)Which social media data API is best for AI agents? Count the tokens a response takes (2026)Social media API responses fill the AI's context and burn tokens: what to doDouyin, WeChat and Xiaohongshu data in Claude Code and Codex (2026)How many tokens does a social media API response take in an AI? Every endpoint measured (2026)Douyin API for AI agents and LLMs: fewer tokens, called from Claude and Cursor (2026)Douyin and Xiaohongshu search box suggestions (autocomplete) by API, in bulk (2026)Douyin video completion rate and plays: Xingtu's video report by API (2026)Every figure on a Douyin Xingtu creator page: can an API get it? Field by field (2026)Xingtu integrated and custom video rates: the difference, and getting them by API (2026)Finding Xingtu creators by CPM: the Douyin creators that cost least a thousand views (2026)From a Douyin video link to its creator's Xingtu ID and rates (2026)Does a Douyin account have a shop showcase, sell live, or carry a business badge? (2026)Who searches a word on Douyin? Keyword audience by age, gender, region and TGI (2026)Where are a Douyin video's commenters? Exporting and counting comment IP locations (2026)How to get Douyin's trending background music every day: the Douyin music chart API (2026)What does a Douyin creator with 1 million followers charge on Xingtu? Checking rates by follower band (2026)Does Douyin Xingtu have an API? What the official one reads, and how to read any creator (2026)How to read the IP location of accounts and comments in bulk: 28 endpoints on 8 platforms (2026)Can DeepSeek get Douyin, Xiaohongshu and WeChat data? Two ways to have it call the endpoints (2026)Can Doubao get Douyin, Xiaohongshu and WeChat data? Add a custom plugin in its desktop app (2026)Is there an API that gets a video's file address? Douyin, Xiaohongshu and WeChat Channels (2026)How do I collect Douyin data? The creator center, the open platform, scrapers and data APIs (2026)How to get Douyin keyword trends in bulkHow to export Douyin video comments in bulkHow to look up a Douyin creator's Xingtu rate cardSocialCrawl alternative for Douyin, Xiaohongshu and WeChat dataHow to choose a social media data API: failed-call charges, MCP and Chinese platforms

Start with one key.

253 endpoints on 21 platforms, from $0.0003 a call. Errors and timeouts are not charged.

Start free