Bilibili content-link lookup
Bilibili content-link lookup. Follow concrete contracts, examples and reviewable steps using Bilibili.
Copy the agent prompt manually
Bilibili content lookup
Paste a complete link or identifier, then explicitly run a fictional local sample. The source URL is never requested and no credits are spent.
Use a complete URL or platform identifier. Open short links yourself and copy the complete address. Editing clears the old result and does not execute anything.
Fictional fixture · 0 live calls · 0 charges
Inspect complete JSON
Input and result
This tool maps the task to bilibili.videos.get. Check the input fields below, then run it in the local console; results are fixtures.
Input contract
Inspect meanings, examples and conditional rules for the selected method. view and fields control the response without changing the TEST unit price.
- GET: supply exactly one of id / url.
| Method | Field | Type | Requirement | Meaning | Enum or bound | Example |
|---|---|---|---|---|---|---|
| GET | id | string | Optional / conditional | The video's BV number: 12 characters starting with BV1 | — | "BV1ECeJ65EZS" |
| GET | url | string | Optional / conditional | Link to the video, pasted as it is: the www.bilibili.com/video/BV… page, the phone site's m.bilibili.com/video/BV…, or the b23.tv short link the app copies. A short link is opened once to see which video it leads to | — | — |
| GET | view | string | Optional / conditional | How much of each item: compact (the most used fields, long text cut short), standard, or full (adds `ext`). | ["compact","standard","full"] | — |
| GET | fields | array | Optional / conditional | Return only these fields of each item, by path (`author.name`). | maxItems: 64 | — |
Try it locally
Use demo to inspect the fields, then explicitly select simulated with a customer test key to exercise settlement. Never put a customer key in a URL.
{
"capability": "bilibili.videos.get",
"method": "GET",
"params": {
"id": "BV1ECeJ65EZS"
}
}Output fields and interpretation
The post object permits missing or null values; do not replace missing measurements with zero. This table shows the main structure; the object reference covers nested fields.
| Field | Type | Meaning | Source scope |
|---|---|---|---|
| id | string | null | ID; pass it unchanged to the get endpoint | Bilibili |
| url | string | null | Link that opens the post | Bilibili |
| type | string | null | Content format | Bilibili |
| title | string | null | Title | Bilibili |
| text | string | null | Body text | Bilibili |
| lang | string | null | Language of the text (standard view and up) | Bilibili |
| published_at | string | null | When it was published | Bilibili |
| author | object | null | Author | Bilibili |
| author.id | string | null | Author's account ID | Bilibili |
| author.username | string | null | Author's handle | Bilibili |
| author.name | string | null | Author's display name | Bilibili |
| author.avatar_url | string | null | Author's avatar (standard view and up) | Bilibili |
| author.verified | boolean | null | Whether the author is verified (standard view and up) | Bilibili |
| author.followers | integer | null | Author's follower count (standard view and up) | Bilibili |
| metrics | object | null | Engagement counts | Bilibili |
| metrics.likes | integer | null | Likes | Bilibili |
| metrics.comments | integer | null | Comments | Bilibili |
| metrics.shares | integer | null | Shares | Bilibili |
| metrics.favorites | integer | null | Saves | Bilibili |
| metrics.views | integer | null | Views | Bilibili |
| metrics.reposts | integer | null | Reposts | Bilibili |
| images | array | null | Image addresses (standard view and up) | Bilibili |
| hashtags | array | null | Hashtags, without the # (standard view and up) | Bilibili |
| mentions | array | null | Accounts mentioned in the text (standard view and up) | Bilibili |
| mentions[].id | string | null | Account ID (standard view and up) | Bilibili |
| mentions[].username | string | null | Handle (standard view and up) | Bilibili |
| mentions[].name | string | null | Display name (standard view and up) | Bilibili |
| is_pinned | boolean | null | Whether the author pinned it (standard view and up) | Bilibili |
| post_id | string | null | ID of the thread's root post when this is a reply; otherwise null | Bilibili |
| parent_id | string | null | ID of the item it replies to directly; otherwise null | Bilibili |
| root_id | string | null | ID of the first-level reply its thread hangs under | Bilibili |
| approximate | array | null | Which numbers of this item are approximate or lower bounds; absent when all are exact | Bilibili |
| approximate[].field | string | null | Path of the field, such as metrics.views | Bilibili |
| approximate[].kind | string | null | Approximate, or a lower bound | Bilibili |
| ext | object | The platform's own fields (full view). | Bilibili |
| ext.aid | string | null | The video's other number (its av number); it names the same video as the BV number (full view) | Bilibili |
| ext.coins | integer | null | Coins given (full view) | Bilibili |
| ext.danmaku | integer | null | Number of danmaku (comments shown over the video) (full view) | Bilibili |
| ext.duration | number | null | Length of the video, in seconds (full view) | Bilibili |
| ext.cover_url | string | null | Address of the cover image (full view) | Bilibili |
| ext.category | string | null | The section the video is filed under, in the platform's words (数码, 美食制作, say) (full view) | Bilibili |
| ext.ip_location | string | null | IP location as the platform shows it (full view) | Bilibili |
| ext.cid | string | null | The number of the video's first part (cid): what subtitles and danmaku are asked for by, with the BV number (full view) | Bilibili |
| ext.parts | integer | null | How many parts the video has (full view) | Bilibili |
| ext.recommend_reason | string | null | Why the popular list recommends the video, in the platform's words (很多人分享, say); null where it gives none (full view) | Bilibili |
Clear inputs. Inspectable output.
Each click runs a local fixture. Advanced JSON inputs are checked against the selected method. Editing does not execute a request.
Copying does not execute. CLI quote is read-only and needs a local customer TEST key. Configure MCP in demo mode first. GET and POST batches both return only fictional local fixtures.
Download contract example (no execution) ↗For TEST budgets, Key scopes or failure scenarios, open the account console. Customer sandbox ↗