Skip to content
Eden Engine

Douyin Video File Link (Web, by Video ID, China CDN)

omnial/douyin-video-playback

Given a Douyin video id and that video's page link, returns a direct link to the video file on a mainland China CDN, together with the video id, the file size in bytes and in megabytes, and the file's content type. The link is signed and expires, so fetch the file soon after the call.

activeper callv1

Price

Up to $0.0103 per call; you pay what the call used

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.

Data source

Douyin

Data from Douyin.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/douyin-video-playback" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/douyin-video-playback" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/douyin-video-playback", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/douyin-video-playback", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0103
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "aweme_id",
    "share_url",
    "region"
  ],
  "properties": {
    "region": {
      "enum": [
        "CN"
      ],
      "type": "string",
      "description": "The CDN region of the returned link; only CN (mainland China) is offered."
    },
    "aweme_id": {
      "type": "string",
      "minLength": 1,
      "description": "The Douyin video id, the long number in the video's link."
    },
    "share_url": {
      "type": "string",
      "minLength": 1,
      "description": "The same video's page link on douyin.com, in the form https://www.douyin.com/video/ followed by the video id."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "video_id": {
      "type": "string",
      "description": "The video id the file belongs to."
    },
    "file_size": {
      "type": "string",
      "description": "The file size in bytes, as a numeric string."
    },
    "content_type": {
      "type": "string",
      "description": "The file's MIME content type."
    },
    "file_size_in_mb": {
      "type": "number",
      "description": "The file size in megabytes."
    },
    "original_video_url": {
      "type": "string",
      "description": "A direct link to the video file; signed, and stops working when it expires."
    }
  },
  "description": "The video file's link and details, as returned after shaping."
}