Community Post
GET/v1/youtube/community-post1 credit
Returns a single community post: its text, images, attached video, like count, publish time and channel.
01Query parameters
| Name | Type | Description |
|---|---|---|
| urlrequired | string | Community post URL (`https://www.youtube.com/post/<id>` or a link with `?lb=<id>`). |
02Request
curl "https://api.scrapesocial.ai/v1/youtube/community-post?url=https%3A%2F%2Fwww.youtube.com%2Fpost%2FUgkxHIfkQ3K2my65-kPq4VkRv9KrBRyN7alx" \ -H "x-api-key: $SCRAPESOCIAL_KEY"
03Responses
Real answers from the API. Lists are shortened to 2 items.
GET /v1/youtube/community-post?url=https%3A%2F%2Fwww.youtube.com%2Fpost%2FUgkxHIfkQ3K2my65-kPq4VkRv9KrBRyN7alx
{
"success": true,
"credits_remaining": 4980,
"credits_charged": 1,
"id": "UgkxHIfkQ3K2my65-kPq4VkRv9KrBRyN7alx",
"channel": {
"id": "UCX6OQ3DkcsbYNE6H8uQQuVA",
"title": "MrBeast",
"url": "https://www.youtube.com/@MrBeast",
"handle": "MrBeast"
},
"content": "NO MORE WAITING, this Saturday “Eat Everything In A Grocery Store Win $1,000,000” finally goes live! You’ll get to see if Juan and the gang pulled it off :D",
"image": "https://yt3.ggpht.com/-gQueci3cQXl50-Tgiv_Ru65aUfw2-6aHe9ny2Iy1KWoU1iAALkCZ9VeiZkH5tcqqiAjaTjb50D7iQ=s640-rw-nd-v1",
"images": [
"https://yt3.ggpht.com/-gQueci3cQXl50-Tgiv_Ru65aUfw2-6aHe9ny2Iy1KWoU1iAALkCZ9VeiZkH5tcqqiAjaTjb50D7iQ=s640-rw-nd-v1"
],
"likeCount": 319000,
"publishedTimeText": "3 weeks ago",
"publishedTime": "2026-10-04T17:07:16.353Z",
"video": null
}Common to every endpoint
Any route can answer these: a missing or wrong key, no credits left, the platform not answering, or a failure on our side. None of them costs credits.
GET /v1/cosmos/profile?handle=design
{
"success": false,
"message": "Invalid API key"
}04Notes
A URL that is not a community post is a 400, an unknown post a 404; both free.
05Errors & credits
Every error has success: false, a real HTTP status and costs no credits.
400missing_parameter
A required parameter is missing or invalid.
403private_account
The account is private or age-restricted.
404not_found
No such account.
503upstream_error
The platform did not answer; retry shortly.