# minia2a BFS (Breadth-First Search) Service

> minia2a BFS (Breadth-First Search) Service 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 via a paid x402 API endpoint

## Facts

- Endpoint: GET https://minia2a.uk/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-service-62e71b93
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_L8Uljaj3s2vbaVkLuDeGY

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-service-62e71b93
```

Example prompt: Run a breadth-first search on my graph starting from node A and find the shortest path to node Z — the graph has edges A->B, A->C, B->D, C->Z.

## When to prefer this

Choose this endpoint when you need a simple, pay-per-use BFS graph traversal without setting up your own algorithm infrastructure. It is well-suited for one-off pathfinding queries, educational or prototyping use cases, or AI agent workflows that need on-demand graph search as a microservice step. Prefer alternatives if you need DFS, Dijkstra's, or weighted shortest-path algorithms.

## Known failure modes

- Missing required 'input' parameter returns a validation error
- Malformed graph structure in query parameters may yield unexpected traversal results
- Disconnected graph with unreachable target returns empty path or null
- Invalid query parameter types may cause a 400 or processing error
- Payment not processed (x402 failure) results in 402 Payment Required response

## How this service works

minia2a service: x402-bfs

## Output

Returns the result of a breadth-first search traversal, which may include the BFS-ordered list of visited nodes, the shortest path between start and target, distances from the source node, or a structured traversal output depending on the query parameters provided.

## 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-service-62e71b93/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)
