JSON endpoints served from GitHub Pages. No authentication, no rate limits, no server. Fetch game assets directly from the CDN.
115 SVG sets across chess, shogi, xiangqi, Go, draughts, and backgammon.
/api/pieces/index.json
333 rendered SVG diagrams spanning 42 game families.
/api/boards/index.json
7 hex tile sets for strategy maps and terrain generation.
/api/tiles/index.json
1,557 tactical puzzles with FEN positions, solutions, and difficulty ratings.
/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());