How to get YouTube community posts
GET request to /v1/youtube/community-posts with your input. You get clean JSON back in seconds for 10 credits per call — no OAuth, scraping or platform SDKs. Bulk-list YouTube content with full metadata for each item.How to get YouTube community posts (step by step)
- 1
Get a free API key
Create a free Captapi account (100 credits, no card) and generate an API key from the dashboard.
- 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
Read the JSON response
Parse the clean JSON response. Results are cached for 24 hours, so repeat calls are free.
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_..."What the response looks like
{
"success": true,
"cached": false,
"creditsUsed": 10,
"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"
}
]
}
}Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | YouTube channel URL, e.g. https://youtube.com/@handle or /channel/UC... |
| limit | integer | No | Max items to return (default 20, max 200). Billed per result. |
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 YouTube, TikTok, Instagram, and Facebook. 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.
Ready to get YouTube community posts?
Start free with 100 credits — no credit card required.
Get your free API key