Developer Resources

Static API

JSON endpoints served from GitHub Pages. No authentication, no rate limits, no server. Fetch game assets directly from the CDN.

115 Piece Sets
333 Board Diagrams
7 Tile Sets
1,557 Chess Puzzles

Endpoints

URL Patterns

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

Usage

// 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());