---
title: "Youtube Transcript"
method: GET
path: "/youtube/transcript"
tags: ["YouTube"]
---

# Youtube Transcript

`GET /youtube/transcript`

## Request

- Base URL: `https://api.fetchfox.net`
- URL: `https://api.fetchfox.net/youtube/transcript`
- Auth: API key in header `x-access-key`

Extract the full transcript (with timestamps) from a YouTube video or Short.

## Query parameters

- `url` string, required
- `access_key` string
- `no_cache` boolean

## Response `200`

Transcript extracted successfully

- object: Transcript extracted successfully
  - `success` boolean, required
  - `data` object, required
    - `url` string
    - `videoId` string
    - `transcript` string: Full plain-text transcript
    - `transcriptSegments` object[]
      - `text` string
      - `start` number
      - `duration` number
      - `timestamp` string
    - `wordCount` integer
    - `segments` integer
    - `language` string
    - `durationSeconds` number
    - `creditsUsed` number

## Other responses

- `400`: Invalid or missing request input
- `401`: Access key is missing
- `403`: Access key is invalid or the project has insufficient credits
- `404`: Content not found or unavailable
- `422`: Unsupported input or documented media restriction
- `429`: Project rate limit exceeded
- `500`: Internal server error
- `502`: Upstream query rejected or malformed response
- `503`: Upstream service temporarily unavailable; retry later
- `504`: Extraction or upstream operation timed out

---

[API](https://skmtc.dev/fetchfox/apis/project-api.md) · [All operations](https://skmtc.dev/fetchfox/apis/project-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fetchfox/apis/project-api/revisions/b664f61ca9f3?raw)
