Get a printable number puzzle
get_number_puzzleReturns an original number puzzle (Target, Cage Grid or Brick Pyramid) at easy, medium or hard, with its rules, the puzzle as JSON, an SVG image URL for printing and, optionally, the solution. Cage Grids and Pyramids have exactly one solution (solver-checked). Use it for math practice, classroom warm-ups, puzzle apps or a daily puzzle. Free tier 50 puzzles a day without a key; paid API keys (Bearer) for more.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Any text; the same type + level + seed always returns the same puzzle. Omit for a random one. | |
| type | No | target = reach a number with + - x /; cage = Latin-square cage grid (4x4 easy, 5x5 medium, 6x6 hard); pyramid = brick pyramid of sums | cage |
| daily | No | true = today's puzzle (same for everyone, changes at 00:00 UTC) | |
| level | No | easy | |
| include_solution | No |