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 ~10 credits (0.5/result) per call — no OAuth, scraping or platform SDKs. List YouTube community posts with full metadata for each item.

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": 5,
    "posts": [
      {
        "id": "UgkxfMvMnSnV3Ww9HwAY2wFGmVevmhRaYAYO",
        "author": "MrBeast",
        "text": "Inside this box is the world's FIRST 500M Play Button. We're 10M away from 500M and I cannot wait to see what’s in here so help me out. Subscribe so we can all see what it looks like!",
        "likeCount": "662K",
        "hashtags": [],
        "linkedVideos": [],
        "publishedTime": "9 days ago (edited)",
        "postType": "image",
        "images": [
          "//yt3.googleusercontent.com/nxYrc_1_2f77DoBadyxMTmv7ZpRZapHR5jbuYe7PlPd5cIRJxtNNEYyOC0ZsxaDyJJzXrnJiuDE=s32-c-k-c0x00ffffff-no-rj-mo",
          "//yt3.googleusercontent.com/nxYrc_1_2f77DoBadyxMTmv7ZpRZapHR5jbuYe7PlPd5cIRJxtNNEYyOC0ZsxaDyJJzXrnJiuDE=s48-c-k-c0x00ffffff-no-rj-mo"
        ],
        "sourceUrl": "https://www.youtube.com/post/UgkxfMvMnSnV3Ww9HwAY2wFGmVevmhRaYAYO"
      },
      {
        "id": "UgkxoALLVbJBCAlPjcXE3bcrv8PCAuBYQbc9",
        "author": "MrBeast",
        "text": "Thanks you for all the Birthday wishes, I’m very incredibly grateful for all of you that watch our videos :)",
        "likeCount": "259K",
        "hashtags": [],
        "linkedVideos": [],
        "publishedTime": "3 weeks ago",
        "postType": "image",
        "images": [
          "//yt3.googleusercontent.com/nxYrc_1_2f77DoBadyxMTmv7ZpRZapHR5jbuYe7PlPd5cIRJxtNNEYyOC0ZsxaDyJJzXrnJiuDE=s32-c-k-c0x00ffffff-no-rj-mo",
          "//yt3.googleusercontent.com/nxYrc_1_2f77DoBadyxMTmv7ZpRZapHR5jbuYe7PlPd5cIRJxtNNEYyOC0ZsxaDyJJzXrnJiuDE=s48-c-k-c0x00ffffff-no-rj-mo"
        ],
        "sourceUrl": "https://www.youtube.com/post/UgkxoALLVbJBCAlPjcXE3bcrv8PCAuBYQbc9"
      }
    ]
  }
}

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). Billed per result.
cachebooleanNoSet true to serve from the 24h response cache. Default false — always fetch fresh data.

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?

At the default limit this endpoint costs 10 credits (0.5 per result). Billing scales with how many results you request. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh. 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 shared cache (0 credits on hit); default is always fresh. 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