Skip to content
Eden Engine

Bilibili Video Playback Formats

omnial/bilibili-video-playback-formats

Given a Bilibili video's BV id and the cid of one of its parts, returns that part's playback formats: the quality levels the video offers (numeric quality code and resolution label) with the codecs listed for each, the playback length, and a list of video streams (quality code, codec, bitrate, width, height, frame rate) and audio streams (id, codec, bitrate). The stream list can cover fewer levels than are offered: in the captured call it held streams for only the two lowest of five offered levels. No playback or download addresses are returned.

activeper callv1
Provider
Web & Business Data Network
Category
social-media
Provider price
$0.0020475 per call
Latency p50 / p95
— / —
Success rate
—
Verified
—

Provider list price; Omnial MCP charges provider cost plus a platform markup on top.

Contract

input_schema.json
{
  "type": "object",
  "required": [
    "bv_id",
    "cid"
  ],
  "properties": {
    "cid": {
      "type": "string",
      "description": "The numeric cid of one part (page) of that video, as a string."
    },
    "bv_id": {
      "type": "string",
      "description": "The video's Bilibili BV id (the id that starts with BV)."
    }
  },
  "additionalProperties": false
}
output_schema.json
{
  "type": "object",
  "properties": {
    "code": {
      "type": "number",
      "description": "Bilibili's status code; 0 on success."
    },
    "data": {
      "type": "object",
      "properties": {
        "dash": {
          "type": "object",
          "properties": {
            "audio": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "number",
                    "description": "The audio stream's quality id."
                  },
                  "codecs": {
                    "type": "string",
                    "description": "The audio codec string."
                  },
                  "bandwidth": {
                    "type": "number",
                    "description": "The stream's bitrate in bits/s."
                  },
                  "mime_type": {
                    "type": "string",
                    "description": "The stream's media type."
                  }
                }
              },
              "description": "One entry per audio stream returned."
            },
            "video": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "number",
                    "description": "The stream's quality code (matches accept_quality)."
                  },
                  "width": {
                    "type": "number",
                    "description": "Frame width in pixels."
                  },
                  "codecs": {
                    "type": "string",
                    "description": "The stream's codec string."
                  },
                  "height": {
                    "type": "number",
                    "description": "Frame height in pixels."
                  },
                  "bandwidth": {
                    "type": "number",
                    "description": "The stream's bitrate in bits/s."
                  },
                  "mime_type": {
                    "type": "string",
                    "description": "The stream's media type."
                  },
                  "frame_rate": {
                    "type": "string",
                    "description": "Frames per second, as a decimal string."
                  }
                }
              },
              "description": "One entry per video stream returned; one quality can appear once per codec."
            },
            "duration": {
              "type": "number",
              "description": "The playback length in seconds."
            }
          }
        },
        "timelength": {
          "type": "number",
          "description": "The part's playback length in milliseconds."
        },
        "accept_quality": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "description": "The numeric quality codes the video offers, highest first."
        },
        "support_formats": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "codecs": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The codec strings listed for this quality."
              },
              "quality": {
                "type": "number",
                "description": "The quality code."
              },
              "superscript": {
                "type": "string",
                "description": "An extra badge on the label (a high-bitrate marker), or empty."
              },
              "display_desc": {
                "type": "string",
                "description": "The quality's short resolution label, such as 1080P."
              },
              "new_description": {
                "type": "string",
                "description": "The quality's full label, such as a resolution and a tier word."
              }
            }
          },
          "description": "One entry per offered quality, highest first."
        },
        "accept_description": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The label of each offered quality, in the same order (Chinese)."
        }
      }
    },
    "message": {
      "type": "string",
      "description": "Bilibili's status message."
    }
  },
  "description": "The playback formats of one video part, as returned after shaping."
}

Pricing

Every real charge, itemised. A model that quietly omits one is a slow financial leak, so nothing here is rolled up, and a charge that only applies to some inputs says so rather than being added in.

Prices in this catalog are the provider's own list price, not your bill: Omnial MCP charges provider cost plus a platform markup on top, so what you are charged is higher than the figure shown. For the exact amount a specific call will cost, run omnial_execute with dry_run: true; that number includes the markup and is what we hold while the call runs. It is a quote, not a cap on the charge.

ChargeRate
Per call
Flat, regardless of what comes back
$0.0020475
Cost basis
Not recorded

This tool's catalog entry does not record how its final bill is determined, so we will not tell you whether its cost is fixed before the call or reported by the provider afterwards. Either way what is held is a quote rather than a cap: you are charged what the call actually costs, bounded at 2x the quote.

Updated
Oct 10, 2026