Zum Inhalt springen
GET /v1/videos/latest

Latest video

Neuestes Video eines Channels.

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "login": "ninja",
        "video": {
            "id": "2759025179",
            "title": "New map, new update, :D",
            "video_url": "https://www.twitch.tv/videos/2759025179",
            "created_at": "2026-04-28T11:14:21Z",
            "view_count": 114915,
            "channel_url": "https://www.twitch.tv/ninja",
            "thumbnail_url": "https://static-cdn.jtvnw.net/cf_vods/d1m7jfoe9zdc1j/a73bd777ee1ab91144e3_ninja_319118075099_1777374856//thumb/thumb0-320x180.jpg",
            "length_seconds": 11967
        }
    },
    "meta": {
        "timestamp": "2026-05-04T18:46:30.662Z",
        "request_id": "07ef5ec5-7718-4cbd-ab6e-7e77d7e6520c"
    },
    "status": "ok",
    "message": "Latest video retrieved successfully",
    "success": true
}