YOUTUBE API
Community Post Details
Retrieve community post details from YouTube with a single API request.
GET
/api/data/v1/youtube/community-post1credit base cost
Request parameters
Up to 1 creditThe URL of the YouTube community post to get
Live requests use your prepaid balance. Cached responses cost zero where supported.
curl --request GET \
--url 'https://fetchgoblin.com/api/data/v1/youtube/community-post?url=https%3A%2F%2Fwww.youtube.com%2Fpost%2FUgkxvj2KoApYAXoqLWnKVr6zZe5JjeHrQeP8' \
--header 'x-api-key: YOUR_FETCHGOBLIN_API_KEY'Response
Example{
"success": true,
"credits_charged": 1,
"id": "Ugkxvj2KoApYAXoqLWnKVr6zZe5JjeHrQeP8",
"channel": {
"id": "UChhw6DlKKTQ9mYSpTfXUYqA",
"title": "Starter Story",
"url": "https://www.youtube.com/@starterstory",
"handle": "starterstory"
},
"content": "How to build something meaningful\n\n1. sit down\n2. set a timer for 2 hours\n3. work\n4. do that over and over and over\n\nNOTHING meaningful was built in a day, a week, or even a month\n\nyou should launch quickly, but the work can't end there\n\nsuccessful products have YEARS of craft behind them\n\nstart building yours today: http://starterstory.com/bsm",
"images": [
"https://yt3.ggpht.com/uer4ij-RqnTqudtdT5VZNvEjzVXA3PGLHwNpjMfraB7mfbX_Bm0-fSpaFXkfw3EA4uZ7BY8YPa1gU08=s640-c-fcrop64=1,20000000dfffffff-rw-nd-v1"
],
"likeCount": 759,
"publishedTimeText": "5 days ago",
"publishedTime": "2025-11-07T18:49:57.492Z",
"video": null
}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"
},
"id": {
"type": "string"
},
"channel": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"url": {
"type": "string"
},
"handle": {
"type": "string"
}
}
},
"content": {
"type": "string"
},
"images": {
"type": "array",
"items": {
"type": "string"
}
},
"likeCount": {
"type": "integer"
},
"publishedTimeText": {
"type": "string"
},
"publishedTime": {
"type": "string"
},
"video": {
"type": [
"string",
"object",
"array",
"number",
"boolean",
"null"
]
}
}
}