# minia2a BFS (Breadth-First Search)

> minia2a BFS (Breadth-First Search) is a paid API for AI agents from minia2a.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Performs a breadth-first search (BFS) graph traversal computation as a paid API service.

## Facts

- Endpoint: GET https://minia2a.uk/x402/x402-bfs
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/minia2a-bfs-breadth-first-search-3957c743
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gjOYxexLCUWBJerT7pflv

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 minia2a-bfs-breadth-first-search-3957c743
```

Example prompt: Run a breadth-first search on my graph starting from node A — the graph has edges A->B, A->C, B->D, C->D — and give me the BFS traversal order.

## When to prefer this

Choose this endpoint when you need a hosted, on-demand BFS graph traversal without running your own compute infrastructure. Useful for agents that need graph pathfinding or level-order traversal as a microservice at low per-call cost ($0.01 USDC). Prefer over self-implementing when quick integration matters and graph sizes are moderate.

## Known failure modes

- Missing required 'input' object returns a validation error
- Malformed graph structure or invalid node references cause computation errors
- Disconnected graphs may return incomplete traversal if starting node is isolated
- Payment failure (402) if x402 micropayment not provided or insufficient funds

## How this service works

minia2a service: x402-bfs

## Output

Returns the BFS traversal result including visited nodes in breadth-first order, potentially including level/depth information and path data depending on the query parameters supplied.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "method": {
     "type": "string"
    },
    "bodyType": {
     "type": "string"
    },
    "queryParams": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/minia2a-bfs-breadth-first-search-3957c743/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from minia2a.uk](https://www.zero.xyz/host/minia2a.uk/llms.txt)
