Zum Inhalt springen
GET /v1/videos/title

Video title

Nur der Video-Title.

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

Beispiel-Response

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

{
    "data": {
        "title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
        "video_id": "dQw4w9WgXcQ"
    },
    "meta": {
        "timestamp": "2026-05-04T13:59:36.184Z",
        "request_id": "c56139a7-ef4a-4ecf-9ab0-15234fc6339e"
    },
    "status": "ok",
    "message": "Video title retrieved successfully",
    "success": true
}