---
title: "Get the current Bilibili all-site ranking"
method: GET
path: "/bilibili/ranking"
tags: ["Bilibili"]
---

# Get the current Bilibili all-site ranking

`GET /bilibili/ranking`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/bilibili/ranking`
- Auth: API key in header `x-api-key`

Returns the current Bilibili all-site video ranking in rank order. Each video has its `rank`, `aid`, `title`, `url`, `cover`, `views`, `danmaku`, `replies`, `favorites`, `likes`, `duration_seconds`, `published_at`, `category` and `creator` (name, `mid`, `followers`). Takes no parameters.

## Headers

- `x-api-key` string, required

## Response `200`

OK

- BilibiliRankingResponseDoc
  - `code` integer
  - `data` BilibiliRankingResponse
    - `count` integer
    - `videos` BilibiliRankingVideo[]
      - `aid` string
      - `category` string
      - `category_id` integer
      - `cover` string
      - `creator` BilibiliRankingCreator
        - `avatar` string
        - `followers` integer
        - `mid` integer
        - `name` string
        - `official_description` string
      - `danmaku` integer
      - `duration_seconds` integer
      - `favorites` integer
      - `likes` integer
      - `published_at` integer
      - `rank` integer
      - `replies` integer
      - `title` string
      - `url` string
      - `views` integer
  - `msg` string

## Other responses

- `429`: Too Many Requests
- `500`: Internal Server Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/afac9b012a27?raw)
