If you want a custom plan contact [[email protected]](mailto:[email protected]?subject=Custom%20Plan%20Inquiry-YTAPI)
New! Get trending music with this endpoint
GET /trending?country=global
How to Use This Api
### Main download Endpoint
* * *
# GET /dl/?videoId=videoId&quality=320&format=mp3
Example Response:
{“dlUrl”:”https://s3.amazonaws.com/…”,”status”:”ready”}
* * *
## Search API
GET /search/?query=Your search query here
Example Response:
{“contents”:\[{“videoId”:”dQw4w9WgXcQ”,”title”:”Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)”,”len”:”3:34”,”thumbnail”:”https://i.ytimg.com/vi/dQw4w9WgXcQ/mqdefault.jpg”},{“videoId”:”Aq5WXmQQooo”,”title”:”Rick Roll Link”,”len”:”0:15”,”thumbnail”:”https://i.ytimg.com/vi/Aq5WXmQQooo/mqdefault.jpg”},{“videoId”:”H8ZH\_mkfPUY”,”title”:”Rick Roll The Remakeboot”,”len”:”1:11”,”thumbnail”:”[https://i.ytimg.com/vi/H8ZH\_mkfPUY/mqdefault.jpg”}](https://i.ytimg.com/vi/H8ZH_mkfPUY/mqdefault.jpg%22%7D), … \]}
## Terms of use
This api is not affiliated in any way with youtube or google.
Follow [Youtube’s TOS](https://www.youtube.com/t/terms) and ONLY use this api to download your own content or copyright free content or with permision by content authors.