YouTube Community Post API
Get one YouTube community post from its link or ID: its text, images, poll choices and total votes, attached video, like and comment counts, author and when it was posted.
- Endpoint
- POST /youtube/get-post
- Price
- 1 credit per request
- SDK
- client.youtube.getPost()
- MCP tool
- youtube_get_post
curl -X POST "https://api.bridgly.app/youtube/get-post" \ -H "Authorization: Bearer $BRIDGLY_KEY" \ -H "Content-Type: application/json" \ -d '{ "url": "https://www.youtube.com/post/Ugkx2lkCYp85jak0n5z7-bq_4ug2Rntk9iWT"}'import osimport requestsresponse = requests.post( "https://api.bridgly.app/youtube/get-post", headers={"Authorization": f"Bearer {os.environ['BRIDGLY_KEY']}"}, json={ "url": "https://www.youtube.com/post/Ugkx2lkCYp85jak0n5z7-bq_4ug2Rntk9iWT", },)data = response.json()const response = await fetch("https://api.bridgly.app/youtube/get-post", { method: "POST", headers: { Authorization: `Bearer ${process.env.BRIDGLY_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ "url": "https://www.youtube.com/post/Ugkx2lkCYp85jak0n5z7-bq_4ug2Rntk9iWT" }),});const data = await response.json();import { Bridgly } from "@bridgly/sdk";const client = new Bridgly({ apiKey: "bgly_YOUR_KEY" });const res = await client.youtube.getPost({ url: "https://www.youtube.com/post/Ugkx2lkCYp85jak0n5z7-bq_4ug2Rntk9iWT"});if (res.type === "success") { console.log(res.data);}What does the YouTube Community Post API return?
YouTube community post API: get one post from its link or ID, with text, images, poll, attached video, like and comment counts and author, as JSON. Every response has the same envelope: the result in data, plus timeMs and the creditsCost of the call.
Request body
urlstringrequired- The post: its link or its post ID, e.g. "https://www.youtube.com/post/Ugkx2lkCYp85jak0n5z7-bq_4ug2Rntk9iWT" or "Ugkx2lkCYp85jak0n5z7-bq_4ug2Rntk9iWT". Older links to a channel's Community tab with `lb=` work too.
cacheMaxAgeHoursinteger- Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24.
cacheOnlyboolean- Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true.
Example response
{ "timeMs": 1840, "creditsCost": 1, "cachedAt": "2026-01-15T09:30:00.000Z", "data": { "id": "string", "url": "string", "text": "string", "publishedText": "string", "likeCount": 0, "commentCount": 0, "author": { "id": "string", "name": "string", "url": "string", "handle": "string" }, "images": [ { "url": "string", "width": 0, "height": 0 } ], "video": { "id": "string", "url": "string", "title": "string", "descriptionSnippet": "string", "thumbnails": [ { "url": "string", "width": 0, "height": 0 } ], "durationSeconds": 0, "viewCount": 0, "publishedText": "string", "channel": { "id": "string", "name": "string", "url": "string", "handle": "string" }, "isShort": true, "isLive": true, "isUpcoming": true, "badges": [ "string" ] }, "poll": { "choices": [ "string" ], "voteCount": 0 } }}What can you build with the YouTube Community Post API?
Track a post
Follow the likes and comments on a post over time.
Save announcements
Keep a copy of a creator’s post you were sent a link to.
Read polls
Get a poll’s choices and total votes from its post link.
YouTube Community Post API questions
What links does it accept?
Post links such as "https://www.youtube.com/post/Ugkx...", older Community tab links with lb=, or the bare post ID.
What if the post was deleted?
You get a 404, and the call is not charged.
How do I use the YouTube Community Post API?
Send a POST request to https://api.bridgly.app/youtube/get-post with url in the JSON body and your API key in the Authorization header. In the TypeScript SDK, call client.youtube.getPost(). AI agents connected to Bridgly over MCP can call the youtube_get_post tool.
How much does the YouTube Community Post API cost?
Costs 1 credit per request. Credits cost $2.00 per 1,000 on pay-as-you-go and as low as $1.67 per 1,000 at volume. New accounts on a business email start with 100 free credits, and failed requests are never charged.
More YouTube endpoints
The same API key works on every endpoint. See all YouTube Transcript API endpoints.
- YouTube Community Posts API→YouTube community posts API: list a channel’s posts with text, images, polls, attached videos, likes and comment counts, newest first, as JSON.
- YouTube Video and Transcript API→YouTube transcript API: get any video’s timed transcript plus title, description, channel, duration, views, likes and keywords from its link, as JSON.
- YouTube Transcript API→YouTube transcript API: get any video’s timed transcript in any of its caption languages, with every caption track it has, as JSON.
- YouTube Subtitles API→YouTube subtitles API: download any video’s captions as an SRT or WebVTT subtitle file, in any of its caption languages.
Try the YouTube Community Post API
100 free credits on business email, no card. Your first call takes a minute.