Zum Inhalt springen
GET /v1/channels/latest-video

Latest video

Neuestes Video eines Channels (kompakt).

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}