comments
Retrieve comments and discussion threads from YouTube videos or shorts, supporting pagination, sorting, and regional localization.
Instructions
Get video's or shorts' comments/thread. Quota cost is 1 unit.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Video Id or Shorts Video Id | |
| token | No | Pagination token Alternatively, use X-TOKEN in header | |
| sort_by | No | Available options: newest top [default] | |
| geo | No | ISO 3166-2 country code of the region. Like US (default), GB, CA, IN, etc. | |
| lang | No | Locale/language for request. Like en, gb, hi, etc | |
| X-CACHEBYPASS | No | Cache bypass, the value must be 1 Quota Cost +1 | |
| X-TOKEN | No | Alternative way to pass Pagination token via headers. This will solve 414, URI too long issue. |