Request parameters
| Name | Type | In | Required | Description | Example |
|---|---|---|---|---|---|
| cursor | string | query | no | 由先前响应返回的分页游标。 | demo |
| sortBy | string | query | no | 评论列表的排序方式。 可选值: - `top`:热门评论 - `newest`:最新评论 | newest |
| videoId | string | query | yes | YouTube视频的唯一标识符。 | demo |
| countryCode | string | query | no | 响应数据的地区代码。 | US |
| languageCode | string | query | no | 响应数据的语言偏好。 | zh-CN |
Response fields
Field dictionary coming soon — the executable panel shows the live shape.
Errors
| code | HTTP | Meaning | Billed |
|---|---|---|---|
| 40001 | 400 | Invalid parameters | no |
| 40102 | 401 | Invalid or revoked API Key | no |
| 40201 | 402 | Insufficient credits | no |
| 40402 | 404 | Resource not found | no |
| 42201 | 422 | Quality gate failed | no |
| 42901 | 429 | Rate limit exceeded | no |
| 50401 | 504 | Service timeout | no |
| 50201 | 502 | Service error | no |
Billing
Success costs 20 credits. Any failure — including a 200 that fails the quality gate — costs 0.