# YouTube video comments

YouTube video comments: inspect inputs, comment fields, pagination and limits, then run a local simulated request.

Canonical page: https://datanavoapi.com/en/apis/youtube/videos/comments/list/

This is a local simulation. Program-generated samples are not live platform data and do not establish provider availability.

## What this capability does

YouTube video comments uses /v1/youtube/videos/comments/list; GET returns data.items with comment objects.

This is a local simulation. Program-generated samples are not live platform data and do not establish provider availability.

- Capability: youtube.videos.comments.list
- Pagination: use the signed cursor from the response and request each page explicitly.

## Input contract

Inspect meanings, examples and conditional rules for the selected method. view and fields control the response without changing the TEST unit price.

- GET: supply exactly one of id / url.

| Method | Field | Type | Requirement | Meaning | Enum or bound | Example |

| --- | --- | --- | --- | --- | --- | --- |

| GET | id | string | Optional / conditional | Video ID | — | "dQw4w9WgXcQ" |

| GET | url | string | Optional / conditional | Link to the video: a watch, shorts, embed, live or youtu.be link | — | — |

| GET | sort | string | Optional / conditional | Top comments first, or newest first | ["popular","latest"] | — |

| GET | cursor | string | Optional / conditional | The `next_cursor` of the previous page. A new page is a new call. | — | — |

| GET | view | string | Optional / conditional | How much of each item: compact (the most used fields, long text cut short), standard, or full (adds `ext`). | ["compact","standard","full"] | — |

| GET | fields | array | Optional / conditional | Return only these fields of each item, by path (`author.name`). | maxItems: 64 | — |

## Try it locally

Use demo to inspect the fields, then explicitly select simulated with a customer test key to exercise settlement. Never put a customer key in a URL.

```json
{
  "capability": "youtube.videos.comments.list",
  "method": "GET",
  "params": {
    "id": "dQw4w9WgXcQ"
  }
}
```

- [Open this capability in the console](https://datanavoapi.com/console/?mode=demo&capability=youtube.videos.comments.list&method=GET&params=%7B%22id%22%3A%22dQw4w9WgXcQ%22%7D)

## Output fields and interpretation

The comment object permits missing or null values; do not replace missing measurements with zero. This table shows the main structure; the object reference covers nested fields.

| Field | Type | Meaning | Source scope |

| --- | --- | --- | --- |

| id | string \| null | ID | YouTube |

| url | string \| null | Link that opens the comment | YouTube |

| text | string \| null | Text | YouTube |

| published_at | string \| null | When it was posted | YouTube |

| author | object \| null | Commenter | YouTube |

| author.id | string \| null | Commenter's account ID | YouTube |

| author.username | string \| null | Commenter's handle | YouTube |

| author.name | string \| null | Commenter's display name | YouTube |

| author.avatar_url | string \| null | Commenter's avatar (standard view and up) | YouTube |

| metrics | object \| null | Engagement counts | YouTube |

| metrics.likes | integer \| null | Likes | YouTube |

| metrics.comments | integer \| null | Replies | YouTube |

| post_id | string \| null | ID of the post it is under | YouTube |

| parent_id | string \| null | ID of the comment it replies to directly; null for a top-level comment | YouTube |

| root_id | string \| null | ID of the top-level comment of its thread; null for a top-level comment | YouTube |

| approximate | array \| null | Which numbers of this item are approximate or lower bounds; absent when all are exact | YouTube |

| approximate[].field | string \| null | Path of the field, such as metrics.views | YouTube |

| approximate[].kind | string \| null | Approximate, or a lower bound | YouTube |

| ext | object | — | YouTube |

| ext.replies_token | string \| null | Token that gets this comment's replies: pass it unchanged as the id of the comment replies endpoint; null for a comment without replies (full view) | YouTube |

- [Complete object reference](https://datanavoapi.com/en/docs/objects/comment/)

## Unavailable fields

These published contract notes describe the capability boundary; fixtures do not establish live availability.

| Field | Reason |

| --- | --- |

| url | capability |

| published_at | capability |

| post_id | capability |

## Limits and checks

A successful request does not establish full coverage. Preserve the request ID, observation time, parameters and cursor, and inspect the returned items before analysis.

Local simulation uses TEST credits only. Real provider calls, real payments and external email are disabled. Historical reference-site prices are not DataNavoAPI prices.

- Verify media URLs, counts and optional fields individually.

## Related pages

- [YouTube APIs](https://datanavoapi.com/en/apis/youtube/)
- [YouTube MCP](https://datanavoapi.com/en/mcp/youtube/)
- [Comment fields](https://datanavoapi.com/en/docs/objects/comment/)
- [How should I use public location labels across platforms?](https://datanavoapi.com/en/answers/ip-location-by-platform/)

[中文](https://datanavoapi.com/apis/youtube/videos/comments/list/)
