# GuardRoute.ai Budget Enforcer

> GuardRoute.ai Budget Enforcer 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).

Performs live risk scoring and policy routing on AI-agent requests, enforcing budget and spend limits before any action is executed.

## Facts

- Endpoint: GET https://guardroute.ai/api/x402/budget-enforcer?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-budget-enforcer-5d1a733f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sZ18sD7X6KdqTAIq5G8i4

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-budget-enforcer-5d1a733f
```

Example prompt: Before my AI agent sends that wire transfer, run it through GuardRoute's budget enforcer to check if it's within policy and get a route decision — the request is a GET.

## When to prefer this

Choose this endpoint when you need a real-time, pre-execution policy check on AI agent actions, wire transfers, or beneficiary changes — especially when deterministic allow/deny routing with a verifiable policy hash is required. Prefer it over generic rate-limiting or post-hoc audit tools when the goal is to intercept and gate actions before they happen.

## Known failure modes

- Payment not included or insufficient USDC — returns 402 Payment Required
- Invalid or missing required query parameters — returns 400 Bad Request
- Policy not found or misconfigured — may return 404 or an error in the response body
- Network congestion or node unavailability — may cause timeout or 503
- Unsupported HTTP method — only GET/HEAD/POST accepted

## 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 containing: a boolean success flag, a routeDecision field (e.g. ALLOW_DETERMINISTIC or DENY), a policyHash identifying which policy was evaluated, the GuardRoute service name, the network (base), the protocol token contract address, and a link to the nodes portal.

## 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-budget-enforcer-5d1a733f/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)
