/v1/identify
Identify the opening from a move sequence
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/chessopenings-api/v1/identify" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/chessopenings-api/v1/identify", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/chessopenings-api/v1/identify");
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/chessopenings-api/v1/identify",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"exact": false,
"opening": {
"eco": "B20",
"pgn": "1. e4 c5",
"ply": 2,
"name": "Sicilian Defense",
"moves": [
"e4",
"c5"
],
"family": "Sicilian Defense",
"volume": "B",
"variation": null
},
"input_ply": 3,
"matched_ply": 2
},
"meta": {
"timestamp": "2026-05-31T09:34:54.905Z",
"request_id": "4430efd6-380c-4014-ab15-5c3665121029"
},
"status": "ok",
"message": "Opening identified",
"success": true
}