Skip to content
GET /v1/solve

Solve a puzzle

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/sudoku-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/sudoku-api/v1/solve" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/sudoku-api/v1/solve", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/sudoku-api/v1/solve");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/sudoku-api/v1/solve",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "solved": true,
        "unique": true,
        "solution": "534678912672195348198342567859761423426853791713924856961537284287419635345286179",
        "given_clues": 30,
        "solution_grid": [
            [
                5,
                3,
                4,
                6,
                7,
                8,
                9,
                1,
                2
            ],
            [
                6,
                7,
                2,
                1,
                9,
                5,
                3,
                4,
                8
            ],
            [
                1,
                9,
                8,
                3,
                4,
                2,
                5,
                6,
                7
            ],
            [
                8,
                5,
                9,
                7,
                6,
                1,
                4,
                2,
                3
            ],
            [
                4,
                2,
                6,
                8,
                5,
                3,
                7,
                9,
                1
            ],
            [
                7,
                1,
                3,
                9,
                2,
                4,
                8,
                5,
                6
            ],
            [
                9,
                6,
                1,
                5,
                3,
                7,
                2,
                8,
                4
            ],
            [
                2,
                8,
                7,
                4,
                1,
                9,
                6,
                3,
                5
            ],
            [
                3,
                4,
                5,
                2,
                8,
                6,
                1,
                7,
                9
            ]
        ]
    },
    "meta": {
        "timestamp": "2026-05-30T18:17:11.795Z",
        "request_id": "34f0d438-8bcd-464f-923f-dfc60590a2bc"
    },
    "status": "ok",
    "message": "OK",
    "success": true
}