API para Google: Vídeos
Busque resultados de vídeo no Google (YouTube e outros) com título, link, miniatura e fonte.
US$ 0,85/mil req., pague por requisição, sem assinatura.
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}
Preços e provedores
Preços do endpoint Vídeos da API para Google: uma API, 2 provedores intercambiáveis
O provedor mais barato atende primeiro. Se ele falhar, o próximo assume na mesma chamada.
Teste
Obtenha Vídeos do Google em uma só requisição
Este exemplo mostra 10 de 11 campos. Ver todos os campos
{
"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
}
]
}
}Referência completa de parâmetros e resposta - todos os campos, tipos e exemplos deste endpoint.
Referência
Uma requisição, um formato de resposta.
Cada campo que você envia e cada campo que você recebe, cada um com um exemplo real.
Última verificação em 2026-11-14 · disponibilidade e latência medidas em 30d
Corpo da requisição
JSON, enviado via POST para este endpoint.
- querystring
lofi hip hop
A consulta de busca de vídeos.
- autocorrectboolean
Liga ou desliga a correção ortográfica automática do Google (padrão true). Defina false para buscar a consulta exata, sem correção.
- glstring
us
Código de país de duas letras para localizar os resultados (ex.: us, gb, de).
- hlstring
en
Código de idioma de duas letras da interface e dos resultados (ex.: en, es, de).
- locationstring
Localização detalhada para localizar os resultados, informada como uma string canônica de localização do Google (ex.: 'New York, United States', 'London, United Kingdom'). Mais específica que o gl, que é por país.
- 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
Restringe os resultados a uma janela de tempo recente: 1h, 1d, 7d, 1y ou all. Padrão all (sem restrição de tempo).
Resposta
JSON, um valor de exemplo por campo.
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.
- sourcestringpode ser exigido
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.
Dúvidas frequentes
Sobre o endpoint Vídeos da API para Google
O endpoint Vídeos da AnyAPI para Google retorna dados de Google em JSON normalizado com uma chamada POST para /v1/run/google.videos. Busque resultados de vídeo no Google (YouTube e outros) com título, link, miniatura e fonte. A AnyAPI distribui cada requisição entre 2 fontes, com failover automático quando uma falha. Custa a partir de US$ 0,85 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 100,0% das chamadas ao endpoint Vídeos da API para Google feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 7,1 segundos, em 50 chamadas medidas.