YouTube

YouTube Community Posts API

Community posts — channel{}, publishedTimeApprox, likeCountIsApproximate, linkedVideos[], cursor (1 credit).

Pass a channel URL, @handle, or UC… ID and get that channel's community /posts tab as clean JSON. communityStatus tells you what an empty list means: ok (posts[]), no_posts (tab open, zero posts), disabled (YouTube says this community is unavailable — 200, not 404). A handle that does not resolve is 404 CHANNEL_NOT_FOUND — never "No community posts found". A tab we could not read is 503 COMMUNITY_UNAVAILABLE (retryable, Retry-After). Each post: id/url, channel{id,title,url,handle} (no flat author twin), text, likeCount + likeCountText + likeCountIsApproximate, publishedTimeApprox + publishedTimeIsApproximate + publishedTimeText (relative labels only — no exact instant source), postType (text|image|poll|video|playlist|quiz), pollOptions[] + totalVotes + totalVotesIsApproximate when poll, images[], hashtags[] (deduped; digit-only rank mentions like "ranks #1" are not hashtags — YouTube never linkifies them), linkedVideos[] when the post attaches a video. Cursor pagination via nextCursor + hasMore. Flat 1 credit on the native path (including no_posts and disabled); 404/503 bill 0.

Docs: https://captapi.com/apis/youtube-community-posts

get/v1/youtube/community-posts

Request

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

Query parameters

urlstring required

YouTube channel URL, @handle, bare handle, or UC... channel ID, e.g. https://youtube.com/@handle or @mkbhd. 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.

limitinteger

Max items to return (default 20, max 200). Flat 1 credit per call.

cursorstring

Pagination cursor. Leave empty for the first page; then pass the nextCursor value returned in the previous response.

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.