Google Видео API
Ищет в Google видеорезультаты (YouTube и другие) с названием, ссылкой, миниатюрой и источником.
0,85 USD/1 тыс. запросов, оплата за запрос, без подписки.
YouTube
lofi hip hop radio - beats to relax/study to
24/7 livestream of chill lofi hip hop beats, perfect for studying, working, or relaxing.
YouTube
Lofi Hip Hop Mix - 1 Hour of Chill Beats
A one hour mix of smooth lofi hip hop tracks with soft piano and vinyl crackle.
Vimeo
Best Lofi Hip Hop Playlist for Coding
A curated playlist of lofi hip hop tracks selected for focus sessions and late night coding.
{"title": "lofi hip hop radio - beats to relax/study to","link": "https://www.youtube.com/watch?v=jfKfPfyJRdk","snippet": "24/7 livestream of chill lofi hip hop beats, perfect for studying, working, or relaxing.","image": "https://i.ytimg.com/vi/jfKfPfyJRdk/hqdefault.jpg","source": "YouTube","position": 1}
Цены и поставщики
Цена API Google Видео: один API, поставщиков 2, и любой может заменить другого
Первым обслуживает самый дешёвый поставщик. Если он не отвечает, его заменяет следующий в том же вызове.
Попробовать
Получите Google Видео одним запросом
В этом примере показано полей: 10 из 11. Все поля
{
"found": true,
"data": {
"query": "lofi hip hop",
"results": [
{
"title": "lofi hip hop radio - beats to relax/study to",
"link": "https://www.youtube.com/watch?v=jfKfPfyJRdk",
"snippet": "24/7 livestream of chill lofi hip hop beats, perfect for studying, working, or relaxing.",
"image": "https://i.ytimg.com/vi/jfKfPfyJRdk/hqdefault.jpg",
"source": "YouTube",
"position": 1
},
{
"title": "Lofi Hip Hop Mix - 1 Hour of Chill Beats",
"link": "https://www.youtube.com/watch?v=5qap5aO4i9A",
"snippet": "A one hour mix of smooth lofi hip hop tracks with soft piano and vinyl crackle.",
"image": "https://i.ytimg.com/vi/5qap5aO4i9A/hqdefault.jpg",
"source": "YouTube",
"position": 2
},
{
"title": "Best Lofi Hip Hop Playlist for Coding",
"link": "https://vimeo.com/example/lofi-coding-playlist",
"snippet": "A curated playlist of lofi hip hop tracks selected for focus sessions and late night coding.",
"image": "https://i.vimeocdn.com/video/example-thumb.jpg",
"source": "Vimeo",
"position": 3
}
]
}
}Полный справочник по параметрам и ответу: каждое поле, тип и пример для этого эндпоинта.
Справочник
Один запрос, один формат ответа.
Каждое поле, которое вы отправляете, и каждое поле, которое получаете, с реальным примером.
Проверено 2026-11-21 · доступность и задержка измерены за 30d
Тело запроса
JSON, отправляется на этот эндпоинт.
- querystring
lofi hip hop
Поисковый запрос для видео.
- autocorrectboolean
Включить или выключить автоисправление опечаток Google (по умолчанию true). Передайте false, чтобы искать точный запрос без исправления.
- glstring
us
Двухбуквенный код страны для локализации результатов (например, us, gb, de).
- hlstring
en
Двухбуквенный код языка интерфейса и результатов (например, en, es, de).
- locationstring
Точное местоположение для локализации результатов в виде канонической строки Google (например, 'New York, United States', 'London, United Kingdom'). Конкретнее, чем gl на уровне страны.
- requireFieldsarray
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `source`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a record that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
- timeframeenum
Ограничить результаты недавним временным окном: 1h, 1d, 7d, 1y или all. По умолчанию all (без ограничения по времени).
Ответ
JSON, по одному примеру значения на поле.
Result payload, or null when nothing was found.
- querystring
lofi hip hop
The query that was searched.
Video result records. Populated whenever the provider has data for the entity.
- imagestring
https://i.ytimg.com/vi/jfKfPfyJRdk/hqdefault.jpg
Thumbnail image URL for the video.
- linkstring
https://www.youtube.com/watch?v=jfKfPfyJRdk
URL to the video. When Google withholds the destination this is a Google redirect link (google.com/goto?url=...), which google.resolve_links turns into the destination URL. Populated whenever the provider has data for the entity.
- positioninteger
1
1-based rank in the result list.
- snippetstring
24/7 livestream of chill lofi hip hop beats, perfect for studying, working, or relaxing.
Short description snippet.
- sourcestringможет потребовать
YouTube
Host platform (e.g. YouTube, Vimeo).
- titlestring
lofi hip hop radio - beats to relax/study to
Video title. Populated whenever the provider has data for the entity.
- foundboolean
true
True when at least one video result was returned.
- reason"not_found"
Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
Вопросы и ответы
Об API Google Видео
AnyAPI Google Видео API возвращает данные Google в виде нормализованного JSON одним вызовом POST к /v1/run/google.videos. Ищет в Google видеорезультаты (YouTube и другие) с названием, ссылкой, миниатюрой и источником. AnyAPI направляет каждый запрос по источникам (их 2) и автоматически переключается, если один из них отказывает. Это стоит от 0,85 USD за 1000 запросов, в долларах США, без подписки и без ежемесячного минимума. За последние 30 дней 100,0% вызовов Google Видео через AnyAPI завершились успешно, медианное время ответа 7,2 с, измерено вызовов: 82.