MiniH3
EnglishTools

Douyin link to video URL

中文

POSThttps://api.minih3.dev/v1/tools/fetch-douyin-v1

This call is billed to your account. Price: $0.002 per call, charged only on success

Purpose: give a Douyin share link; get a downloadable video URL plus metadata (duration, author, metrics; Douyin does not publish view counts, so views is 0). Billing id: minih3-tool-fetch-douyin-v1, $0.002 per call.
The media_url is valid for 24 hours and goes straight into shotlist or breakdown. Charged only when the URL is returned; not-found and copy failures are free. You can paste the whole share text copied from the app; we pull the link out of it. A link from another platform returns 400 unsupported_platform naming the right endpoint.

Parameters

NameInTypeRequiredDescription
urlbodystringyes

A Douyin share link (v.douyin.com, www.douyin.com/video/…, iesdouyin share page) or share text

Code samples

curl -X POST "https://api.minih3.dev/v1/tools/fetch-douyin-v1" \
  -H "Authorization: Bearer $MINIH3_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://v.douyin.com/iAbCdEf/"
}'

Try it

Kept in this browser tab only (sessionStorage) and sent straight to api.minih3.dev; it never reaches this site.

Enter your key to send.

Responses

200

Media URL and metadata

{
  "media_url": "https://…",
  "expires_at": 1793281040,
  "meta": {
    "platform": "douyin",
    "video_id": "7339393672959757570",
    "duration_seconds": 32.8,
    "width": 720,
    "height": 1280
  }
}

400

Error

404

Error

502

Error