← API Store
Social
YouTube
YouTube
YouTube video formats and download links
GET /youtube/v1/video/formatsStream links are signed by YouTube, expire after expires_in_seconds (about 6 hours) and only play from the address that requested them; a stream that needs signature deciphering is returned with url null and cipher_required true. Age-restricted, members-only and offline live videos come back with playability and reason and no formats.
Every response includes credits_used: the credits this call cost.
Each call costs 1 credits; failed calls are free. Run it in the console playground to see a live result.
Parameters
| Name | Type | Description |
|---|---|---|
idrequired | string | Video id or any YouTube video URL (watch, youtu.be, shorts, embed, live). Example: dQw4w9WgXcQ |
Every endpoint also takes: raw、fields、fresh、output、records
No sample yet
This endpoint has no published sample. Use “Test this endpoint” to run it in the console playground.