Social

Query Bilibili Live Room

0calls
4 credits / call

Want to know whether your favourite streamer is on air? Or integrate Bilibili live status into your app? This endpoint covers both cases.

Overview

This is a smart endpoint: you can look up by streamer mid (user ID) or by room_id (the live-room long or short ID). It returns the room's detailed information — including whether the streamer is live, the title, cover, popularity, category, and more.

Response fields

  • live_status: 0 = not live, 1 = live, 2 = looping pre-recorded content.

Query parameters

mid
stringoptional

Streamer user ID (mid). Pass either mid or room_id.

room_id
stringoptional

Live-room ID, either the long form (real ID) or the short form (room number). Pass either mid or room_id.

Response

200 / OK

Success. Returns the live-room details.

JSON