YouTube Shorts Comments API
Comments on a YouTube Short — rejects long-form videos (≤3 min only).
Same comments engine as YouTube Comments, scoped to Shorts. Long-form videos return HTTP 422. Flat 2 credits with cursor pagination; 0 when comments are turned off.
Request
- Base URL: https://api.captapi.com
- URL: https://api.captapi.com/v1/youtube/shorts/comments
- Auth: one of:
- HTTP bearer
- API key in header X-API-Key
Query parameters
Public YouTube Shorts URL, e.g. https://youtube.com/shorts/ID (≤3 min). Long-form videos return HTTP 422 — use the matching /v1/youtube/… endpoint instead. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble.
Max items to return (default 50, max 500). Flat 2 credits per call.
Pagination cursor. Leave empty for the first page; then pass the nextCursor value returned in the previous response.
Set true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.
Response
Success. The data object for this endpoint.
Changes
No recorded changes to this operation across all 3 revisions of this API.