# GuardRoute.ai Route Simulation

> GuardRoute.ai Route Simulation is a paid API for AI agents from guardroute.ai, paid per call via x402, $0.025/call, status unknown (last checked 2026-10-30).

Simulates pre-execution risk scoring and policy routing decisions for financial transactions, beneficiary changes, and AI-agent actions before they are executed.

## Facts

- Endpoint: GET https://guardroute.ai/api/x402/route-simulation?utm_source=zero.xyz
- Price: $0.025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/guardroute-ai-route-simulation-f61ce8ef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-xWnKWNyLHSo1Z8k0FQxk

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 guardroute-ai-route-simulation-f61ce8ef
```

Example prompt: Before we actually send this wire, can you run it through GuardRoute to simulate the routing decision and get a risk score — specifically for a POST HTTP request with the beneficiary change parameters?

## When to prefer this

Choose this endpoint when you need a deterministic, auditable pre-execution gate for financial transactions, beneficiary changes, or AI-agent actions — particularly when compliance, fraud prevention, or policy enforcement requires a logged routing decision before any irreversible action is taken. It is especially valuable when your workflow involves AI agents taking autonomous financial actions that need a human-policy backstop.

## Known failure modes

- Invalid or missing 'type' or 'method' fields in input object return schema validation errors
- Unsupported HTTP method values outside GET/HEAD/POST cause rejection
- Payment not received or insufficient USDC balance causes 402 Payment Required
- Network connectivity issues to Base blockchain may delay policy hash resolution
- Malformed query parameters or headers may result in incomplete risk assessment

## How this service works

Live risk scoring and policy routing for wires, beneficiary changes, workflow actions, and AI-agent requests — before execution.

## Output

Returns a JSON object with a route decision (e.g. ALLOW_DETERMINISTIC), a policy hash for audit trail, the GuardRoute protocol token address on Base network, a link to the nodes portal, and a success flag — enabling the caller to decide whether to proceed with the underlying action.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "POST"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ticker": "GUARD",
  "network": "base",
  "service": "GuardRoute.ai",
  "success": true,
  "policyHash": "GUARD-3E6B87B64469",
  "nodesPortal": "https://guardroute.ai/nodes",
  "protocolToken": "0x3e6B87b64469a59A93432DdA3C44523c472a1b07",
  "routeDecision": "ALLOW_DETERMINISTIC"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/guardroute-ai-route-simulation-f61ce8ef/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from guardroute.ai](https://www.zero.xyz/host/guardroute.ai/llms.txt)
