Skip to content
Eden Engine

Douyin Video Danmaku Comments (by Video Id)

omnial/douyin-web-fetch-one-video-danmaku

Given a Douyin video's id plus a time window, returns that video's danmaku comments: each comment's text, its position in the video, and its like count, along with the video's total comment count. A video id with no retrievable comments returns an empty result rather than an error.

activeper callv2

Price

Up to $0.00205 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-web-fetch-one-video-danmaku" })

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

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/douyin-web-fetch-one-video-danmaku", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/douyin-web-fetch-one-video-danmaku", 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.00205
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "duration",
    "start_time",
    "item_id",
    "end_time"
  ],
  "properties": {
    "item_id": {
      "type": "string",
      "examples": [
        "7355433624046472498"
      ],
      "description": "Video id"
    },
    "duration": {
      "type": "integer",
      "examples": [
        15134
      ],
      "description": "Video total duration"
    },
    "end_time": {
      "type": "integer",
      "examples": [
        15133
      ],
      "description": "End time"
    },
    "start_time": {
      "type": "integer",
      "description": "Start time"
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "total": {
      "type": "number",
      "description": "The video's total danmaku count per the platform. e.g. 25 for a video that returned 24 comments in the requested window; 0 for a video id that is not found."
    },
    "end_time": {
      "type": "number",
      "description": "End of the returned danmaku window, in milliseconds. Observed as 32000 in testing regardless of the caller's requested `end_time` -- it is the platform's reported window bound, not a literal echo of the input."
    },
    "start_time": {
      "type": "number",
      "description": "Start of the returned danmaku window, in milliseconds (typically 0)."
    },
    "status_code": {
      "type": "number",
      "description": "Platform status code. Observed 0 for BOTH a populated video and a not-found video id, so it does not distinguish them -- use the absence of `danmaku_list` (or `total` 0) to detect the empty case, not this code."
    },
    "danmaku_list": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "description": "The comment's text."
          },
          "is_ad": {
            "type": "boolean",
            "description": "Whether the comment is a platform ad placement (false on every entry)."
          },
          "score": {
            "type": "number",
            "description": "The platform's relevance/heat score for the comment (roughly 0.17 to 3.18 on populated entries observed)."
          },
          "status": {
            "type": "number",
            "description": "Comment status code. Observed 1 on every populated entry."
          },
          "item_id": {
            "type": "string",
            "description": "The video id this comment belongs to (matches the requested item_id)."
          },
          "has_emoji": {
            "type": "boolean",
            "description": "Whether the comment text contains emoji (true on some entries)."
          },
          "danmaku_id": {
            "type": "string",
            "description": "Opaque platform identifier for this comment."
          },
          "digg_count": {
            "type": "number",
            "description": "How many likes/votes the comment received (0 to 3 on entries observed)."
          },
          "offset_time": {
            "type": "number",
            "description": "The comment's position in the video, in milliseconds."
          },
          "danmaku_type": {
            "type": "number",
            "description": "Comment type code. Observed 0 on every populated entry."
          }
        },
        "additionalProperties": true
      },
      "description": "The danmaku comments for the requested video within the window. Absent (not null) when the video has no retrievable comments."
    }
  },
  "description": "The danmaku result for the requested video. On a video id with no retrievable comments, the result is `{ start_time, end_time, total: 0, status_code }` with no `danmaku_list` key -- hence no top-level `required` fields.",
  "additionalProperties": true
}