Skip to content
Eden Engine

Bilibili Quality Levels and Stream Specs (by Video Page URL)

omnial/bilibili-video-formats-by-url

Given a Bilibili video page URL, returns the playback formats of its first part: the offered quality levels (quality code and resolution label) with their codecs, the playback length, and the video streams (quality code, codec, bitrate, width, height, frame rate) and audio streams (id, codec, bitrate). The stream list can cover fewer levels than offered (in the captured call, the two lowest of five). 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": [
    "url"
  ],
  "properties": {
    "url": {
      "type": "string",
      "minLength": 1,
      "description": "The video's Bilibili page URL, the bilibili.com/video/ address followed by its BV id."
    }
  },
  "additionalProperties": false
}
output_schema.json
{
  "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 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 frame-rate marker), or empty."
          },
          "display_desc": {
            "type": "string",
            "description": "The quality's short resolution label."
          },
          "new_description": {
            "type": "string",
            "description": "The quality's full label, 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)."
    }
  },
  "description": "The playback formats of the video's first 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 11, 2026