YouTube
GET /v1/youtube/community-posts

YouTube Community Posts API

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

1 credit per request
TL;DR
Community posts — channel{}, publishedTimeApprox, likeCountIsApproximate, linkedVideos[], cursor (1 credit). The YouTube Community Posts API (YouTube) is a single authenticated GET request to /v1/youtube/community-posts that responds with clean JSON and costs 1 credit. Pass cache=true for a free 24h cache hit; default is always fresh. Start with 100 free credits — no credit card.

What is the YouTube Community Posts API?

Pass a channel URL, @handle, or UC… ID and get that channel's community /posts tab as clean JSON. 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[], linkedVideos[] when the post attaches a video. Cursor pagination via nextCursor + hasMore. Flat 1 credit on the native path; Apify fallback bills about 0.5 credits per returned post (min 2).

What you get

  • channel{} only — drop author string twin
  • publishedTimeApprox + publishedTimeIsApproximate (comments vocabulary)
  • likeCountIsApproximate / totalVotesIsApproximate naming
  • linkedVideos[] when attached; cursor pagination; 1 credit native

Try it

Open in Playground

Fill in the parameters below and copy a ready-to-run request, or open the live Playground to run it against your account (no API key paste).

Parameters

Sign in to run live
curl "https://api.captapi.com/v1/youtube/community-posts?url=https%3A%2F%2Fwww.youtube.com%2F%40MrBeast" \
  -H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."

Edit the parameters and the code updates instantly. Switch languages and hit copy.

Example response

{
  "success": true,
  "data": {
    "url": "https://www.youtube.com/@MrBeast",
    "totalReturned": 2,
    "hasMore": true,
    "nextCursor": "4qmFsgKTARIYVUNYNk9RM0RrY3NiWU5FNkg4dVFRdVZBGl5FZ1Z3YjNOMGM3Z0JBSklEQUtvREtBb2tVVEpqTlZKR1VuSmtSM0JPVTBaS1ExVnFRbGRWUjBaWlZHNWtZVTB3TVZKUlZVVTlLQXJ5QmdrS0Iwb0FvZ0VDQ0FFJTNEmgIWYmFja3N0YWdlLWl0ZW0tc2VjdGlvbg%3D%3D",
    "posts": [
      {
        "id": "UgkxB7POmB4C7U0I3kIEWRZpYfE2t-ieP9CA",
        "url": "https://www.youtube.com/post/UgkxB7POmB4C7U0I3kIEWRZpYfE2t-ieP9CA",
        "author": "MrBeast",
        "channel": {
          "id": "UCX6OQ3DkcsbYNE6H8uQQuVA",
          "title": "MrBeast",
          "url": "https://www.youtube.com/@MrBeast",
          "handle": "@MrBeast"
        },
        "text": "Some more fun wedding photos 🥰",
        "likeCount": 3200000,
        "likeCountText": "3.2M",
        "hashtags": [],
        "linkedVideos": [],
        "video": null,
        "publishedTime": "2026-07-23T19:42:10.000Z",
        "publishedTimeText": "10 days ago",
        "postType": "image",
        "images": [
          "https://yt3.ggpht.com/bFmb7RbyvsNTUS3otE4oc2tqI5CZyl3apwKmjnqnTjFuv1mwxWG7hWlZCuiWlRYrd3oCd_nAtBWVsw=s2641-c-fcrop64=1,00002578ffffda87-rw-nd-v1",
          "https://yt3.ggpht.com/1Oxcyk2wshlCOoZYiTWUFoixDaomfdtlcIKiGv_ozoT4Lfs9CZx-3VTxbNeQlJOOV_h7CdWjWF8QIA=s1536-c-fcrop64=1,00002000ffffdfff-rw-nd-v1"
        ],
        "image": "https://yt3.ggpht.com/bFmb7RbyvsNTUS3otE4oc2tqI5CZyl3apwKmjnqnTjFuv1mwxWG7hWlZCuiWlRYrd3oCd_nAtBWVsw=s2641-c-fcrop64=1,00002578ffffda87-rw-nd-v1",
        "sourceUrl": "https://www.youtube.com/post/UgkxB7POmB4C7U0I3kIEWRZpYfE2t-ieP9CA",
        "likeCountApproximate": true
      },
      {
        "id": "Ugkxg-YuyvHwnlFZRktAZHHELzGBrskCHChJ",
        "url": "https://www.youtube.com/post/Ugkxg-YuyvHwnlFZRktAZHHELzGBrskCHChJ",
        "author": "MrBeast",
        "channel": {
          "id": "UCX6OQ3DkcsbYNE6H8uQQuVA",
          "title": "MrBeast",
          "url": "https://www.youtube.com/@MrBeast",
          "handle": "@MrBeast"
        },
        "text": "I found MrsBeast ❤️❤️❤️",
        "likeCount": 3200000,
        "likeCountText": "3.2M",
        "hashtags": [],
        "linkedVideos": [],
        "video": null,
        "publishedTime": "2026-07-21T19:42:10.000Z",
        "publishedTimeText": "12 days ago",
        "postType": "image",
        "images": [
          "https://yt3.ggpht.com/oiElfzENMAx3umYLMOH0sZOodVZChBV2L0ddB-KbqwR9B0djUx9o-JMD8ehXMt9fmKtAkGeO3ySq=s4000-c-fcrop64=1,00000000ffffc002-rw-nd-v1",
          "https://yt3.ggpht.com/sL9SyPNxLv5TT8CMSqQFy3o0DhtCcyxQrCt2hfIXYSHNhDZ0_f2ORfAZs8K8aAXoZQ05G7hsnOviCQ=s4000-c-fcrop64=1,00001ffeffffe001-rw-nd-v1"
        ],
        "image": "https://yt3.ggpht.com/oiElfzENMAx3umYLMOH0sZOodVZChBV2L0ddB-KbqwR9B0djUx9o-JMD8ehXMt9fmKtAkGeO3ySq=s4000-c-fcrop64=1,00000000ffffc002-rw-nd-v1",
        "sourceUrl": "https://www.youtube.com/post/Ugkxg-YuyvHwnlFZRktAZHHELzGBrskCHChJ",
        "likeCountApproximate": true
      }
    ]
  }
}

Billing metadata is returned in response headers: X-Captapi-Credits (credits charged), X-Captapi-Cache (hit or miss), and X-Captapi-Source. Failed requests (4xx/5xx) are never charged. See the full list of error codes in the error reference.

Response structure

A successful call returns success and a data object with the following fields:

Top-level fields

  • urlCanonical URL of the item.
  • totalReturnedNumber of items returned in this response.
  • hasMoreWhether more results are available beyond this page. When true, pass nextCursor to fetch the next page.
  • nextCursorCursor to pass for the next page of results. May be null when the platform does not expose deep pagination (e.g. some Facebook Ad Library searches).

Posts

Each item in posts contains:

  • idId of this posts item.
  • urlCanonical URL of the item.
  • authorAuthor name or handle.
  • channelYouTube channel that authored the community post.
  • textText content.
  • likeCountLike count as an integer. Compact UI labels ("727K") are expanded here; see likeCountText for the original string.
  • likeCountTextOriginal like-count label from the platform (e.g. "727K", "3.2M").
  • hashtagsHashtags extracted from the text.
  • linkedVideosLinked videos (array).
  • videoVideo.
  • publishedTimePublished time. Example: "2026-07-23T19:42:10.000Z".
  • publishedTimeTextOriginal relative publish label from the platform when an exact timestamp was not available (e.g. "1 year ago").
  • postTypeContent type. YouTube community: "text" | "image" | "poll" | "video" | "playlist" | "quiz". Instagram: "image" | "video" | "carousel".
  • imagesImage URLs attached to the community post.
  • imageImage URL.
  • sourceUrlSource url URL.
  • likeCountApproximateLike count approximate. Example: true.

Parameters

NameTypeRequiredDescription
urlstringYesYouTube 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.
limitintegerNoMax items to return (default 20, max 200). Flat 1 credit per call.
cursorstringNoPagination cursor. Leave empty for the first page; then pass the nextCursor value returned in the previous response.
cachebooleanNoSet true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.

Authentication: send your key as Authorization: Bearer capt_live_.... A typical call costs 1 credit. Pass cache=true for a free 24h cache hit; default is always fresh.

Using an AI agent? This endpoint is the MCP tool youtube_community_posts via @captapi/mcp. Set it up →

How it works

  1. 1. Sign up — get 100 free credits, no card required.
  2. 2. Create a key from your dashboard.
  3. 3. Send one request to /v1/youtube/community-posts and parse the JSON response.

Use cases

Content Pipelines

Ingest a channel's catalog in bulk.

Monitoring

Detect new uploads automatically.

Archiving

Snapshot a creator's library — metadata plus CDN media URLs (re-fetch before mediaUrlsExpireAt).

Analytics

Aggregate performance across many videos.

Frequently asked questions

What does the YouTube Community Posts API do?+

The YouTube Community Posts API lets you list items in bulk with metadata from a public YouTube post using one GET request to /v1/youtube/community-posts. It returns clean JSON — no OAuth or infrastructure setup required.

How many credits does the YouTube Community Posts API cost?+

Each successful call costs 1 credit. Pass cache=true to serve from the 24h cache (0 credits on hit); default is always fresh. Selected profile endpoints also accept cacheMaxAge=1d|3d|7d|14d|30d. Failed or empty results are never charged.

Do I need a YouTube API key or OAuth?+

No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, Rumble, Spotify, Kwai, and more. We handle proxies, rate limits, retries, and authentication for you.

Is the YouTube Community Posts API suitable for production use?+

Yes. It is a stable REST endpoint with predictable JSON and automatic retries. Pass cache=true to serve from the 24h cache (0 credits on hit); default is always fresh. Selected profile endpoints also accept cacheMaxAge=1d|3d|7d|14d|30d. Use it for analytics, monitoring, and content automation.

More YouTube APIs

Ready to use the YouTube Community Posts API?

Sign up, grab your key, and make your first call in 60 seconds.

YouTube Community Posts API | Captapi — Captapi