YouTube · Guide

How to get YouTube community posts

TL;DR
To get YouTube community posts, sign up for a free Captapi key, then send one GET request to /v1/youtube/community-posts with your input. You get clean JSON back in seconds for 1 credit per call — no OAuth, scraping or platform SDKs. Community posts — channel{}, publishedTimeApprox, likeCountIsApproximate, linkedVideos[], cursor (1 credit).

How to get YouTube community posts (step by step)

  1. 1

    Get a free API key

    Create a free Captapi account (100 credits, no card) and generate an API key from the dashboard.

  2. 2

    Call the YouTube Community Posts API

    Send an authenticated GET request to /v1/youtube/community-posts with your input. No OAuth, no scraping setup.

  3. 3

    Read the JSON response

    Parse the clean JSON response. Pass cache=true for a free 24h cache hit; default is always fresh.

Code example

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_..."

What the response looks like

{
  "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 (credits charged, cache hit/miss) is returned in the X-Captapi-Credits and X-Captapi-Cache response headers.

Request parameters

NameTypeRequiredDescription
urlstring YesYouTube 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.

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.

Why did I get 404 "No community posts found" on a real channel?

That 404 is gone. A channel with zero community posts is 200 with posts: [] and communityStatus=no_posts. A channel whose community tab is off (YouTube: "this community is unavailable") is 200 communityStatus=disabled. A handle that does not exist is 404 CHANNEL_NOT_FOUND — it never says "no community posts". A tab we could not read is 503 COMMUNITY_UNAVAILABLE (retryable, Retry-After header). 200 empty answers bill 1 credit native; 404/503 bill 0.

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.

Ready to get YouTube community posts?

Start free with 100 credits — no credit card required.

Get your free API key