API de Google

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.

lofi hip hop - Google Search
google.com/search?q=lofi+hip+hop&tbm=vid
Google
lofi hip hop
AllImagesVideosNewsShoppingTools

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.

Lo que devolvió la APIresults[0]
{
"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
}
Disponibilidad
100.00%
30d · 50 llamadas
Solicitudes
50
30d · semanal, últimas 12 sem.
Respuesta
7.1s
mediana · 30d

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.

Pagas
US$8.50
US$0.85/1k solic., solo por lo que usas. Sin plan mensual.
Tus primeras 117 solicitudes son gratis con el saldo inicial de US$0.10.

Pruébalo

Obtén Videos de Google en una sola solicitud

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.
Abrir en
Respuesta de ejemplo
Las ejecuciones gratis devuelven solo los primeros 3 resultados. Agrega fondos a una clave para obtener la respuesta completa.

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).

Envías. Un cuerpo JSON pequeño. Los valores que se muestran son ejemplos para reemplazar por los tuyos.

Respuesta

JSON, un valor de ejemplo por campo.

datadata

Result payload, or null when nothing was found.

  • querystring

    lofi hip hop

    The query that was searched.

each resultdata.results[]

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.

top level
  • 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.

Recibes. Campos con nombre y tipo, con el mismo formato sin importar qué fuente responda.

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.

Cuesta desde US$0.85 por cada 1,000 solicitudes, en dólares estadounidenses, sin suscripción y sin mínimo mensual. Agregas fondos a una billetera en dólares y cada llamada descuenta de ella. Algunas solicitudes fallidas pagadas con la billetera generan cargos de procesamiento que trasladamos al costo, sin margen; la respuesta de error muestra el monto cobrado.

Busca resultados de video en Google (YouTube y otros) con título, enlace, miniatura y fuente. La respuesta es JSON normalizado con el mismo envoltorio que devuelve cada endpoint de AnyAPI, así que procesar un segundo endpoint es solo cambiar la URL.

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. Estas son mediciones propias de AnyAPI sobre el tráfico que pasa por el gateway, recalculadas continuamente, no un objetivo de nivel de servicio publicado.

Sí. Una cuenta nueva de AnyAPI empieza con US$0.10 de saldo gratis, sin tarjeta, que alcanza para 117 llamadas a Videos de Google a US$0.00085 cada una.

AnyAPI consulta la siguiente de sus 2 fuentes en la misma solicitud, empezando por la más barata, así que la caída de una fuente no hace fallar tu llamada.

Envía una solicitud POST a https://api.getanyapi.com/v1/run/google.videos con tu clave de AnyAPI en un encabezado "Authorization: Bearer" y la entrada como cuerpo JSON. La misma clave y la misma billetera sirven para todos los endpoints de AnyAPI.

No. Agregas dólares a un solo saldo prepagado de AnyAPI y cada solicitud descuenta de él. No hay plan mensual ni mínimo, y el mismo saldo paga todos los endpoints de AnyAPI.

Sí. Instala @getanyapi/sdk desde npm para TypeScript o getanyapi desde pip para Python. Ambos llaman a todos los endpoints de AnyAPI con la misma clave, y también sirve cualquier cliente HTTP.

Sí. Un agente puede conectarse al servidor MCP de AnyAPI en https://api.getanyapi.com/mcp, o crear su propia clave de prueba gratis con un solo POST sin autenticar a https://api.getanyapi.com/agent/signup y llamar a este endpoint por HTTP.