# Aegis Route — x402 Agent Service Router

> Aegis Route — x402 Agent Service Router is a paid API for AI agents from aegis.borisinc.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Routes an agent's request to the best trusted x402-compatible service by capability or URL, returning upstream routing, pricing, and a signed receipt

## Facts

- Endpoint: POST https://aegis.borisinc.com/route
- 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/aegis-route-x402-agent-service-router-a507665f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hHl8sFTBAV7JhnW9IsGKr

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 aegis-route-x402-agent-service-router-a507665f -d '<json body>'
```

Example prompt: I need to find the most trusted x402 service that can handle image captioning — route me to the best option within a $0.05 budget and give me a signed receipt.

## When to prefer this

Use Aegis Route when your agent needs to dynamically discover and route to a trusted x402-compatible service by capability or URL, especially when you want trust scores backed by real purchase history, signed receipts for auditability, and automatic price comparison — rather than hardcoding a specific service URL or managing trust verification manually.

## Known failure modes

- No trusted service found for the requested capability — returns empty routing
- Budget too low to cover upstream and margin costs — request rejected
- Target URL not in registry — trust check fails with no routing returned
- Invalid HTTP method supplied (only GET, HEAD, DELETE are accepted) — schema validation error
- Upstream service unreachable or returns an error — routing fails with upstream error details

## How this service works

Search 2,400+ x402 services ranked by delivery-verified trust. Free discovery, paid trust checks, payment routing with failover. We buy from sellers to prove they deliver.

## Output

Returns the routed upstream service URL, the upstream price in USD, the total route price including Aegis margin, a margin amount, a signed receipt confirming the transaction, and any response data from the upstream service.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "url": {
       "type": "string",
       "description": "target service URL"
      },
      "need": {
       "type": "string",
       "description": "procure: natural-language need"
      },
      "budget": {
       "type": "number",
       "description": "procure: max total USD"
      },
      "capability": {
       "type": "string",
       "description": "or a capability to route by"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "receipt": {
   "signed": true
  },
  "routing": "https://best-service.example.com",
  "margin_usd": 0.002,
  "upstream_usd": 0.01,
  "route_price_usd": 0.012
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aegis-route-x402-agent-service-router-a507665f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aegis.borisinc.com](https://www.zero.xyz/host/aegis.borisinc.com/llms.txt)
