Naar de inhoud
GET /v1/videos/detail

Video detail

Detail-Daten zu einem Video.

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/youtube-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}