Setup
Put them in your environment or
.env; Data APIs covers the other ways.
Notes
- Billed in credits; every response carries an x-billable-requests header with the credits it used (on a 202 job answer it is a precharge estimate, reconciled when the job finishes). Polling a job is free.
- Transcript, extract and crawl can answer 202 with a jobId instead of a result: poll the matching job endpoint until it is done.
- Transcript chunks give offset and duration in milliseconds.
- Crawl, YouTube batch jobs, playlist and channel metadata and transcript translation are in the API but not in this entry.
Endpoints
Get a video transcript
- 1 credit for a native transcript; 2 credits per minute of video for a generated one. A 206 (transcript unavailable) still costs 1 credit. Use mode=native to avoid AI generation costs.
- A long video answers 202 with a jobId; poll supadata.transcript.job.
Get a transcript job result
- Free.
Get media metadata
- 1 credit per call.
Search YouTube
- Without limit: 1 credit per page and a nextPageToken. With limit: ceil(limit / 20) credits.
List a YouTube channel’s video IDs
- Returns IDs only; get details with supadata.metadata.get.
Scrape a web page to Markdown
- 1 credit per call.
Map a website’s links
Extract structured data from a video
- Starts a billed job: it only produces data and changes nothing else in your account.
- A read over POST that spends credits. Asynchronous: returns a jobId; poll supadata.extract.result.
- Videos up to 3 hours and 2 GB, public only.