Find a Douyin Video ID from a Share Link
Open the share link in your browser and copy the digits after /video/ in the final public Douyin URL. Store them as text and use the ID for detail or comment requests.
Documentation reviewed: 2026-11-14 · By PostToData
Expand the link before the API call
The Douyin adapter can parse a full video URL or a numeric video ID. If a v.douyin.com link stays short or opens a profile, use the original video page from the app or browser. A profile handle is a different input.
Record the ID as text
Keep the final public URL and digit string together. JavaScript numbers and spreadsheet auto conversion can round long IDs. Paste one complete ID per line if you need to check several videos.
Check the input before adding a comment request
Start with the post detail and inspect the returned URL, caption and available metrics. Read comments only if needed. A price preview verifies the operation and price but does not establish that a specific video is still public.
Example sources and documentation
Current prices & implemented operations
| Operation | Per successful call | 1,000 successful calls |
|---|---|---|
| Douyin · Post detail | $0.003 | $3.00 |
| Douyin · Comments | $0.003 | $3.00 |
The 1,000-call figure is list price multiplied by calls, not 1,000 records or a top-up package. The example only previews the first operation: no upstream fetch or charge. To retrieve data, remove dry_run=1 and supply Authorization: Bearer API_KEY. Keep max_price_usd to reject a price above the approved amount.
curl --get "https://posttodata.com/v1/douyin/post" \
--data-urlencode 'id=7656596730934494644' \
--data-urlencode 'max_price_usd=0.003' \
--data-urlencode 'dry_run=1'A per-call ceiling is not a shared budget for the whole task. Bound the number of approved calls and stop on 402, 412 or 429; do not automatically raise limits or rotate accounts.
Frequently asked questions
Does the ID identify a TikTok video too?
Douyin and TikTok are distinct sources. Use a video URL from the platform selected in the request.
Related guides
- Connect CodeBuddy to Xiaohongshu and Douyin with MCP
- Find the Original Website Behind a Pinterest Pin
- Plan Video Topics with Bilibili and Douyin Hot Lists
- Xiaohongshu & Douyin API: pay as you go, no cookies