YouTube

YouTube Shorts Stats API

YouTube Short metadata — same schema as Video Details, with isShort:true; long-form videos get HTTP 422.

Same field schema as YouTube Video Details (title, channel, duration, view/like/comment counts, tags, timings.path, …) but scoped to Shorts: response always includes platform, isShort:true, durationSeconds + durationFormatted, and a youtube.com/shorts/{id} URL. Uses reel_item_watch for publishDate / description / @handle (ANDROID player often omits Shorts microformat). Thumbnails prefer vertical / channel covers over landscape frame-2 stills. commentCountIsApproximate is true when YouTube only exposes a compact total (e.g. 11K→11000). defaultLanguage / defaultAudioLanguage are present (null when YouTube omits them). genre / categoryId / isFamilySafe are omitted when unavailable. Videos longer than 3 minutes — even if pasted as /shorts/{id} — return HTTP 422; use Video Details for those. Flat 1 credit.

Docs: https://captapi.com/apis/youtube-shorts-stats

get/v1/youtube/shorts/video-details

Request

  • Base URL: https://api.captapi.com
  • URL: https://api.captapi.com/v1/youtube/shorts/video-details
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Query parameters

urlstring required

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.

cacheboolean

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.

successunknown required

Changes

No recorded changes to this operation across all 3 revisions of this API.