YouTube API
YouTube Channel community posts API
List a YouTube channel's community posts by handle or channel ID with cursor pagination (text, likes, image, publish time).
POST/v1/run/youtube.channel_community_posts
Requests
-
30d
Provider network
Providers ranked by traffic
Try it
Make your first request
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
"data": {
"nextCursor": "example",
"posts": [
{
"content": "A short example description of this item.",
"id": "a1b2c3d4",
"image": "https://example.com/image.jpg",
"likeCount": 12500,
"publishedTime": "2024-01-15T09:30:00Z",
"url": "https://example.com/page"
}
]
},
"found": true
}Response interface
interface YoutubeChannelCommunityPostsResponse {
data: {
nextCursor: string | null;
posts: {
content: string;
id: string;
image: string;
likeCount: number;
publishedTime: string;
url: string;
}[];
} | null;
found: boolean;
}Full parameter and response reference - every field, type, and example for this endpoint.
Reference
Request, response, and price
Last verified 2026-09-16 · uptime and latency measured over 30dPOST /v1/run/youtube.channel_community_posts
curl -X POST https://api.getanyapi.com/v1/run/youtube.channel_community_posts \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"handle":"@MrBeast"}'| Field | Type | Example value |
|---|---|---|
| Request body | ||
| channelId | string | YouTube channel ID. |
| cursor | string | Continuation token from a previous response for pagination. |
| handle | string | "@MrBeast"YouTube channel handle. |
| Response | ||
| data | object | |
| data.nextCursor | string | Opaque cursor for the next page of posts, or null when this lane has no more. Pass it back as cursor to continue. |
| data.posts | object[] | Populated whenever the provider has data for the entity. |
| data.posts[].content | string | Populated whenever the provider has data for the entity. |
| data.posts[].id | string | Populated whenever the provider has data for the entity. |
| data.posts[].image | string | |
| data.posts[].likeCount | integer | |
| data.posts[].publishedTime | string | Populated whenever the provider has data for the entity. |
| data.posts[].url | string | Populated whenever the provider has data for the entity. |
| found | boolean | |
| Price | ||
| Price per request | USD | $0.0012 |
| Price /1k req | USD | $1.20 |
FAQ
About the YouTube Channel community posts API
The AnyAPI YouTube Channel community posts API returns YouTube channel community posts data as normalized JSON from one POST call to /v1/run/youtube.channel_community_posts. List a YouTube channel's community posts by handle or channel ID with cursor pagination (text, likes, image, publish time). AnyAPI routes each request across 2 sources and falls back automatically when one fails. It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum.
It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.
List a YouTube channel's community posts by handle or channel ID with cursor pagination (text, likes, image, publish time). The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.
More to call
Other YouTube endpoints
Channelfrom $0.50 /1k reqVideofrom $0.90 /1k reqVideo transcriptfrom $1.25 /1k reqSearchfrom $0.50 /1k reqChannel videosfrom $0.50 /1k reqVideo commentsfrom $1.20 /1k reqChannel contactfrom $71.80 /1k reqChannel livesfrom $1.20 /1k reqChannel playlistsfrom $1.20 /1k reqChannel shortsfrom $1.20 /1k reqComment repliesfrom $1.20 /1k reqCommunity postfrom $1.20 /1k reqPlaylistfrom $1.20 /1k reqSearch hashtagfrom $1.20 /1k reqSearch shortsfrom $1.20 /1k reqTrending shortsfrom $1.20 /1k reqVideo sponsorsfrom $1.20 /1k reqVideo transcript fullfrom $1.00 /1k req