# dispatch-x402 Intent Router

> dispatch-x402 Intent Router is a paid API for AI agents from dispatch-x402.fly.dev, paid per call via x402, $0.5/call, status unknown (last checked 2026-09-13).

Routes a natural-language agent intent to the correct paid fleet service, returning the matched service, confidence score, extracted params, and ready-to-use x402 call instructions

## Facts

- Endpoint: POST https://dispatch-x402.fly.dev/dispatch
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dispatch-x402-intent-router-fe832292
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dCrmMS5IZE0vuPtofhRGu

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 dispatch-x402-intent-router-fe832292 -d '<json body>'
```

Example prompt: I need to figure out which paid fleet service to call for this task — 'summarize a PDF at https://example.com/doc.pdf and return the key bullet points' — can you route that intent through the dispatch service and get me the matching service name, confidence score, and the x402 call instructions I need to actually run it?

## When to prefer this

Use this endpoint when an AI agent has a natural-language task and needs to determine which paid x402 fleet service to call, along with the exact payment and call parameters. Prefer /classify (free) first to preview confidence before committing the $0.50 USDC dispatch fee.

## Known failure modes

- Intent too ambiguous to route confidently — returns low confidence score with best-guess service
- No matching fleet service found for the intent — returns null service or error
- Malformed intent string — 400 validation error
- Payment of $0.50 USDC not fulfilled — 402 Payment Required response
- Downstream fleet service unavailable — routing succeeds but call instructions may be stale

## How this service works

Route a natural-language agent intent to the correct paid fleet service. Returns the chosen service, a calibrated confidence score, params extracted from the intent, and ready-to-use call instructions (URL, method, price, x402 terms). Use the free /classify first to preview confidence.

## Output

Returns the matched fleet service identifier, a calibrated confidence score (0–1) indicating routing certainty, parameters extracted from the intent, and complete call instructions including the target URL, HTTP method, price in USDC, and x402 payment terms ready for immediate use.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "intent": {
   "type": "string",
   "description": "Natural-language task to route"
  },
  "params": {
   "type": "object",
   "description": "Optional downstream params to merge"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "call": {
   "url": "https://power-pack-x402.fly.dev/api/score-email",
   "price": "$0.01",
   "method": "POST",
   "network": "eip155:8453"
  },
  "tier": "auto",
  "route": {
   "id": "power-pack",
   "name": "Power Pack — outreach email scorer"
  },
  "intent": "score this cold email for me",
  "confidence": 0.93
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dispatch-x402-intent-router-fe832292/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from dispatch-x402.fly.dev](https://www.zero.xyz/host/dispatch-x402.fly.dev/llms.txt)
