Skip to content
Eden Engine

Douyin Live Room Message Fetch (First Batch)

omnial/douyin-web-fetch-live-im-fetch

Fetches the first batch of messages a Douyin live room's message feed serves for a room id and a user unique id, and returns each message's type, creation time (Unix milliseconds), display flag and text, plus the feed's suggested polling interval (ms), the server time and a status code. In testing the batch held one message, the room's system welcome notice.

activeper callv1

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-live-im-fetch" })

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

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/douyin-web-fetch-live-im-fetch", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/douyin-web-fetch-live-im-fetch", 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": [
    "room_id",
    "user_unique_id"
  ],
  "properties": {
    "room_id": {
      "type": "string",
      "minLength": 1,
      "description": "The live room's numeric id, as a string of digits."
    },
    "user_unique_id": {
      "type": "string",
      "minLength": 1,
      "description": "A Douyin user unique id, as a string of digits; the endpoint requires one."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "common": {
            "type": "object",
            "properties": {
              "method": {
                "type": "string",
                "description": "Message type, e.g. a room system message."
              },
              "create_time": {
                "type": "number",
                "description": "When the message was created, Unix milliseconds."
              },
              "is_show_msg": {
                "type": "boolean",
                "description": "Whether the room shows the message."
              }
            }
          },
          "content": {
            "type": "string",
            "description": "The message text."
          }
        }
      },
      "description": "The messages in this batch, oldest first."
    },
    "extra": {
      "type": "object",
      "properties": {
        "now": {
          "type": "number",
          "description": "Server time of the fetch, Unix milliseconds."
        },
        "fetch_interval": {
          "type": "number",
          "description": "Suggested wait before polling again, milliseconds."
        }
      }
    },
    "status_code": {
      "type": "number",
      "description": "0 on success."
    }
  },
  "description": "Response of the lookup."
}