---
title: "How do I get YouTube transcripts with an API?"
description: "Why the YouTube Data API can’t download transcripts of other people’s videos, and how to get them with one call."
canonical_url: https://groundsocial.dev/answers/youtube-transcript-api
---
# How do I get YouTube transcripts with an API?

> Why the YouTube Data API can’t download transcripts of other people’s videos, and how to get them with one call.

_Updated 2026-11-27._

> **Short answer** Not from the official API unless you own the video: `captions.download` requires permission to edit the video and costs 200 quota units. For other people’s public videos you need a third-party API that reads the transcript YouTube shows on the page.

- `captions.download` needs the `youtube.force-ssl` or `youtubepartner` scope and a user who can edit the video.
- It costs 200 units of the 10,000 a day, so even for your own channel that is 50 downloads a day.
- `captions.list` (50 units) tells you which tracks exist, not their text.

## How to do it with Groundsocial

`youtube.video.transcript` returns the transcript of any public video with timestamps for 2 credits; or up to 10 videos in one `youtube.video.transcript_batch` call. TikTok, X and Reddit videos have transcript endpoints too. A credit costs $1.00 to $0.40 per 1,000 depending on the pack, failed calls are refunded, and there are 100 free credits on signup, no card.

cURL:

```bash
curl "https://api.groundsocial.dev/v1/youtube/videos/dQw4w9WgXcQ/transcript?language=en" \
  -H "Authorization: Bearer $GROUNDSOCIAL_API_KEY"
```

TypeScript:

```ts
const res = await fetch('https://api.groundsocial.dev/v1/youtube/videos/dQw4w9WgXcQ/transcript?language=en', {
  headers: { Authorization: `Bearer ${process.env.GROUNDSOCIAL_API_KEY}` },
})
if (!res.ok) throw new Error((await res.json()).error.hint)
const data = await res.json()
```

Python:

```python
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/youtube/videos/dQw4w9WgXcQ/transcript?language=en",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
```

| Endpoint | Route | Credits |
| --- | --- | --- |
| [YouTube transcript API](https://groundsocial.dev/endpoints/youtube-transcript-api) | `/v1/youtube/videos/{id}/transcript` | 2 |
| [YouTube bulk transcripts API](https://groundsocial.dev/endpoints/youtube-transcripts-batch-api) | `/v1/youtube/transcripts/batch` | 15 |
| [YouTube subtitles download API](https://groundsocial.dev/endpoints/youtube-subtitles-api) | `/v1/youtube/videos/{id}/subtitles` | 2 |

## More questions

### What if a video has no captions?

Then there is no transcript to read: the call answers `404 target_not_found` and is never charged.

## Related

- [Video transcript API](https://groundsocial.dev/use-cases/video-transcript-api)
- [What is the YouTube API quota limit?](https://groundsocial.dev/answers/youtube-api-quota-limit)

## Sources

- [YouTube Data API: captions.download](https://developers.google.com/youtube/v3/docs/captions/download)
- [YouTube Data API: quota costs](https://developers.google.com/youtube/v3/determine_quota_cost)

Checked 27 Nov 2026. Follow the links for the latest.

YouTube is a trademark of Google LLC. We are not affiliated with or endorsed by Google or YouTube.

_Canonical HTML: https://groundsocial.dev/answers/youtube-transcript-api_

## Site Navigation

### Global Hub
- [Home](https://groundsocial.dev/index.md)
- [Pricing](https://groundsocial.dev/pricing.md)
- [Endpoints](https://groundsocial.dev/endpoints.md)
- [For agents](https://groundsocial.dev/agents.md)
- [Docs](https://groundsocial.dev/docs.md)
- [Compare](https://groundsocial.dev/compare.md)
- [Blog](https://groundsocial.dev/blog.md)
- [Tutorials](https://groundsocial.dev/tutorials.md)
- [Changelog](https://groundsocial.dev/changelog.md)
- [llms.txt](https://groundsocial.dev/llms.txt)
- [Agent skill](https://groundsocial.dev/SKILL.md)

### On This Topic
- [Groundsocial: Social data in one API call](https://groundsocial.dev/index.md)
- [Pricing](https://groundsocial.dev/pricing.md)
- [Playground](https://groundsocial.dev/playground.md)
- [Use cases](https://groundsocial.dev/use-cases.md)
- [Brand monitoring API](https://groundsocial.dev/use-cases/brand-monitoring-api.md)
- [Social listening API](https://groundsocial.dev/use-cases/social-listening-api.md)
- [Comment scraping API](https://groundsocial.dev/use-cases/comment-scraping-api.md)
- [Influencer discovery API](https://groundsocial.dev/use-cases/influencer-discovery-api.md)
- [Video transcript API](https://groundsocial.dev/use-cases/video-transcript-api.md)
- [Ad library API](https://groundsocial.dev/use-cases/ad-library-api.md)
- [Review monitoring API](https://groundsocial.dev/use-cases/review-monitoring-api.md)
- [Trend detection API](https://groundsocial.dev/use-cases/trend-detection-api.md)
- [Social lead generation API](https://groundsocial.dev/use-cases/lead-generation-api.md)
- [Market research API](https://groundsocial.dev/use-cases/market-research-api.md)

## Structured data

```json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://groundsocial.dev/"},{"@type":"ListItem","position":2,"name":"Answers","item":"https://groundsocial.dev/answers"},{"@type":"ListItem","position":3,"name":"How do I get YouTube transcripts with an API?","item":"https://groundsocial.dev/answers/youtube-transcript-api"}]}
```
