Generate custom maze puzzles complete with solution paths.
Maze Generator creates random mazes using recursive backtracking algorithm with customizable size and difficulty.
Try it — live request, no key required
No key required to try it. Get a key to use it in your app.
{
"status": "ok",
"error": null,
"data": {
"width": 15,
"height": 15,
"difficulty": "medium",
"start": {
"x": 1,
"y": 1
},
"end": {
"x": 29,
"y": 29
},
"grid": [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
],
[
1,
0,
0,
0,
1,
0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
1
],
[
1,
1,
1,
0,
1,
0,
1,
0,
1,
1,
1,
0,
1,
1,
1,
0,
1,
0,
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
1,
0,
1
],
[
1,
0,
1,
0,
0,
0,
1,
0,
0,
0,
1,
0,
1,
0,
0,
0,
1,
0,
0,
0,
0,
0,
1,
0,
1,
0,
0,
0,
1,
0,
1
],
[
1,
0,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
0,
1,
0,
1
],
[
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
0,
1,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
1,
0,
1,
0,
1
],
[
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
0,
1,
0,
1
],
[
1,
0,
0,
0,
1,
0,
0,
0,
0,
0,
1,
0,
0,
0,
1,
0,
0,
0,
1,
0,
1,
0,
0,
0,
0,
0,
0,
0,
1,
0,
1
],
[
1,
1,
1,
0,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
],
"solution": [
{
"x": 1,
"y": 1
},
{
"x": 2,
"y": 1
},
{
"x": 3,
"y": 1
},
{
"x": 3,
"y": 2
},
{
"x": 3,
"y": 3
},
{
"x": 4,
"y": 3
},
{
"x": 5,
"y": 3
},
{
"x": 5,
"y": 2
},
{
"x": 5,
"y": 1
},
{
"x": 6,
"y": 1
},
{
"x": 7,
"y": 1
},
{
"x": 7,
"y": 2
},
{
"x": 7,
"y": 3
},
{
"x": 8,
"y": 3
},
{
"x": 9,
"y": 3
},
{
"x": 9,
"y": 4
},
{
"x": 9,
"y": 5
},
{
"x": 8,
"y": 5
},
{
"x": 7,
"y": 5
},
{
"x": 6,
"y": 5
},
{
"x": 5,
"y": 5
},
{
"x": 4,
"y": 5
},
{
"x": 3,
"y": 5
},
{
"x": 2,
"y": 5
},
{
"x": 1,
"y": 5
},
{
"x": 1,
"y": 6
},
{
"x": 1,
"y": 7
},
{
"x": 2,
"y": 7
},
{
"x": 3,
"y": 7
},
{
"x": 3,
"y": 8
},
{
"x": 3,
"y": 9
},
{
"x": 3,
"y": 10
},
{
"x": 3,
"y": 11
},
{
"x": 3,
"y": 12
},
{
"x": 3,
"y": 13
},
{
"x": 3,
"y": 14
},
{
"x": 3,
"y": 15
},
{
"x": 2,
"y": 15
},
{
"x": 1,
"y": 15
},
{
"x": 1,
"y": 16
},
{
"x": 1,
"y": 17
},
{
"x": 2,
"y": 17
},
{
"x": 3,
"y": 17
},
{
"x": 4,
"y": 17
},
{
"x": 5,
"y": 17
},
{
"x": 5,
"y": 16
},
{
"x": 5,
"y": 15
},
{
"x": 6,
"y": 15
},
{
"x": 7,
"y": 15
},
{
"x": 8,
"y": 15
},
{
"x": 9,
"y": 15
},
{
"x": 9,
"y": 16
},
{
"x": 9,
"y": 17
},
{
"x": 10,
"y": 17
},
{
"x": 11,
"y": 17
},
{
"x": 11,
"y": 16
},
{
"x": 11,
"y": 15
},
{
"x": 12,
"y": 15
},
{
"x": 13,
"y": 15
},
{
"x": 13,
"y": 14
},
{
"x": 13,
"y": 13
},
{
"x": 14,
"y": 13
},
{
"x": 15,
"y": 13
},
{
"x": 15,
"y": 14
},
{
"x": 15,
"y": 15
},
{
"x": 15,
"y": 16
},
{
"x": 15,
"y": 17
},
{
"x": 15,
"y": 18
},
{
"x": 15,
"y": 19
},
{
"x": 15,
"y": 20
},
{
"x": 15,
"y": 21
},
{
"x": 15,
"y": 22
},
{
"x": 15,
"y": 23
},
{
"x": 14,
"y": 23
},
{
"x": 13,
"y": 23
},
{
"x": 12,
"y": 23
},
{
"x": 11,
"y": 23
},
{
"x": 11,
"y": 22
},
{
"x": 11,
"y": 21
},
{
"x": 10,
"y": 21
},
{
"x": 9,
"y": 21
},
{
"x": 9,
"y": 20
},
{
"x": 9,
"y": 19
},
{
"x": 8,
"y": 19
},
{
"x": 7,
"y": 19
},
{
"x": 6,
"y": 19
},
{
"x": 5,
"y": 19
},
{
"x": 4,
"y": 19
},
{
"x": 3,
"y": 19
},
{
"x": 3,
"y": 20
},
{
"x": 3,
"y": 21
},
{
"x": 2,
"y": 21
},
{
"x": 1,
"y": 21
},
{
"x": 1,
"y": 22
},
{
"x": 1,
"y": 23
},
{
"x": 2,
"y": 23
},
{
"x": 3,
"y": 23
},
{
"x": 4,
"y": 23
},
{
"x": 5,
"y": 23
},
{
"x": 5,
"y": 22
},
{
"x": 5,
"y": 21
},
{
"x": 6,
"y": 21
},
{
"x": 7,
"y": 21
},
{
"x": 7,
"y": 22
},
{
"x": 7,
"y": 23
},
{
"x": 8,
"y": 23
},
{
"x": 9,
"y": 23
},
{
"x": 9,
"y": 24
},
{
"x": 9,
"y": 25
},
{
"x": 9,
"y": 26
},
{
"x": 9,
"y": 27
},
{
"x": 10,
"y": 27
},
{
"x": 11,
"y": 27
},
{
"x": 12,
"y": 27
},
{
"x": 13,
"y": 27
},
{
"x": 13,
"y": 26
},
{
"x": 13,
"y": 25
},
{
"x": 14,
"y": 25
},
{
"x": 15,
"y": 25
},
{
"x": 15,
"y": 26
},
{
"x": 15,
"y": 27
},
{
"x": 15,
"y": 28
},
{
"x": 15,
"y": 29
},
{
"x": 16,
"y": 29
},
{
"x": 17,
"y": 29
},
{
"x": 17,
"y": 28
},
{
"x": 17,
"y": 27
},
{
"x": 18,
"y": 27
},
{
"x": 19,
"y": 27
},
{
"x": 19,
"y": 26
},
{
"x": 19,
"y": 25
},
{
"x": 18,
"y": 25
},
{
"x": 17,
"y": 25
},
{
"x": 17,
"y": 24
},
{
"x": 17,
"y": 23
},
{
"x": 18,
"y": 23
},
{
"x": 19,
"y": 23
},
{
"x": 20,
"y": 23
},
{
"x": 21,
"y": 23
},
{
"x": 21,
"y": 22
},
{
"x": 21,
"y": 21
},
{
"x": 21,
"y": 20
},
{
"x": 21,
"y": 19
},
{
"x": 22,
"y": 19
},
{
"x": 23,
"y": 19
},
{
"x": 23,
"y": 18
},
{
"x": 23,
"y": 17
},
{
"x": 22,
"y": 17
},
{
"x": 21,
"y": 17
},
{
"x": 20,
"y": 17
},
{
"x": 19,
"y": 17
},
{
"x": 19,
"y": 18
},
{
"x": 19,
"y": 19
},
{
"x": 18,
"y": 19
},
{
"x": 17,
"y": 19
},
{
"x": 17,
"y": 18
},
{
"x": 17,
"y": 17
},
{
"x": 17,
"y": 16
},
{
"x": 17,
"y": 15
},
{
"x": 18,
"y": 15
},
{
"x": 19,
"y": 15
},
{
"x": 20,
"y": 15
},
{
"x": 21,
"y": 15
},
{
"x": 21,
"y": 14
},
{
"x": 21,
"y": 13
},
{
"x": 20,
"y": 13
},
{
"x": 19,
"y": 13
},
{
"x": 18,
"y": 13
},
{
"x": 17,
"y": 13
},
{
"x": 17,
"y": 12
},
{
"x": 17,
"y": 11
},
{
"x": 16,
"y": 11
},
{
"x": 15,
"y": 11
},
{
"x": 14,
"y": 11
},
{
"x": 13,
"y": 11
},
{
"x": 13,
"y": 10
},
{
"x": 13,
"y": 9
},
{
"x": 14,
"y": 9
},
{
"x": 15,
"y": 9
},
{
"x": 15,
"y": 8
},
{
"x": 15,
"y": 7
},
{
"x": 16,
"y": 7
},
{
"x": 17,
"y": 7
},
{
"x": 17,
"y": 6
},
{
"x": 17,
"y": 5
},
{
"x": 16,
"y": 5
},
{
"x": 15,
"y": 5
},
{
"x": 14,
"y": 5
},
{
"x": 13,
"y": 5
},
{
"x": 13,
"y": 4
},
{
"x": 13,
"y": 3
},
{
"x": 14,
"y": 3
},
{
"x": 15,
"y": 3
},
{
"x": 15,
"y": 2
},
{
"x": 15,
"y": 1
},
{
"x": 16,
"y": 1
},
{
"x": 17,
"y": 1
},
{
"x": 17,
"y": 2
},
{
"x": 17,
"y": 3
},
{
"x": 18,
"y": 3
},
{
"x": 19,
"y": 3
},
{
"x": 20,
"y": 3
},
{
"x": 21,
"y": 3
},
{
"x": 21,
"y": 2
},
{
"x": 21,
"y": 1
},
{
"x": 22,
"y": 1
},
{
"x": 23,
"y": 1
},
{
"x": 24,
"y": 1
},
{
"x": 25,
"y": 1
},
{
"x": 25,
"y": 2
},
{
"x": 25,
"y": 3
},
{
"x": 26,
"y": 3
},
{
"x": 27,
"y": 3
},
{
"x": 27,
"y": 4
},
{
"x": 27,
"y": 5
},
{
"x": 27,
"y": 6
},
{
"x": 27,
"y": 7
},
{
"x": 26,
"y": 7
},
{
"x": 25,
"y": 7
},
{
"x": 24,
"y": 7
},
{
"x": 23,
"y": 7
},
{
"x": 22,
"y": 7
},
{
"x": 21,
"y": 7
},
{
"x": 21,
"y": 6
},
{
"x": 21,
"y": 5
},
{
"x": 20,
"y": 5
},
{
"x": 19,
"y": 5
},
{
"x": 19,
"y": 6
},
{
"x": 19,
"y": 7
},
{
"x": 19,
"y": 8
},
{
"x": 19,
"y": 9
},
{
"x": 20,
"y": 9
},
{
"x": 21,
"y": 9
},
{
"x": 22,
"y": 9
},
{
"x": 23,
"y": 9
},
{
"x": 23,
"y": 10
},
{
"x": 23,
"y": 11
},
{
"x": 23,
"y": 12
},
{
"x": 23,
"y": 13
},
{
"x": 23,
"y": 14
},
{
"x": 23,
"y": 15
},
{
"x": 24,
"y": 15
},
{
"x": 25,
"y": 15
},
{
"x": 26,
"y": 15
},
{
"x": 27,
"y": 15
},
{
"x": 27,
"y": 16
},
{
"x": 27,
"y": 17
},
{
"x": 27,
"y": 18
},
{
"x": 27,
"y": 19
},
{
"x": 26,
"y": 19
},
{
"x": 25,
"y": 19
},
{
"x": 25,
"y": 20
},
{
"x": 25,
"y": 21
},
{
"x": 26,
"y": 21
},
{
"x": 27,
"y": 21
},
{
"x": 28,
"y": 21
},
{
"x": 29,
"y": 21
},
{
"x": 29,
"y": 22
},
{
"x": 29,
"y": 23
},
{
"x": 28,
"y": 23
},
{
"x": 27,
"y": 23
},
{
"x": 27,
"y": 24
},
{
"x": 27,
"y": 25
},
{
"x": 28,
"y": 25
},
{
"x": 29,
"y": 25
},
{
"x": 29,
"y": 26
},
{
"x": 29,
"y": 27
},
{
"x": 29,
"y": 28
},
{
"x": 29,
"y": 29
}
],
"solutionLength": 269,
"html": "<html><head><title>Maze Puzzle</title><style>body {font-family: Arial, sans-serif; padding: 20px; text-align: center;}h1 {color: #333;}.maze {display: inline-grid; grid-template-columns: repeat(31, 19px); gap: 0; border: 2px solid #333;}.cell {width: 19px; height: 19px;}.wall {background: #333;}.path {background: #fff;}.start {background: #4CAF50;}.end {background: #F44336;}</style></head><body><h1>Maze</h1><p>Find your way from green to red!</p><div class='maze'><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell start'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell end'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div></div></body></html>",
"image": {
"imageName": "4b8d1f08-c4a3-4e8f-8510-dc4842be2a66_puzzle.png",
"format": ".png",
"downloadURL": "https://media.apiverve.com/examples/maze/33445fd4d7e1.png",
"expires": 1796014003731
},
"solutionImage": {
"imageName": "dcfbf076-cb10-4320-84eb-06539fa9adfd_solution.png",
"format": ".png",
"downloadURL": "https://media.apiverve.com/examples/maze/69d647d6dd0f.png",
"expires": 1796014004134
}
}
}
data.image.downloadURLOpen full size About the Maze Generator API
A maze generator API for printable mazes, kids' puzzle sheets and pathfinding practice. Choose a width and height from 5 to 50 cells and an easy, medium or hard difficulty (harder means a longer, more winding route), and get back a random labyrinth as a grid of walls and paths with its start and end positions. Every maze is carved with a recursive backtracking algorithm, so a route from start to finish always exists.
The grid is plain JSON, ones for walls and zeros for open floor, which makes it simple to draw in a game engine, on a canvas or in a terminal, or to hand to students as input for a breadth-first search or A* exercise.
The Free plan returns the full grid along with the dimensions, difficulty, start and end positions and the solution route as grid coordinates. Paid plans add an HTML version of the maze with the start marked in green and the finish in red, and, on request, downloadable PNG images of the puzzle and of the solution with the route drawn in, ready to print for activity books, classrooms or party packs.
How it works
The maze is generated by recursive backtracking from the top-left cell: the algorithm visits neighbouring cells in random order, removes the wall into each unvisited one, and backs up when it reaches a dead end. Every difficulty produces a perfect maze, with exactly one path between any two cells and no loops. Difficulty sets how long that path is: easy biases the carver toward long straight corridors and keeps the shortest-route maze out of four candidates, medium is a single unbiased maze, and hard keeps the longest-route maze out of four. On a 15 by 15 maze the solution typically runs about 57 grid squares on easy, 185 on medium and 250 on hard, and easy mazes also have fewer dead ends. An unrecognised difficulty is treated as medium.
grid is a 2D array of height*2+1 rows by width*2+1 columns, read as grid[y][x], where 1 is wall and 0 is open. Cells sit at odd coordinates and the even rows and columns hold the walls between them, so a 15 by 15 maze returns a 31 by 31 grid with a solid outer border. start and end use grid coordinates, not cell numbers: start is always {x: 1, y: 1} and end is the bottom-right cell at {x: width*2-1, y: height*2-1}. No opening is cut in the outer wall.
width and height default to 15 and are clamped to 5-50. solution is the route from start to end as an ordered list of {x, y} grid coordinates, both ends included, and solutionLength is its length in grid squares; since the maze is perfect it is the only route. It is returned on every plan, so you can draw the answer yourself, and it is the same path drawn in the solution image.
On the Free plan html, image and solutionImage are null. Paid plans get html and, with image=true or solutionImage=true, PNG renderings with signed links that expire one day after the call.
What people use it for
- Printable Activities
- Create maze worksheets for children and educational materials
- Game Development
- Generate procedural mazes for video games
- Brain Training
- Develop spatial reasoning and problem-solving exercises
- Entertainment
- Create maze puzzles for activity books and party games
Ways to call it
One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.
- JSON
- Default REST response
- XML
- Markup format
- YAML
- Human-readable
- CSV
- Tabular export
- GraphQL
- Query language
- MCP
- For AI agents
Other ways to use Maze Generator
Same data, same APIVerve account, same credit balance — one key works on all of them.
Can I customize the grid dimensions and difficulty level?
Does every generated maze include a solution path?
Are downloadable puzzle and solution images included on the Free plan?
Do the image download links expire?
How many mazes does the Free plan cover?
Request parameters — GET /v1/maze
Sent in the query string. Premium parameters are accepted on every plan but only take effect on plans that include them. Anything not listed here is dropped rather than passed through.
Optional
| Parameter | Type | Example | Description |
|---|---|---|---|
widthOptional | integer | 15 | Maze width default 15 · range 5-50 |
heightOptional | integer | 15 | Maze height default 15 · range 5-50 |
difficultyOptional | string | medium | Difficulty level; harder mazes have a longer solution patheasymediumharddefault medium |
imageOptionalPremium | boolean | true | Set to true to generate a downloadable maze image default false |
solutionImageOptionalPremium | boolean | true | Set to true to generate a downloadable solution image default false |
curl "https://api.apiverve.com/v1/maze?width=15&height=15&difficulty=medium&image=true&solutionImage=true" \
-H "x-api-key: YOUR_API_KEY"Authentication
Send your key in the x-api-key header. That is the only auth step — no token exchange, and no per-endpoint scope to configure.
| Header | When | Value |
|---|---|---|
x-api-keyRequired | Every request | Your API key. Header names are case-insensitive, so X-API-Key is the same header. |
AuthorizationAlternate | Instead of the above | Bearer <key> — for clients that only expose bearer auth. Resolves to the same account and the same billing. |
A 401 means the key is missing, invalid or expired. A 403 means the key is valid but not permitted here — blocked by a key restriction or an IP allow-list. Running out of credits is a 429.
Response — GET /v1/maze
Every APIVerve endpoint returns the same three top-level keys, so one response handler covers your whole integration: status, error and data. Only data changes shape.
{
"status": "ok",
"error": null,
"data": {
"width": 15,
"height": 15,
"difficulty": "medium",
"start": {
"x": 1,
"y": 1
},
"end": {
"x": 29,
"y": 29
},
"grid": [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
],
[
1,
0,
0,
0,
1,
0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},
{
"x": 7,
"y": 3
},
{
"x": 8,
"y": 3
},
{
"x": 9,
"y": 3
},
{
"x": 9,
"y": 4
},
{
"x": 9,
"y": 5
},
{
"x": 8,
"y": 5
},
{
"x": 7,
"y": 5
},
{
"x": 6,
"y": 5
},
{
"x": 5,
"y": 5
},
{
"x": 4,
"y": 5
},
{
"x": 3,
"y": 5
},
{
"x": 2,
"y": 5
},
{
"x": 1,
"y": 5
},
{
"x": 1,
"y": 6
},
{
"x": 1,
"y": 7
},
{
"x": 2,
"y": 7
},
{
"x": 3,
"y": 7
},
{
"x": 3,
"y": 8
},
{
"x": 3,
"y": 9
},
{
"x": 3,
"y": 10
},
{
"x": 3,
"y": 11
},
{
"x": 3,
"y": 12
},
{
"x": 3,
"y": 13
},
{
"x": 3,
"y": 14
},
{
"x": 3,
"y": 15
},
{
"x": 2,
"y": 15
},
{
"x": 1,
"y": 15
},
{
"x": 1,
"y": 16
},
{
"x": 1,
"y": 17
},
{
"x": 2,
"y": 17
},
{
"x": 3,
"y": 17
},
{
"x": 4,
"y": 17
},
{
"x": 5,
"y": 17
},
{
"x": 5,
"y": 16
},
{
"x": 5,
"y": 15
},
{
"x": 6,
"y": 15
},
{
"x": 7,
"y": 15
},
{
"x": 8,
"y": 15
},
{
"x": 9,
"y": 15
},
{
"x": 9,
"y": 16
},
{
"x": 9,
"y": 17
},
{
"x": 10,
"y": 17
},
{
"x": 11,
"y": 17
},
{
"x": 11,
"y": 16
},
{
"x": 11,
"y": 15
},
{
"x": 12,
"y": 15
},
{
"x": 13,
"y": 15
},
{
"x": 13,
"y": 14
},
{
"x": 13,
"y": 13
},
{
"x": 14,
"y": 13
},
{
"x": 15,
"y": 13
},
{
"x": 15,
"y": 14
},
{
"x": 15,
"y": 15
},
{
"x": 15,
"y": 16
},
{
"x": 15,
"y": 17
},
{
"x": 15,
"y": 18
},
{
"x": 15,
"y": 19
},
{
"x": 15,
"y": 20
},
{
"x": 15,
"y": 21
},
{
"x": 15,
"y": 22
},
{
"x": 15,
"y": 23
},
{
"x": 14,
"y": 23
},
{
"x": 13,
"y": 23
},
{
"x": 12,
"y": 23
},
{
"x": 11,
"y": 23
},
{
"x": 11,
"y": 22
},
{
"x": 11,
"y": 21
},
{
"x": 10,
"y": 21
},
{
"x": 9,
"y": 21
},
{
"x": 9,
"y": 20
},
{
"x": 9,
"y": 19
},
{
"x": 8,
"y": 19
},
{
"x": 7,
"y": 19
},
{
"x": 6,
"y": 19
},
{
"x": 5,
"y": 19
},
{
"x": 4,
"y": 19
},
{
"x": 3,
"y": 19
},
{
"x": 3,
"y": 20
},
{
"x": 3,
"y": 21
},
{
"x": 2,
"y": 21
},
{
"x": 1,
"y": 21
},
{
"x": 1,
"y": 22
},
{
"x": 1,
"y": 23
},
{
"x": 2,
"y": 23
},
{
"x": 3,
"y": 23
},
{
"x": 4,
"y": 23
},
{
"x": 5,
"y": 23
},
{
"x": 5,
"y": 22
},
{
"x": 5,
"y": 21
},
{
"x": 6,
"y": 21
},
{
"x": 7,
"y": 21
},
{
"x": 7,
"y": 22
},
{
"x": 7,
"y": 23
},
{
"x": 8,
"y": 23
},
{
"x": 9,
"y": 23
},
{
"x": 9,
"y": 24
},
{
"x": 9,
"y": 25
},
{
"x": 9,
"y": 26
},
{
"x": 9,
"y": 27
},
{
"x": 10,
"y": 27
},
{
"x": 11,
"y": 27
},
{
"x": 12,
"y": 27
},
{
"x": 13,
"y": 27
},
{
"x": 13,
"y": 26
},
{
"x": 13,
"y": 25
},
{
"x": 14,
"y": 25
},
{
"x": 15,
"y": 25
},
{
"x": 15,
"y": 26
},
{
"x": 15,
"y": 27
},
{
"x": 15,
"y": 28
},
{
"x": 15,
"y": 29
},
{
"x": 16,
"y": 29
},
{
"x": 17,
"y": 29
},
{
"x": 17,
"y": 28
},
{
"x": 17,
"y": 27
},
{
"x": 18,
"y": 27
},
{
"x": 19,
"y": 27
},
{
"x": 19,
"y": 26
},
{
"x": 19,
"y": 25
},
{
"x": 18,
"y": 25
},
{
"x": 17,
"y": 25
},
{
"x": 17,
"y": 24
},
{
"x": 17,
"y": 23
},
{
"x": 18,
"y": 23
},
{
"x": 19,
"y": 23
},
{
"x": 20,
"y": 23
},
{
"x": 21,
"y": 23
},
{
"x": 21,
"y": 22
},
{
"x": 21,
"y": 21
},
{
"x": 21,
"y": 20
},
{
"x": 21,
"y": 19
},
{
"x": 22,
"y": 19
},
{
"x": 23,
"y": 19
},
{
"x": 23,
"y": 18
},
{
"x": 23,
"y": 17
},
{
"x": 22,
"y": 17
},
{
"x": 21,
"y": 17
},
{
"x": 20,
"y": 17
},
{
"x": 19,
"y": 17
},
{
"x": 19,
"y": 18
},
{
"x": 19,
"y": 19
},
{
"x": 18,
"y": 19
},
{
"x": 17,
"y": 19
},
{
"x": 17,
"y": 18
},
{
"x": 17,
"y": 17
},
{
"x": 17,
"y": 16
},
{
"x": 17,
"y": 15
},
{
"x": 18,
"y": 15
},
{
"x": 19,
"y": 15
},
{
"x": 20,
"y": 15
},
{
"x": 21,
"y": 15
},
{
"x": 21,
"y": 14
},
{
"x": 21,
"y": 13
},
{
"x": 20,
"y": 13
},
{
"x": 19,
"y": 13
},
{
"x": 18,
"y": 13
},
{
"x": 17,
"y": 13
},
{
"x": 17,
"y": 12
},
{
"x": 17,
"y": 11
},
{
"x": 16,
"y": 11
},
{
"x": 15,
"y": 11
},
{
"x": 14,
"y": 11
},
{
"x": 13,
"y": 11
},
{
"x": 13,
"y": 10
},
{
"x": 13,
"y": 9
},
{
"x": 14,
"y": 9
},
{
"x": 15,
"y": 9
},
{
"x": 15,
"y": 8
},
{
"x": 15,
"y": 7
},
{
"x": 16,
"y": 7
},
{
"x": 17,
"y": 7
},
{
"x": 17,
"y": 6
},
{
"x": 17,
"y": 5
},
{
"x": 16,
"y": 5
},
{
"x": 15,
"y": 5
},
{
"x": 14,
"y": 5
},
{
"x": 13,
"y": 5
},
{
"x": 13,
"y": 4
},
{
"x": 13,
"y": 3
},
{
"x": 14,
"y": 3
},
{
"x": 15,
"y": 3
},
{
"x": 15,
"y": 2
},
{
"x": 15,
"y": 1
},
{
"x": 16,
"y": 1
},
{
"x": 17,
"y": 1
},
{
"x": 17,
"y": 2
},
{
"x": 17,
"y": 3
},
{
"x": 18,
"y": 3
},
{
"x": 19,
"y": 3
},
{
"x": 20,
"y": 3
},
{
"x": 21,
"y": 3
},
{
"x": 21,
"y": 2
},
{
"x": 21,
"y": 1
},
{
"x": 22,
"y": 1
},
{
"x": 23,
"y": 1
},
{
"x": 24,
"y": 1
},
{
"x": 25,
"y": 1
},
{
"x": 25,
"y": 2
},
{
"x": 25,
"y": 3
},
{
"x": 26,
"y": 3
},
{
"x": 27,
"y": 3
},
{
"x": 27,
"y": 4
},
{
"x": 27,
"y": 5
},
{
"x": 27,
"y": 6
},
{
"x": 27,
"y": 7
},
{
"x": 26,
"y": 7
},
{
"x": 25,
"y": 7
},
{
"x": 24,
"y": 7
},
{
"x": 23,
"y": 7
},
{
"x": 22,
"y": 7
},
{
"x": 21,
"y": 7
},
{
"x": 21,
"y": 6
},
{
"x": 21,
"y": 5
},
{
"x": 20,
"y": 5
},
{
"x": 19,
"y": 5
},
{
"x": 19,
"y": 6
},
{
"x": 19,
"y": 7
},
{
"x": 19,
"y": 8
},
{
"x": 19,
"y": 9
},
{
"x": 20,
"y": 9
},
{
"x": 21,
"y": 9
},
{
"x": 22,
"y": 9
},
{
"x": 23,
"y": 9
},
{
"x": 23,
"y": 10
},
{
"x": 23,
"y": 11
},
{
"x": 23,
"y": 12
},
{
"x": 23,
"y": 13
},
{
"x": 23,
"y": 14
},
{
"x": 23,
"y": 15
},
{
"x": 24,
"y": 15
},
{
"x": 25,
"y": 15
},
{
"x": 26,
"y": 15
},
{
"x": 27,
"y": 15
},
{
"x": 27,
"y": 16
},
{
"x": 27,
"y": 17
},
{
"x": 27,
"y": 18
},
{
"x": 27,
"y": 19
},
{
"x": 26,
"y": 19
},
{
"x": 25,
"y": 19
},
{
"x": 25,
"y": 20
},
{
"x": 25,
"y": 21
},
{
"x": 26,
"y": 21
},
{
"x": 27,
"y": 21
},
{
"x": 28,
"y": 21
},
{
"x": 29,
"y": 21
},
{
"x": 29,
"y": 22
},
{
"x": 29,
"y": 23
},
{
"x": 28,
"y": 23
},
{
"x": 27,
"y": 23
},
{
"x": 27,
"y": 24
},
{
"x": 27,
"y": 25
},
{
"x": 28,
"y": 25
},
{
"x": 29,
"y": 25
},
{
"x": 29,
"y": 26
},
{
"x": 29,
"y": 27
},
{
"x": 29,
"y": 28
},
{
"x": 29,
"y": 29
}
],
"solutionLength": 269,
"html": "<html><head><title>Maze Puzzle</title><style>body {font-family: Arial, sans-serif; padding: 20px; text-align: center;}h1 {color: #333;}.maze {display: inline-grid; grid-template-columns: repeat(31, 19px); gap: 0; border: 2px solid #333;}.cell {width: 19px; height: 19px;}.wall {background: #333;}.path {background: #fff;}.start {background: #4CAF50;}.end {background: #F44336;}</style></head><body><h1>Maze</h1><p>Find your way from green to red!</p><div class='maze'><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell start'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell path'></div><div class='cell wall'></div><div class='cell path'></div><div class='cell path'></div><div class='cell end'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div><div class='cell wall'></div></div></body></html>",
"image": {
"imageName": "4b8d1f08-c4a3-4e8f-8510-dc4842be2a66_puzzle.png",
"format": ".png",
"downloadURL": "https://media.apiverve.com/examples/maze/33445fd4d7e1.png",
"expires": 1796014003731
},
"solutionImage": {
"imageName": "dcfbf076-cb10-4320-84eb-06539fa9adfd_solution.png",
"format": ".png",
"downloadURL": "https://media.apiverve.com/examples/maze/69d647d6dd0f.png",
"expires": 1796014004134
}
}
}
Response fields
Paths are relative to data. Premium fields are absent rather than zeroed on plans that do not include them, so check for presence instead of comparing to 0.
| Field | Type | Example | Description |
|---|---|---|---|
width | number | 15 | Width of the generated maze in cells |
height | number | 15 | Height of the generated maze in cells |
difficulty | string | "medium" | Difficulty level of the maze puzzle |
start | object | {...} | The grid cell the maze is entered from |
x | number | 1 | X coordinate of the maze starting position |
y | number | 1 | Y coordinate of the maze starting position |
end | object | {...} | The grid cell that exits the maze |
x | number | 29 | X coordinate of the maze ending position |
y | number | 29 | Y coordinate of the maze ending position |
grid | array | Array of arrays | 2D array of (2*height+1) rows by (2*width+1) columns, read as grid[y][x]; 1 is wall, 0 is open |
solutionPremium | array[269] | The route from start to end as a list of grid coordinates, both ends included | |
xPremium | number | 1 | Grid column of a square on the solution route |
yPremium | number | 1 | Grid row of a square on the solution route |
solutionLengthPremium | number | 269 | Number of grid squares on the solution route, including start and end |
htmlPremium | string | "<html><head><title>Maze Puzzle</title><style>body {font-family: Arial, sans-serif; padding: 20px; text-align: center;}h1 {color: #333;}.maz… | HTML representation of maze with styling and CSS |
imagePremium | object | {...} | The rendered puzzle image, present only when image=true is requested |
imageNamePremium | string | "4b8d1f08-c4a3-4e8f-8510-dc4842be2a66_puzzle.png" | Unique filename for generated puzzle image |
formatPremium | string | ".png" | Image file format extension for puzzle |
downloadURLPremium | string | "https://media.apiverve.com/examples/maze/33445fd4d7e1.png" | Signed URL to download maze puzzle image |
expiresPremium | number | 1796014003731 | Expiration timestamp for puzzle image URL |
solutionImagePremium | object | {...} | The rendered solution image, present only when solutionImage=true is requested |
imageNamePremium | string | "dcfbf076-cb10-4320-84eb-06539fa9adfd_solution.png" | Unique filename for generated solution image |
formatPremium | string | ".png" | Image file format extension for solution |
downloadURLPremium | string | "https://media.apiverve.com/examples/maze/69d647d6dd0f.png" | Signed URL to download maze solution image |
expiresPremium | number | 1796014004134 | Expiration timestamp for solution image URL |
Response headers
Every response carries your balance, so your own code always knows where it stands without polling anything. All four are exposed to browsers through CORS.
| Header | What it carries |
|---|---|
x-api-remaining-credits | Credits left in the current cycle |
x-api-credits-used | Credits spent in the current cycle |
x-api-max-credits | The allowance for the cycle |
x-api-version | Version of the endpoint that answered |
Errors
Read the HTTP status first, then error for the specific reason. The body names the parameter that has to change.
| Status | Meaning | What to do |
|---|---|---|
400 | Input was rejected | Read error; it names the parameter that has to change. |
401 | Key missing or invalid | Check the header name and the key value. |
403 | Key valid, but not permitted here | A key restriction or an IP allow-list — never a bad key. |
429 | Rate limited, or out of credits | Read error to tell them apart, then back off or top up. |
What a call costs — 2 credits per call
Credits are shared across every APIVerve API — one balance, one key, one bill. Failed requests never count against it, so a rejected input costs nothing.
| Plan | Per month | Credits | Maze Generator calls | Per 1,000 calls |
|---|---|---|---|---|
| Free | Free | 200 | 100 | Free |
| Starter | $29.99 | 200,000 | 100,000 | $0.30 |
| Pro | $99.99 | 1,000,000 | 500,000 | $0.20 |
| Mega | $299.99 | 4,000,000 | 2,000,000 | $0.15 |
Calls are what the credits buy at this API's rate — spend them here, on any of the other APIs, or across both. Nothing is reserved per endpoint.
Call it from cURL — GET /v1/maze
No SDK to install — this is a plain HTTPS call to /v1/maze with your key in the x-api-key header. Swap in a real key and it runs as-is.
curl "https://api.apiverve.com/v1/maze" \
-H "x-api-key: YOUR_API_KEY"Resources
Also published for
Only the languages APIVerve ships a client for are listed — the rest call the endpoint directly over HTTPS.
Call it from Node.js — GET /v1/maze
Install the Node.js SDK, then call the Maze Generator API with your key. The client wraps the same HTTPS request, so anything it returns is what the endpoint returns.
npm install @apiverve/mazeconst res = await fetch("https://api.apiverve.com/v1/maze", {
headers: { "x-api-key": "YOUR_API_KEY" },
});
const { data } = await res.json();
console.log(data);Resources
Also published for
Only the languages APIVerve ships a client for are listed — the rest call the endpoint directly over HTTPS.
Call it from Python — GET /v1/maze
No SDK to install — this is a plain HTTPS call to /v1/maze with your key in the x-api-key header. Swap in a real key and it runs as-is.
import requests
res = requests.get(
"https://api.apiverve.com/v1/maze",
headers={"x-api-key": "YOUR_API_KEY"},
)
print(res.json()["data"])Resources
Also published for
Only the languages APIVerve ships a client for are listed — the rest call the endpoint directly over HTTPS.
Call it from C# / .NET — GET /v1/maze
Install the C# / .NET SDK, then call the Maze Generator API with your key. The client wraps the same HTTPS request, so anything it returns is what the endpoint returns.
dotnet add package APIVerve.API.MazeGeneratorusing var client = new HttpClient();
client.DefaultRequestHeaders.Add("x-api-key", "YOUR_API_KEY");
var json = await client.GetStringAsync("https://api.apiverve.com/v1/maze");
Console.WriteLine(json);Resources
Also published for
Only the languages APIVerve ships a client for are listed — the rest call the endpoint directly over HTTPS.
Call it from Go — GET /v1/maze
No SDK to install — this is a plain HTTPS call to /v1/maze with your key in the x-api-key header. Swap in a real key and it runs as-is.
req, _ := http.NewRequest("GET", "https://api.apiverve.com/v1/maze", nil)
req.Header.Set("x-api-key", "YOUR_API_KEY")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))Resources
Also published for
Only the languages APIVerve ships a client for are listed — the rest call the endpoint directly over HTTPS.
Call it from PHP — GET /v1/maze
No SDK to install — this is a plain HTTPS call to /v1/maze with your key in the x-api-key header. Swap in a real key and it runs as-is.
$ch = curl_init("https://api.apiverve.com/v1/maze");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-api-key: YOUR_API_KEY"]);
$response = curl_exec($ch);
echo $response;Resources
Also published for
Only the languages APIVerve ships a client for are listed — the rest call the endpoint directly over HTTPS.
Call it from Ruby — GET /v1/maze
No SDK to install — this is a plain HTTPS call to /v1/maze with your key in the x-api-key header. Swap in a real key and it runs as-is.
require "net/http"
uri = URI("https://api.apiverve.com/v1/maze")
req = Net::HTTP::Get.new(uri)
req["x-api-key"] = "YOUR_API_KEY"
res = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |h| h.request(req) }
puts res.bodyResources
Also published for
Only the languages APIVerve ships a client for are listed — the rest call the endpoint directly over HTTPS.
Zero-code embed — one snippet, no backend
Drop an interactive Maze Generator form onto any page. The widget calls the API for you, so no key ever appears in your markup and there is nothing to deploy.
Changelog — Maze Generator API
Every change to this endpoint, newest first. Breaking changes ship as a new version and the previous one keeps serving — response fields are added, never removed or retyped in place, so an integration written against v1 keeps working.
Entries are picked up from dated catalog snapshots, so the first one appears after the next snapshot that moves something. A period where nothing changed produces no entry — silence is a valid changelog for the Maze Generator API.
Games
- Acrostic Puzzle Generator
- Anagram Puzzle Generator
- Card Deck Shuffler
- Coin Flipper
- Crossword Generator
- Cryptogram Generator
- Dice Roller
- Fill in the Blanks Generator
- Fortune Cookie Generator
- Game Character Generator
- Hangman Word Generator
- Mad Libs Generator
- Maze Generator
- Rock Paper Scissors
- Slot Machine Simulator
- Spelling Bee Generator
- Superhero Name Generator
- Word Ladder Generator
- Word Scramble Generator
- Word Search Generator
Related articles
All articles →
Add Daily Horoscopes to Your App in 5 MinutesBuild a horoscope feature your users will actually check daily. Working code included.Read
Extract Clean Content from Any WebpageTurn messy web pages into clean Markdown. Perfect for content migration, archiving, AI training data, and building read-later tools.Read
Take Your App Multilingual (No Rewrite)Add language support to an existing app without rearchitecting. Practical strategies for translation, detection, and localization.Read 
