# Grid Pathfinding Module: open-19-d2

> Grid Pathfinding Module: open-19-d2 is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-24).

Returns a reusable four-neighbour breadth-first shortest-path ES module with a preset grid map (open-19-d2) and solved exit/collectible routes, configurable by title, seed, and accent color.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-game-open-19-d2-pathfinding?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/grid-pathfinding-module-open-19-d2-94afc0d7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GuKRGMTBu_1y22DYrdKzy

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability grid-pathfinding-module-open-19-d2-94afc0d7 -d '<json body>'
```

Example prompt: Generate me a four-neighbour BFS pathfinding ES module using the open-19-d2 preset map, with the title 'Dungeon Run', seed 7, and accent color #ff5533.

## When to prefer this

Choose this endpoint when you need a ready-to-embed JavaScript ES module for four-neighbour BFS grid pathfinding with a specific preset map (open-19-d2), pre-solved routes, and lightweight configurability (seed, title, accent). It is best suited for rapid game prototyping or generating deterministic, reproducible puzzle levels without building a pathfinding engine from scratch.

## Known failure modes

- Invalid seed value (outside 0–2147483647) returns a validation error
- Accent color not matching #RRGGBB hex pattern causes a 400 error
- Title exceeding 80 characters is rejected
- Payment failure or insufficient USDC balance prevents module delivery
- Empty or malformed request body may return a 422 unprocessable entity

## How this service works

Grid pathfinding module: open-19-d2: Reusable four-neighbour breadth-first shortest-path ES module, preset map and solved exit/collectible routes. Preset open-19-d2; configurable title, seed and accent. Source files, not hosted gameplay. One of 100 presets across 10 shared generators. 0.01 USDC includes one editable game module or map bundle.

## Output

The agent receives an ES module source file containing a four-neighbour breadth-first shortest-path implementation, the preset open-19-d2 grid map layout, and pre-solved exit and collectible routes. The module is configurable via the supplied title, seed, and accent color, and is ready to embed in browser-based game projects.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "seed": {
   "type": "integer",
   "default": 42,
   "maximum": 2147483647,
   "minimum": 0
  },
  "title": {
   "type": "string",
   "default": "Maze Quest",
   "maxLength": 80,
   "minLength": 1
  },
  "accent": {
   "type": "string",
   "default": "#55b7ff",
   "pattern": "^#[0-9a-fA-F]{6}$"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/grid-pathfinding-module-open-19-d2-94afc0d7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
