JSON endpoints served from GitHub Pages. No authentication, no rate limits, no server. Fetch game assets directly from the CDN.
125 SVG sets across chess, shogi, xiangqi, Go, draughts, and backgammon.
/api/pieces/index.json
335 rendered SVG diagrams spanning 34 game families.
/api/boards/index.json
11 hex tile sets for strategy maps and terrain generation.
/api/tiles/index.json
1,849 puzzles across 10 game families, with positions, solutions, licences and difficulty measured by the engine's own AI.
/api/puzzles/index.json
https://engine.moddable.games/api/index.json
Discovery index (this page as JSON)
https://engine.moddable.games/api/pieces/index.json
All piece set metadata
https://engine.moddable.games/api/boards/index.json
All board diagram metadata
https://engine.moddable.games/api/tiles/index.json
All tile set metadata
https://engine.moddable.games/api/puzzles/index.json
All chess puzzles (standard + variants)
https://engine.moddable.games/boards/svgs/{id}.svg
Individual board SVG by ID
https://engine.moddable.games/pieces/sets/{set}/
Individual piece set directory
// Fetch the discovery index
const api = await fetch('https://engine.moddable.games/api/index.json')
.then(r => r.json());
// List all piece sets
const pieces = await fetch('https://engine.moddable.games/api/pieces/index.json')
.then(r => r.json());
// Get a specific board SVG
const svg = await fetch('https://engine.moddable.games/boards/svgs/chess-standard.svg')
.then(r => r.text());