chess-puzzle-api

Random chess puzzles by rating and theme. No key required.

3,128,032puzzles
73tactical themes
CC0public domain data

Try it

curl "https://chess.mauriulloa.com/v1/puzzles/random?rating=1500&themes=fork"

You get the position, its rating and its themes — but not the answer. Ask for that separately with /v1/puzzles/{id}/solution.

For people

For code

For language models