Naar de inhoud
GET /v1/channels/latest-video

Latest video

Neuestes Video eines Channels (kompakt).

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/channels/latest-video" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/youtube-api/v1/channels/latest-video", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/youtube-api/v1/channels/latest-video");
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/channels/latest-video",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "video": {
            "title": "Asking My Fiancée on a Date",
            "updated": "2026-05-04T02:54:12+00:00",
            "video_id": "feu5PQvoCiA",
            "published": "2026-05-03T16:00:11+00:00",
            "thumbnail": "https://i3.ytimg.com/vi/feu5PQvoCiA/hqdefault.jpg",
            "watch_url": "https://www.youtube.com/shorts/feu5PQvoCiA",
            "channel_id": "UCX6OQ3DkcsbYNE6H8uQQuVA",
            "view_count": "3497091",
            "author_name": "MrBeast",
            "description": null
        },
        "channel_id": "UCX6OQ3DkcsbYNE6H8uQQuVA"
    },
    "meta": {
        "timestamp": "2026-05-04T13:59:37.386Z",
        "request_id": "5afee988-dd3d-45dc-afd0-e2233a20184a"
    },
    "status": "ok",
    "message": "Latest video retrieved successfully",
    "success": true
}