Chess Openings API
The Encyclopaedia of Chess Openings (ECO) as an API — 3,161 named chess openings and variations with their ECO code (A00–E99), full name, family/variation and the exact move sequence (PGN and a clean move list). Search openings by name, ECO code or ECO volume; list every opening under a code (e.g. B20 → 27 Sicilian lines); pick a random opening; and — the killer feature — identify which opening a game is in from a sequence of moves (e.g. "1. e4 c5 2. Nf3" → Sicilian Defense). Ideal for chess apps, game analysis, training tools, bots and trivia. Open data from the lichess-org/chess-openings project.
api.oanor.com/chessopenings-api