API de Google: Videos
Busca resultados de video en Google (YouTube y otros) con título, enlace, miniatura y fuente.
US$0.85/1k solic., pagas por solicitud, sin suscripción.
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}
Precios y proveedores
Precios del endpoint Videos de la API de Google: una API, 2 proveedores intercambiables
El proveedor más barato responde primero. Si falla, el siguiente toma el relevo en la misma llamada.
Pruébalo
Obtén Videos de Google en una sola solicitud
Este ejemplo muestra 10 de 11 campos. Ver todos los 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
}
]
}
}Referencia completa de parámetros y respuesta: cada campo, tipo y ejemplo de este endpoint.
Referencia
Una solicitud, un formato de respuesta.
Cada campo que envías y cada campo que recibes, cada uno con un ejemplo real.
Verificado por última vez el 2026-11-14 · disponibilidad y latencia medidas en 30d
Cuerpo de la solicitud
JSON, enviado por POST a este endpoint.
- querystring
lofi hip hop
La consulta de búsqueda de videos.
- autocorrectboolean
Activa o desactiva la autocorrección ortográfica de Google (predeterminado true). Usa false para buscar la consulta exacta sin corrección.
- glstring
us
Código de país de dos letras para localizar los resultados (p. ej., us, gb, de).
- hlstring
en
Código de idioma de dos letras para la interfaz y los resultados (p. ej., en, es, de).
- locationstring
Ubicación detallada para localizar los resultados, dada como una cadena de ubicación canónica de Google (p. ej., 'New York, United States', 'London, United Kingdom'). Más específica que el gl a nivel de 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 los resultados a un periodo reciente: 1h, 1d, 7d, 1y o all. Predeterminado all (sin restricción de tiempo).
Respuesta
JSON, un valor de ejemplo 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.
- sourcestringse puede exigir
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.
Preguntas frecuentes
Acerca del endpoint Videos de la API de Google
El endpoint Videos de AnyAPI para Google devuelve datos de Google como JSON normalizado con una sola llamada POST a /v1/run/google.videos. Busca resultados de video en Google (YouTube y otros) con título, enlace, miniatura y fuente. AnyAPI enruta cada solicitud entre 2 fuentes y recurre automáticamente a otra cuando una falla. Cuesta desde US$0.85 por cada 1,000 solicitudes, en dólares estadounidenses, sin suscripción y sin mínimo mensual. En los últimos 30 días, el 100.0% de las llamadas al endpoint Videos de la API de Google a través de AnyAPI tuvo éxito, con un tiempo de respuesta mediano de 7.1 segundos en 50 llamadas medidas.