API di Google

Google Video API

Cerca su Google risultati video (YouTube e altri) con titolo, link, miniatura e fonte.

0,85 USD/1k richieste, paghi a richiesta, nessun abbonamento.

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.

Cosa ha restituito l'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
}
Disponibilità
100,00%
30d · 82 chiamate
Richieste
82
30 g · settimanale, ultime 12 sett.
Risposta
7,2s
mediana · 30d

Prezzi e provider

Prezzi dell'API Google Video: una sola API, 2 provider intercambiabili

Serve per primo il provider più economico. Se fallisce, subentra il successivo nella stessa chiamata.

Paghi
8,50 USD
0,85 USD/1k richieste, solo per ciò che usi. Nessun piano mensile.
Le tue prime 117 richieste sono gratuite con il saldo iniziale di 0,10 USD.

Provalo

Ottieni Google Video in una sola richiesta

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.
Apri in
Risposta di esempio
Le esecuzioni gratuite restituiscono solo i primi 3 risultati. Ricarica una chiave per ottenere la risposta completa.

Questo esempio mostra 10 campi su 11. Vedi tutti i campi

{
  "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
      }
    ]
  }
}

Riferimento completo di parametri e risposta - ogni campo, tipo ed esempio per questo endpoint.

Riferimento

Una richiesta, una sola forma di risposta.

Ogni campo che invii e ogni campo che ricevi, ciascuno con un esempio reale.

Ultima verifica 2026-11-21 · disponibilità e latenza misurate su 30d

Corpo della richiesta

JSON, inviato a questo endpoint.

  • querystring

    lofi hip hop

    Query di ricerca video.

  • autocorrectboolean

    Attiva o disattiva la correzione ortografica automatica di Google (predefinito true). Imposta false per cercare la query esatta senza correzione.

  • glstring

    us

    Codice paese di due lettere per la localizzazione dei risultati (es. us, gb, de).

  • hlstring

    en

    Codice lingua di due lettere per interfaccia e risultati (es. en, es, de).

  • locationstring

    Località dettagliata per localizzare i risultati, indicata come stringa di località canonica di Google (es. 'New York, United States', 'London, United Kingdom'). Più specifica del gl a livello di paese.

  • 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

    Limita i risultati a una finestra di tempo recente: 1h, 1d, 7d, 1y o all. Il valore predefinito è all (nessuna restrizione di tempo).

Tu invii. Un piccolo corpo JSON. I valori mostrati sono esempi da sostituire con i tuoi.

Risposta

JSON, un valore di esempio per 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.

  • sourcestringpuò richiedere

    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.

Tu ricevi. Campi con nome e tipo nella stessa struttura, qualunque fonte risponda.

FAQ

Sull'API Google Video

L'API Google Video di AnyAPI restituisce dati Google come JSON normalizzato da una sola chiamata POST a /v1/run/google.videos. Cerca su Google risultati video (YouTube e altri) con titolo, link, miniatura e fonte. AnyAPI instrada ogni richiesta su 2 fonti e passa automaticamente a un'altra quando una fallisce. Costa da 0,85 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Negli ultimi 30 giorni, il 100,0% delle chiamate Google Video tramite AnyAPI è riuscito, con un tempo di risposta mediano di 7,2 secondi su 82 chiamate misurate.

Costa da 0,85 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Ricarichi un portafoglio in USD e ogni chiamata lo scala. Alcune richieste fallite finanziate dal portafoglio comportano costi di elaborazione che trasferiamo al costo, senza ricarico; la risposta di errore mostra l'importo addebitato.

Cerca su Google risultati video (YouTube e altri) con titolo, link, miniatura e fonte. La risposta è JSON normalizzato con la stessa busta che restituisce ogni endpoint AnyAPI, quindi analizzare un secondo endpoint significa cambiare l'URL e nient'altro.

Negli ultimi 30 giorni, il 100,0% delle chiamate Google Video tramite AnyAPI è riuscito, con un tempo di risposta mediano di 7,2 secondi su 82 chiamate misurate. Sono misurazioni di AnyAPI sul traffico che passa dal gateway, ricalcolate di continuo, non un obiettivo di livello di servizio pubblicato.

Sì. Un nuovo account AnyAPI parte con 0,10 USD di saldo gratuito e senza bisogno di carta, che copre 117 chiamate Google Video a 0,00085 USD ciascuna.

AnyAPI interroga la successiva delle sue 2 fonti nella stessa richiesta, partendo dalla più economica, quindi una fonte che cade non fa fallire la tua chiamata.

Invia una richiesta POST a https://api.getanyapi.com/v1/run/google.videos con la tua chiave AnyAPI in un header "Authorization: Bearer" e l'input come corpo JSON. La stessa chiave e lo stesso portafoglio funzionano su ogni endpoint AnyAPI.

No. Aggiungi dollari statunitensi a un unico saldo prepagato AnyAPI e ogni richiesta lo scala. Non c'è un piano mensile né un minimo, e lo stesso saldo paga ogni endpoint AnyAPI.

Sì. Installa @getanyapi/sdk da npm per TypeScript o getanyapi da pip per Python. Entrambi chiamano ogni endpoint AnyAPI con la stessa chiave, e funziona anche qualsiasi client HTTP.

Sì. Un agente può collegarsi al server MCP di AnyAPI su https://api.getanyapi.com/mcp, oppure creare da solo la propria chiave di prova gratuita con un POST non autenticato a https://api.getanyapi.com/agent/signup e chiamare questo endpoint via HTTP.