YouTube
GET /v1/youtube/community-posts

YouTube Community Posts API

Bulk-list YouTube content with full metadata for each item.

10 credits per request (0.5 per result)
TL;DR
Bulk-list YouTube content with full metadata for each item. The YouTube Community Posts API (YouTube) is a single authenticated GET request to /v1/youtube/community-posts that responds with clean JSON, costs 10 credits, and is cached for 24 hours (repeat calls are free). Start with 100 free credits — no credit card.

What is the YouTube Community Posts API?

The YouTube Community Posts API lets you list items in bulk with metadata from YouTube with a single REST call. No OAuth, no scraping infrastructure, and no platform SDKs — send the URL, get clean structured JSON back. Results are cached for 24 hours, so repeat lookups are instant and free.

What you get

  • Bulk list of items with full metadata
  • View counts, dates, and direct URLs
  • Configurable result limit
  • Ideal for monitoring and content pipelines

Try it

Fill in the parameters below and copy a ready-to-run request in your language of choice.

Parameters

curl "https://api.captapi.com/v1/youtube/community-posts?url=https%3A%2F%2Fwww.youtube.com%2F%40MrBeast" \
  -H "Authorization: Bearer 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": 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 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, cached, creditsUsed, and a data object with the following fields:

Top-level fields

  • urlCanonical URL of the item.
  • totalReturnedNumber of items returned in this response.

Posts

Each item in posts contains:

  • idStable platform ID for the item.
  • authorAuthor name or handle.
  • textText content.
  • likeCountLike count.
  • hashtagsHashtags extracted from the text.
  • linkedVideosLinked videos (array).
  • publishedTimePublished time. Example: "9 days ago (edited)".
  • postTypePost type ("Image", "Video" or "Sidecar" for carousels).
  • imagesImage URLs attached to the item.
  • sourceUrlSource url URL.

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). Billed per result.
cachebooleanNoResponses are cached for 24 hours by default. Set false to bypass the cache and always fetch fresh data (default true).

Authentication: send your key as Authorization: Bearer capt_live_.... A typical call costs 10 credits — billed per result, so the exact amount scales with how many items you request. Repeat calls for the same request are served from cache for free (metrics refresh within ~1 hour).

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 full library.

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 video using one GET request to /v1/youtube/community-posts. It returns clean JSON — no OAuth or scraping setup required.

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

Each successful call costs 10 credits. Responses are cached for 24 hours, and cached results cost 0 credits. 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, and Rumble. 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, automatic retries, and a shared 24-hour cache. Use it for RAG pipelines, 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.