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.
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
Data from Bilibili.
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
// 1. search: find the tool
omnial_search({ query: "what you need" })
// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/bilibili-video-formats-by-url" })
// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/bilibili-video-formats-by-url" })
// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/bilibili-video-formats-by-url", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/bilibili-video-formats-by-url", input: { /* ... */ } })
// 5. settle: the call is charged when it finishes, nothing to doNot 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.
| Charge | Price |
|---|---|
Per call | $0.00205 |
- Updated
- Oct 27, 2026
Input and output schemas
Input schema
{
"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
{
"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."
}