YOUTUBE TRANSCRIPT API

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
Terminal
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"
}'
[ REQUEST AND RESPONSE ]

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

200 OK · application/json
{
"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
}
}
}
[ USE CASES ]

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.

[ FAQ ]

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.

Try the YouTube Community Post API

100 free credits on business email, no card. Your first call takes a minute.

APIMCPSDKCLI
free credits

On business email signup. No credit card required.

Start free with 100 credits