Tous les sites
Data API
YouTube Data API
Vidéos, chaînes, playlists, commentaires et recherche sur YouTube.
38 endpointsLimite de débit pris en charge pour vous
Exemple (capturé en direct) Ouvrir le playground
youtube.com
ExempleRéponse JSONcliquez sur la page pour tracer un champ
{
"title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
"author_name": "Rick Astley",
"author_url": "https://www.youtube.com/@RickAstleyYT",
"type": "video",
"height": 113,
"width": 200,
"version": "1.0",
"provider_name": "YouTube",
"provider_url": "https://www.youtube.com/",
"thumbnail_height": 360,
"thumbnail_width": 480,
"thumbnail_url": "https://i.ytimg.com/vi/dQw4w9WgXcQ/hqdefault.jpg",
"html": "<iframe width="200" height="113" src="https://www.youtube.com/embed/dQw4w9WgXcQ?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen title="Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)"></iframe>"
}
GET
/v1/youtube/oembed1 crédit / exécution VérifiéoEmbed
Public oEmbed metadata for a URL.
Pris en charge pour vous :Limite de débit
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| url | string | oui | YouTube video/playlist URL. |