YOUTUBE API
Channel Community Posts
Retrieve channel community posts from YouTube with a single API request.
GET
/api/data/v1/youtube/channel/community-posts1credit base cost
Request parameters
Up to 1 creditYouTube channel ID
YouTube channel handle
Continuation token to get more community posts. Get 'continuationToken' from previous response.
Live requests use your prepaid balance. Cached responses cost zero where supported.
curl --request GET \
--url 'https://fetchgoblin.com/api/data/v1/youtube/channel/community-posts?handle=MrBeast' \
--header 'x-api-key: YOUR_FETCHGOBLIN_API_KEY'Response
Example{
"success": true,
"credits_charged": 1,
"posts": [
{
"id": "UgkxfMvMnSnV3Ww9HwAY2wFGmVevmhRaYAYO",
"url": "https://www.youtube.com/post/UgkxfMvMnSnV3Ww9HwAY2wFGmVevmhRaYAYO",
"channel": {
"id": "UCX6OQ3DkcsbYNE6H8uQQuVA",
"title": "MrBeast",
"url": "https://www.youtube.com/@MrBeast",
"handle": "MrBeast"
},
"content": "New video is live",
"image": "https://yt3.ggpht.com/example-image=s640-c-fcrop64",
"images": [
"https://yt3.ggpht.com/example-image=s640-c-fcrop64"
],
"likeCountText": "250K",
"likeCount": 250000,
"publishedTimeText": "2 days ago",
"publishedTime": "2026-05-24T12:00:00.000Z",
"video": {
"id": "tnTPaLOaHz8",
"title": "If You Survive, You Win",
"thumbnail": "https://i.ytimg.com/vi/tnTPaLOaHz8/hqdefault.jpg",
"url": "https://www.youtube.com/watch?v=tnTPaLOaHz8",
"viewCountText": "10M views",
"viewCountInt": 10000000,
"publishedTimeText": "2 days ago",
"lengthText": "18:42",
"lengthSeconds": 1122
}
}
],
"continuationToken": "4qmFsgLlFhIYV...."
}Example data from the API specification. Run a request to retrieve current data.
Response shape
This schema describes the documented data shape. Some platform fields may be absent or null. The response also includes your FetchGoblin request ID and current credit balance.
View JSON Schema +
{
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"credits_remaining": {
"type": "integer"
},
"credits_charged": {
"type": "integer"
},
"posts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
},
"channel": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"url": {
"type": "string"
},
"handle": {
"type": "string"
}
}
},
"content": {
"type": "string"
},
"image": {
"type": "string"
},
"images": {
"type": "array",
"items": {
"type": "string"
}
},
"likeCountText": {
"type": "string"
},
"likeCount": {
"type": "integer"
},
"publishedTimeText": {
"type": "string"
},
"publishedTime": {
"type": "string"
},
"video": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"thumbnail": {
"type": "string"
},
"url": {
"type": "string"
},
"viewCountText": {
"type": "string"
},
"viewCountInt": {
"type": "integer"
},
"publishedTimeText": {
"type": "string"
},
"lengthText": {
"type": "string"
},
"lengthSeconds": {
"type": "integer"
}
}
}
}
}
},
"continuationToken": {
"type": "string"
}
}
}