How do I get the video ID from a Douyin share link? (2026)

A Douyin share is a block of text with a v.douyin.com short link inside, and the video's real ID, the aweme_id, only appears after the short link redirects. XTikAPI's douyin.videos.id_from_url takes the link or the whole pasted share text and returns the aweme_id for $0.002, which douyin.videos.detail and douyin.comments.list then use. XTikAPI reads Douyin with 34 endpoints from $0.002 a call. A failed call is not charged, and a verified account gets $0.50 of trial balance.

Updated 2026-11-20

What a share looks like

Douyin_TikTok_Download_API's README shows the shape: a code, the caption, a short link such as https://v.douyin.com/L4FJNR3/, and a line telling you to open the app. Only the short link matters. It redirects to a page whose URL carries the aweme_id, a long number.

How XTikAPI does it

1

Endpoint: douyin.videos.id_from_url with url (link or full share text)

You get: The aweme_id

2

Endpoint: douyin.videos.detail with id

You get: Caption, author, play address, counts

3

Endpoint: douyin.comments.list with id

You get: A page of comments

What 100 links cost

100 shared links to IDs and details: 200 calls at $0.002, $0.40.

Why XTikAPI

  • See before you pay: 192 of 229 endpoints show a recorded real response on their page (30 of 34 for Douyin).
  • One shape: posts, comments and accounts from 19 platforms come back as the same objects, author in author and counts in metrics, so another platform needs no new parser.
  • Spending you control: a failed call or a timeout is not charged (charged: false), X-Max-Price caps one call, and the same Idempotency-Key within 24 hours is never billed twice.
  • Prepaid balance, no subscription. Balance never expires, and unused top-up money can be refunded within 14 days.
  • Made for AI: every page has a Markdown twin, plus llms.txt and OpenAPI, so ChatGPT, Claude and Cursor can read it directly.
  • Free trial: a verified account gets $0.50, no card.

Endpoints

Each with its price; the endpoint page has parameters, fields and a recorded response.

Sources

What this page says about other products comes from their own pages and docs, read on 2026-11-20.

  • Douyin_TikTok_Download_API README (share text and short links)

More about Douyin

One key. Start now.

19 platforms, 229 endpoints, from $0.002 a call. Errors and timeouts are free.

Start free