How to get YouTube community post details
GET request to /v1/youtube/community-post-details with your input. You get clean JSON back in seconds for 1 credit per call — no OAuth, scraping or platform SDKs. Get a YouTube community post — text, images, poll options, likes, and comments as structured JSON.How to get YouTube community post details (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 Post Details API
Send an authenticated GET request to /v1/youtube/community-post-details with your input. No OAuth, no scraping setup.
- 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-post-details?url=https%3A%2F%2Fwww.youtube.com%2Fpost%2FUgkxfMvMnSnV3Ww9HwAY2wFGmVevmhRaYAYO" \
-H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."What the response looks like
{
"success": true,
"data": {
"platform": "youtube",
"id": "UgkxfMvMnSnV3Ww9HwAY2wFGmVevmhRaYAYO",
"url": "https://www.youtube.com/post/UgkxfMvMnSnV3Ww9HwAY2wFGmVevmhRaYAYO",
"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.",
"publishedAt": "1 month ago (edited)",
"channelName": "MrBeast",
"channelUrl": "https://www.youtube.com/@MrBeast",
"likes": "727K",
"comments": 16260,
"images": [
"https://yt3.ggpht.com/BgBr4f_nvLm84HY2JVaPiDZRLZXJsqA7Q29CJkAksrwRFNXN1GgQJxzjYfzWUYR6ZekKBXCVwxPQKw=s1000-rw-nd-v1"
]
}
}Billing metadata (credits charged, cache hit/miss) is returned in the X-Captapi-Credits and X-Captapi-Cache response headers.
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | YouTube community post URL. 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. |
| cache | boolean | No | Set true to serve from the 24h response cache. Default false — always fetch fresh data. |
Frequently asked questions
What does the YouTube Community Post Details API do?
The YouTube Community Post Details API lets you fetch full metadata and key stats from a public YouTube post using one GET request to /v1/youtube/community-post-details. It returns clean JSON — no OAuth or infrastructure setup required.
How many credits does the YouTube Community Post Details API cost?
Each successful call costs 1 credit. 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 Post Details 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 post details?
Start free with 100 credits — no credit card required.
Get your free API key