/v1/utils/video-url
Video URL from ID
Baut die Video-URL aus einer Video-ID.
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/twitch-api/v1/utils/video-url" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/twitch-api/v1/utils/video-url", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/twitch-api/v1/utils/video-url");
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/utils/video-url",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"video_id": "2759025179",
"video_url": "https://www.twitch.tv/videos/2759025179"
},
"meta": {
"timestamp": "2026-05-04T18:46:33.858Z",
"request_id": "4299f136-3ac5-480d-b19d-8cc27c0d45c6"
},
"status": "ok",
"message": "Video URL retrieved successfully",
"success": true
}