Skip to content
GET /v1/identify

Identify the opening from a move sequence

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/chessopenings-api

It works. Grab an API key and use it in your project.

Get an API key

Code 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_..."}
)

Example response

A real response from this endpoint, captured by the latest 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
}