Zum Inhalt springen
GET /v1/parse

Parse a subtitle file

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "cues": [
            {
                "end": "00:00:04,000",
                "text": "Hello world",
                "index": 1,
                "start": "00:00:01,000",
                "end_ms": 4000,
                "start_ms": 1000,
                "duration_ms": 3000
            }
        ],
        "count": 1,
        "format": "srt"
    },
    "meta": {
        "timestamp": "2026-06-03T17:42:20.654Z",
        "request_id": "f1597329-d875-4705-97e5-0828827585fd"
    },
    "status": "ok",
    "message": "Parse a subtitle file",
    "success": true
}