Google Vidéos API
Cherchez sur Google des résultats vidéo (YouTube et autres) avec titre, lien, vignette et source.
0,85 $US/1k req, paiement à la requête, sans abonnement.
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}
Tarifs et fournisseurs
Tarifs de l’API Google Vidéos : une API, 2 fournisseurs interchangeables
Le fournisseur le moins cher répond en premier. S’il échoue, le suivant prend le relais dans le même appel.
Essayer
Obtenez Google Vidéos en une requête
Cet exemple affiche 10 champs sur 11. Voir tous les champs
{
"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
}
]
}
}Référence complète des paramètres et de la réponse : chaque champ, type et exemple de cet endpoint.
Référence
Une requête, une seule forme de réponse.
Chaque champ que vous envoyez et chaque champ que vous recevez, avec un vrai exemple.
Dernière vérification : 2026-11-21 · disponibilité et latence mesurées sur 30d
Corps de la requête
JSON, envoyé à cet endpoint.
- querystring
lofi hip hop
La requête de recherche de vidéos.
- autocorrectboolean
Active ou désactive la correction orthographique automatique de Google (true par défaut). Mettez false pour chercher la requête exacte sans correction.
- glstring
us
Code pays à deux lettres pour la localisation des résultats (p. ex. us, gb, de).
- hlstring
en
Code de langue à deux lettres de l’interface et des résultats (p. ex. en, es, de).
- locationstring
Localisation fine pour localiser les résultats, donnée sous forme de chaîne canonique de lieu Google (p. ex. 'New York, United States', 'London, United Kingdom'). Plus précise que gl, qui est au niveau du pays.
- 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
Restreint les résultats à une fenêtre de temps récente : 1h, 1d, 7d, 1y ou all. all par défaut (aucune restriction de temps).
Réponse
JSON, une valeur d’exemple par champ.
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.
- sourcestringpeut exiger
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.
FAQ
À propos de l’API Google Vidéos
L’API Google Vidéos d’AnyAPI renvoie des données Google en JSON normalisé à partir d’un appel POST à /v1/run/google.videos. Cherchez sur Google des résultats vidéo (YouTube et autres) avec titre, lien, vignette et source. AnyAPI route chaque requête sur 2 sources et bascule automatiquement quand l’une échoue. Elle coûte à partir de 0,85 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel. Ces 30 derniers jours, 100,0% des appels Google Vidéos passés par AnyAPI ont réussi, avec un temps de réponse médian de 7,2 secondes, sur 82 appels mesurés.