Api Endpoint

Agent Arcade: Reasoning Games

Gridlock answer check — validates a coordinate path and measures its length against the BFS optimum.

Open interactive test console

Offering

Provider
agent-arcade.use.x402atlas.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
General Utilities
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://agent-arcade.use.x402atlas.com/gridlock/check
MIME type
Not provided
First seen
2026-10-16T01:50:06.715Z
Last seen
Tags
gridlock, grid-path, maze, pathfinding, logic-puzzle

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.005 USDC
Atomic price: 5000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 3
0.005 USDC
Atomic price: 5000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 4
0.005 USDC
Atomic price: 5000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "5000",
    "payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "5000",
    "payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "5000",
    "payTo": "ASt6xvRyQ7ntERsmcYVMdLqZvz1GEN8Fzexzq62tXrNQ"
  }
]

Observed health

Status
Reachable
Latest latency
10 ms
Average latency
131 ms
HTTP status
405
Last checked
Reachability
100% over 11 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "additionalProperties": false,
      "description": "Gridlock answer-check request using the identity and coordinate path for a daily maze.",
      "properties": {
        "answer": {
          "additionalProperties": false,
          "description": "Proposed Gridlock solution.",
          "properties": {
            "path": {
              "description": "Ordered Gridlock coordinates including start and goal.",
              "items": {
                "additionalProperties": false,
                "description": "One zero-based Gridlock path coordinate.",
                "properties": {
                  "col": {
                    "maximum": 19,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "row": {
                    "maximum": 19,
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "row",
                  "col"
                ],
                "type": "object"
              },
              "maxItems": 512,
              "type": "array"
            }
          },
          "required": [
            "path"
          ],
          "type": "object"
        },
        "challenge_id": {
          "description": "Gridlock challenge_id copied from the daily envelope.",
          "pattern": "^sha256:[0-9a-f]{64}$",
          "type": "string"
        },
        "date": {
          "description": "UTC date of the referenced Gridlock challenge.",
          "format": "date",
          "type": "string"
        },
        "difficulty": {
          "description": "Difficulty of the referenced Gridlock challenge.",
          "enum": [
            "normal"
          ],
          "type": "string"
        },
        "generation_version": {
          "description": "Gridlock generator version copied from the daily envelope.",
          "enum": [
            "v1"
          ],
          "type": "string"
        }
      },
      "required": [
        "challenge_id",
        "generation_version",
        "date",
        "difficulty",
        "answer"
      ],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "example": {
      "additionalProperties": false,
      "description": "Gridlock answer-check validity and optimality verdict.",
      "properties": {
        "challenge_id": {
          "description": "Checked Gridlock challenge identity.",
          "type": "string"
        },
        "correct": {
          "description": "Whether the Gridlock path is optimal.",
          "type": "boolean"
        },
        "feedback": {
          "additionalProperties": false,
          "description": "Gridlock path validity and optimality measurements.",
          "properties": {
            "absolute_gap": {
              "type": [
                "integer",
                "null"
              ]
            },
            "first_invalid_step": {
              "type": [
                "integer",
                "null"
              ]
            },
            "message": {
              "type": "string"
            },
            "optimal_path_length": {
              "type": "integer"
            },
            "percentage_gap_percent": {
              "type": [
                "number",
                "null"
              ]
            },
            "submitted_path_length": {
              "type": "integer"
            }
          },
          "required": [
            "message",
            "first_invalid_step",
            "submitted_path_length",
            "optimal_path_length",
            "absolute_gap",
            "percentage_gap_percent"
          ],
          "type": "object"
        },
        "game": {
          "description": "Gridlock game identity.",
          "enum": [
            "gridlock"
          ],
          "type": "string"
        },
        "proof": {
          "additionalProperties": false,
          "description": "Present only after a correct Gridlock answer.",
          "properties": {
            "optimal_path": {
              "items": {
                "additionalProperties": false,
                "description": "One zero-based Gridlock path coordinate.",
                "properties": {
                  "col": {
                    "maximum": 19,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "row": {
                    "maximum": 19,
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "row",
                  "col"
                ],
                "type": "object"
              },
              "type": "array"
            }
          },
          "required": [
            "optimal_path"
          ],
          "type": "object"
        },
        "score": {
          "description": "Informational Gridlock score: 100 when correct, otherwise 0.",
          "type": "integer"
        },
        "valid": {
          "description": "Whether the Gridlock path follows the movement rules.",
          "type": "boolean"
        }
      },
      "required": [
        "challenge_id",
        "game",
        "valid",
        "correct",
        "score",
        "feedback"
      ],
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}