Zum Inhalt springen
GET /v1/videos/detail

Video detail

Detail-Daten zu einem Video.

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/youtube-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/youtube-api/v1/videos/detail" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/youtube-api/v1/videos/detail", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/youtube-api/v1/videos/detail");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/youtube-api/v1/videos/detail",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "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>",
        "type": "video",
        "title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
        "width": 200,
        "height": 113,
        "video_id": "dQw4w9WgXcQ",
        "author_url": "https://www.youtube.com/@RickAstleyYT",
        "author_name": "Rick Astley",
        "provider_url": "https://www.youtube.com/",
        "provider_name": "YouTube",
        "thumbnail_url": "https://i.ytimg.com/vi/dQw4w9WgXcQ/hqdefault.jpg",
        "thumbnail_width": 480,
        "thumbnail_height": 360
    },
    "meta": {
        "timestamp": "2026-05-04T13:59:36.081Z",
        "request_id": "a0180734-8e84-4da0-920c-b7774c498f29"
    },
    "status": "ok",
    "message": "Video detail retrieved successfully",
    "success": true
}