YouTube Community Post Details
https://api.sandbase.ai/v1/api/youtube/web-v2/post-detailReturns detailed information for a YouTube community post, including post text, media attachments, and engagement metrics. Filter results by post ID, language, and country.
- Price
- $0.0015USD / callFirst 100 calls per day free (shared per organization)
- Method
- POST
- Response
- JSON
- Parameters
- 1 required · 3 optional
Try the model
Playground
[
{
"data": {
"channel_metadata": {
"avatar_url": "",
"channel_id": "UCkRfArvrzheW2E7b6SVT7vQ",
"channel_url": "",
"description": "",
"title": "YouTube Creators"
},
"comments_continuation_token": "4qmFsgKzAhIoRkVjb21tZW50X3Bvc3RfZGV0YWlsX3BhZ2Vfd2ViX3RvcF9sZXZlbBqGAkVnVndiM04wYzZvRFd5SkhNQURZQVFIcUFTUlZaMnQ0YVVOVFVtWkVObWMzVTFCc1YwZFFSR0V6ZG1KUU4yRkpjM2wwV0ZKcmRubnlBUmhWUTJ0U1prRnlkbko2YUdWWE1rVTNZalpUVmxRM2RsRkNFR052YlcxbGJuUnpMWE5sWTNScGIyN0NBMW9TR0ZWRGExSm1RWEoyY25wb1pWY3lSVGRpTmxOV1ZEZDJVUm9rVldkcmVHbERVMUptUkRabk4xTlFiRmRIVUVSaE0zWmlVRGRoU1hONWRGaFNhM1o1V2hoVlEydFNaa0Z5ZG5KNmFHVlhNa1UzWWpaVFZsUTNkbEUlM0Q%3D",
"post": {
"attachment": {
"images": [
{
"height": 288,
"url": "https://yt3.ggpht.com/wbxSQ9KLMZWcSCw2Q78wZ1YfvUb9zpWRs6QYRSHt4n277DENaKkLxd9WYZeU4NGCplLEe4E1Ty1TMQ=s288-rw-nd-v1",
"width": 288
},
{
"height": 400,
"url": "https://yt3.ggpht.com/wbxSQ9KLMZWcSCw2Q78wZ1YfvUb9zpWRs6QYRSHt4n277DENaKkLxd9WYZeU4NGCplLEe4E1Ty1TMQ=s400-rw-nd-v1",
"width": 400
},
{
"height": 512,
"url": "https://yt3.ggpht.com/wbxSQ9KLMZWcSCw2Q78wZ1YfvUb9zpWRs6QYRSHt4n277DENaKkLxd9WYZeU4NGCplLEe4E1Ty1TMQ=s512-rw-nd-v1",
"width": 512
},
{
"height": 640,
"url": "https://yt3.ggpht.com/wbxSQ9KLMZWcSCw2Q78wZ1YfvUb9zpWRs6QYRSHt4n277DENaKkLxd9WYZeU4NGCplLEe4E1Ty1TMQ=s640-rw-nd-v1",
"width": 640
},
{
"height": 800,
"url": "https://yt3.ggpht.com/wbxSQ9KLMZWcSCw2Q78wZ1YfvUb9zpWRs6QYRSHt4n277DENaKkLxd9WYZeU4NGCplLEe4E1Ty1TMQ=s800-rw-nd-v1",
"width": 800
},
{
"height": 1024,
"url": "https://yt3.ggpht.com/wbxSQ9KLMZWcSCw2Q78wZ1YfvUb9zpWRs6QYRSHt4n277DENaKkLxd9WYZeU4NGCplLEe4E1Ty1TMQ=s1024-rw-nd-v1",
"width": 1024
},
{
"height": 1600,
"url": "https://yt3.ggpht.com/wbxSQ9KLMZWcSCw2Q78wZ1YfvUb9zpWRs6QYRSHt4n277DENaKkLxd9WYZeU4NGCplLEe4E1Ty1TMQ=s1600-rw-nd-v1",
"width": 1600
},
{
"height": 2048,
"url": "https://yt3.ggpht.com/wbxSQ9KLMZWcSCw2Q78wZ1YfvUb9zpWRs6QYRSHt4n277DENaKkLxd9WYZeU4NGCplLEe4E1Ty1TMQ=s2048-rw-nd-v1",
"width": 2048
},
{
"height": 2250,
"url": "https://yt3.ggpht.com/wbxSQ9KLMZWcSCw2Q78wZ1YfvUb9zpWRs6QYRSHt4n277DENaKkLxd9WYZeU4NGCplLEe4E1Ty1TMQ=s2250-rw-nd-v1",
"width": 2250
}
],
"type": "image"
},
"author_channel_id": "UCkRfArvrzheW2E7b6SVT7vQ",
"author_name": "YouTube Creators",
"author_thumbnails": [
{
"height": 32,
"url": "//yt3.googleusercontent.com/LZeUOuOM8lzINkYAKi1X3pCQz1xsSD_EndPUR1vOGesaGavUtyM_-bCUq7Gld-LPX_R7uieWsA=s32-c-k-c0x00ffffff-no-rj-mo",
"width": 32
},
{
"height": 48,
"url": "//yt3.googleusercontent.com/LZeUOuOM8lzINkYAKi1X3pCQz1xsSD_EndPUR1vOGesaGavUtyM_-bCUq7Gld-LPX_R7uieWsA=s48-c-k-c0x00ffffff-no-rj-mo",
"width": 48
},
{
"height": 76,
"url": "//yt3.googleusercontent.com/LZeUOuOM8lzINkYAKi1X3pCQz1xsSD_EndPUR1vOGesaGavUtyM_-bCUq7Gld-LPX_R7uieWsA=s76-c-k-c0x00ffffff-no-rj-mo",
"width": 76
}
],
"author_url": "/@youtubecreators",
"comment_count": "",
"content_text": "🎉 Posts are rolling out to more creators than ever before!! 🎉 \n\nWe're so excited to announce that we’re starting to roll out posts access to all eligible channels TODAY and over the coming weeks. While posts will become available to most channels on YouTube, there are some cases where the feature will continue to be turned off as it has been historically:\n\n✅ Channels that are set as Made for Kids\n✅ Folks who access YouTube with a supervised account\n✅ More details can be found in our Help Center: https://yt.be/help/postsGA \n\nOnce you have access, get the post party on your channel started by: \n\n1️⃣ Tapping the “+” button in the YouTube mobile app or the 🎥 ”Create” > 📝 “Create post” button on desktop to draft a post\n2️⃣ Play around with different format options - we have polls, quizzes, GIFs, text, images, and video posts!\n3️⃣ Share a post with your audience and watch the connection between you and your viewers deepen\n\nThis update will roll out over the next few weeks. Happy posting! ⭐",
"post_id": "UgkxiCSRfD6g7SPlWGPDa3vbP7aIsytXRkvy",
"post_url": "https://www.youtube.com/post/UgkxiCSRfD6g7SPlWGPDa3vbP7aIsytXRkvy",
"published_time": "2年前(修改过)",
"vote_count": "4428"
}
}
}
]Examples
Select an example to load its inputs and result into the playground.
Model card
Specifications
Pricing
- Base price
- $0.0015 / run
- Daily free calls
- First 100 calls per day free (shared per organization)
Request & response
- Method
- POST
- Request body
- application/json
- Response
- application/json
- Execution
- sync
Parameters
- post_id
- string · required
- country_code
- string · optional
- language_code
- string · optional
- need_format
- boolean · optional
Access
- Provider
- YouTube
- API
- Platform API
- Base URL
- https://api.sandbase.ai
- Endpoint
- /v1/api/youtube/web-v2/post-detail
- Authentication
- Bearer API key
API README
YouTube Community Post Details API
Retrieve detailed information for a specific YouTube community post using its post_id.
Use cases
- Inspect community post text and attached image media.
- Monitor engagement metrics on specific YouTube community posts.
- Display localized community post content by setting country and language codes.
Request
curl -X POST "https://api.sandbase.ai/v1/api/youtube/web-v2/post-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"post_id": "UgkxiCSRfD6g7SPlWGPDa3vbP7aIsytXRkvy"}'
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
post_id | string | Yes | Purpose: Post ID |
need_format | boolean | No | Whether to format data, default true |
country_code | string | No | Country code, default "US" |
language_code | string | No | Language code, default "zh-CN" |
Example response
Real response for the request above, trimmed to the main fields. User names and long IDs are masked.
{
"post": {
"attachment": {
"images": [
{
"url": "https://yt3.ggpht.com/wbxSQ9KLMZWcSCw2Q78wZ1YfvUb9zpWRs6QYRSHt4n277DENaKkLxd9WYZ…"
}
]
}
}
}
Notes
need_formatdefaults totrueto structure the response payload.country_codedefaults to"US"andlanguage_codedefaults to"zh-CN".
Related APIs
- YouTube Channel Community Posts: Returns community posts from a specific YouTube channel, including text content, polls, votes, and comment counts.
- YouTube Channel Description: Returns YouTube channel details including subscriber counts, video totals, view counts, joined date, and social links.
- YouTube Channel ID from URL: Resolves a YouTube channel URL to its canonical channel ID.
Start building
Send your first request
Platform API endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/api/youtube/web-v2/post-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"post_id": "UgkxiCSRfD6g7SPlWGPDa3vbP7aIsytXRkvy",
"need_format": true,
"country_code": "US",
"language_code": "en-US"
}
SANDBASE_JSON
)
printf '%s\n' "$result"Explore more
Related APIs
| API | Price | Response | Released |
|---|---|---|---|
YouTube Community Post DetailsThis API YouTube | $0.0015 per call | JSON | Jul 31, 2026 |
YouTube | $0.0015 per call | JSON | Jul 31, 2026 |
YouTube | $0.0015 per call | JSON | Jul 31, 2026 |
YouTube | $0.0015 per call | JSON | Jul 31, 2026 |
YouTube | $0.0015 per call | JSON | Jul 31, 2026 |
YouTube | $0.0015 per call | JSON | Jul 31, 2026 |
Questions
FAQ
How do I use the YouTube Community Post Details API?
Send a POST request to https://api.sandbase.ai/v1/api/youtube/web-v2/post-detail with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.
How much does the YouTube Community Post Details API cost?
$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.
What parameters does the YouTube Community Post Details API accept?
Required: post_id (string). Optional: country_code (string), language_code (string) and need_format (boolean). The Parameters table and the Playground on this page list every field.
What does the YouTube Community Post Details API return?
A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.
Do I need a YouTube developer account or API key?
No. YouTube Community Post Details runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for YouTube API access separately.
