---
title: "GET /bilibili/comments"
method: GET
path: "/bilibili/comments"
tags: ["Bilibili"]
---

# GET /bilibili/comments

`GET /bilibili/comments`

## Request

- Base URL: `https://scrappa.co/api`
- URL: `https://scrappa.co/api/bilibili/comments`
- Auth: API key in header `X-API-KEY`

## Query parameters

- `type` integer, nullable, required
- `oid` integer, nullable, required
- `sort` integer, nullable
- `pn` integer, nullable
- `ps` integer, nullable

## Response `200`

- object
  - `comments` object[], required
    - `rpid` integer, nullable, required
    - `mid` integer, nullable, required
    - `like` integer, nullable, required
    - `count` integer, nullable, required
    - `message` string, nullable, required
  - `count` integer, required
  - `page` integer, required
  - `page_size` integer, required
  - `has_more` boolean, required
  - `meta` object, required
    - `endpoint_family` string, required
    - `attempts` integer, required
    - `duration_ms` integer, required

## Other responses

- `401`: Unauthorized - API key is missing or invalid
- `422`: Validation error

---

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