# YouTube video comments by video id

Retrieve first-level comments for a YouTube video with sorting, locale options, and cursor pagination.

|  |  |
| --- | --- |
| Tool id | `justoneapi.x-youtube-get-video-comment-v1` |
| Platform | [YouTube](https://www.orcarouter.ai/tools/youtube.md) |
| Capability | [Post comments](https://www.orcarouter.ai/tools/youtube/post-comments.md) |
| Price | $0.016236 per call |
| Health | OK |
| p50 latency | — |
| Success (7 days) | — |
| Runs (30 days) | — |
| Idempotent | yes |
| Data class | scraped |

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `videoId` | string | yes | The unique identifier for a YouTube video. |
| `countryCode` | string | no | Region code for response data. |
| `cursor` | string | no | Pagination cursor returned by the previous response. |
| `languageCode` | string | no | Language preference for response data. |
| `sortBy` | string | no | Sort order for the comment list. Available Values: - \`top\`: Top comments - \`newest\`: Newest comments One of: top, newest. |

## Call it

```bash
curl -sS https://api.orcarouter.ai/v1/tools/justoneapi.x-youtube-get-video-comment-v1/run \
  -H "Authorization: Bearer $ORCAROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"videoId":"<videoId>"}}'
```

```python
import os, requests

resp = requests.post(
    "https://api.orcarouter.ai/v1/tools/justoneapi.x-youtube-get-video-comment-v1/run",
    headers={"Authorization": f"Bearer {os.environ['ORCAROUTER_API_KEY']}"},
    json={"input":{"videoId":"<videoId>"}},
)
print(resp.json())
```

## Alternatives

| Tool | Source | Price | Health |
| --- | --- | --- | --- |
| [YouTube Video Comments](https://www.orcarouter.ai/tools/youtube/post-comments/youtube-video-comments.md) | — | $0.00088 per call | OK |
| [YouTube community post comments by post id](https://www.orcarouter.ai/tools/youtube/post-comments/x-youtube-web-v2-get-post-comments.md) | — | $0.0011 per call | OK |
| [YouTube video comments by video id](https://www.orcarouter.ai/tools/youtube/post-comments/youtube-video-comments-b767f2.md) | — | $0.0011 per call | OK |
| [YouTube comments for a video by video id, live](https://www.orcarouter.ai/tools/youtube/post-comments/x-serp-youtube-video-comments-live-advanced.md) | — | $0.0022 per call | OK |

## FAQ

### How much does YouTube video comments by video id cost?

YouTube video comments by video id costs $0.016236 per call: 1,000 calls cost $16.236.

### What does a $10 budget buy with YouTube video comments by video id?

About 615 calls at $0.016236 per call.

### What inputs does YouTube video comments by video id need?

Required inputs: videoId.

### How do I call YouTube video comments by video id?

Send POST /v1/tools/{id}/run with your OrcaRouter API key and a JSON body {"input": {…}}, where {id} is the tool id POST /v1/tools/discover returns for it.

---

Markdown version of https://www.orcarouter.ai/tools/youtube/post-comments/x-youtube-get-video-comment-v1
