/youtube/search
GET2 credits
search youtube
paged search results with thumbnails and durations.
parameters
| name | type | description | example |
|---|---|---|---|
| queryrequired | string | what to search for | the weeknd |
| pagerequired | integer | 1-based page number | 1 |
every request carries X-Api-Key.
request
curl
curl 'https://api.fastsaver.io/v1/youtube/search?query=the%20weeknd&page=1' \
-H 'X-Api-Key: YOUR_API_KEY'raw http
http
GET https://api.fastsaver.io/v1/youtube/search?query=the%20weeknd&page=1response
response
{
"ok": true,
"page": 1,
"results": [
{
"video_id": "HgLfYfJtc8M",
"title": "The Weeknd - One Of The Girls",
"duration": "4:05",
"thumbnail": "https://i.ytimg.com/vi/HgLfYfJtc8M/mqdefault.jpg",
"thumbnail_max": "https://i.ytimg.com/vi/HgLfYfJtc8M/maxresdefault.jpg"
},
{
"video_id": "p8_ugAjWI5I",
"title": "The Weeknd - São Paulo",
"duration": "5:02",
"thumbnail": "https://i.ytimg.com/vi/p8_ugAjWI5I/mqdefault.jpg",
"thumbnail_max": "https://i.ytimg.com/vi/p8_ugAjWI5I/maxresdefault.jpg"
}
]
}try it
costs 2 credits · real callgoes straight to the api, never to us
what to search for
1-based page number
paste a key, or sign in and it fills itself