# Kuaishou Video Comments (Web) API

> Returns root comments for a specified Kuaishou video, including author details, content, and like counts. Queries require a video ID and support cursor pagination.

Source: https://www.sandbase.ai/apis/kuaishou/web/one-video-comment
API reference: https://www.sandbase.ai/apis/kuaishou/web/one-video-comment/docs

## Facts

- Provider: Kuaishou
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/kuaishou/web/one-video-comment`
- Price: $0.003 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: api, kuaishou
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/kuaishou/web/one-video-comment` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `photo_id` | string | yes |  |
| `pcursor` | string | no |  |

## FAQ

### How do I use the Kuaishou Video Comments (Web) API?

Send a POST request to https://api.sandbase.ai/v1/api/kuaishou/web/one-video-comment with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Kuaishou Video Comments (Web) API cost?

$0.003 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

### What parameters does the Kuaishou Video Comments (Web) API accept?

Required: photo_id (string). Optional: pcursor (string). The Parameters table and the Playground on this page list every field.

### What does the Kuaishou Video Comments (Web) API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

### Do I need a Kuaishou developer account or API key?

No. Kuaishou Video Comments (Web) runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Kuaishou API access separately.

## README

### Kuaishou Video Comments (Web) API

Retrieve root comments for a specific Kuaishou video using `photo_id`. Page through additional comment results using the optional `pcursor` parameter.

#### Use cases

- Analyze viewer feedback and discussions on specific Kuaishou videos.
- Track comment engagement metrics such as like counts.
- Extract user feedback and reply interactions for sentiment analysis.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/web/one-video-comment" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"photo_id": "5193494945927590140"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `photo_id` | string | Yes | — |
| `pcursor` | string | No | — |

#### Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

```json
{
  "rootComments": [
    {
      "authorArea": "江西",
      "authorVerified": false,
      "author_id": 1727775365,
      "author_liked": false,
      "author_name": "<user>",
      "comment_id": 1137733188081,
      "content": "回复 挽风：枕头垫高，不要醒来[呆住][呆住][呆住]。",
      "likedCount": 0,
      "photo_id": 5193494945927590140,
      "replyToUserName": "挽风",
      "profilePagePrefetchInfo": {
        "profilePageType": 1
      }
    }
  ]
}
```

#### Notes

- Requires `photo_id` to identify the video.
- Use `pcursor` to control pagination across comment pages.

#### Related APIs

- [Kuaishou Web Share Short URL](/model/kuaishou/web/generate-share-short-url): Returns a shareable short URL for a specified Kuaishou video or photo post.
- [Kuaishou User ID Lookup](/model/kuaishou/web/get-user-id): Resolves a Kuaishou user ID from a provided user share link.
- [Kuaishou Web Hot List](/model/kuaishou/web/hot-list-v1): Returns the current trending hot list from Kuaishou Web.
