YouTube

YouTube Community Post Details API

One community post — list schema + commentCount trio + isEdited.

Paste a YouTube community post URL (/post/Ugkx… or /community?lb=) and get the same clean shape as Community Posts list items: text, images[], postType, pollOptions + totalVotes when poll (omitted on non-polls), likeCount trio, publishedTimeApprox vocabulary with isEdited (no "(edited)" in the time label), channel{}, linkedVideos[], and commentCount + commentCountText + commentCountIsApproximate. Trailing whitespace / newlines from a curl or clipboard paste are stripped — they are not a 500. A watch URL or a URL that still contains a control character is 400. Flat 1 credit.

Docs: https://captapi.com/apis/youtube-community-post-details

get/v1/youtube/community-post-details

Request

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

Query parameters

urlstring required

YouTube community post URL (/post/Ugkx… or /community?lb=). Trailing whitespace is stripped. 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.