# x402 Agent Suite Spend Governor Check

> x402 Agent Suite Spend Governor Check is a paid API for AI agents from x402-agent-suite-production.up.railway.app, paid per call via x402, $0.030000/call, status unknown (last checked 2026-09-29).

Validates whether a proposed spend action falls within a configured policy's daily cap, per-call cap, and allowed host restrictions before authorizing payment.

## Facts

- Endpoint: POST https://x402-agent-suite-production.up.railway.app/api/spend-governor/check?utm_source=zero.xyz
- Price: $0.030000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-agent-suite-spend-governor-check-caa392f7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FTyimliuIZAzmI_YIdXDn

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 x402-agent-suite-spend-governor-check-caa392f7 -d '<json body>'
```

Example prompt: Before calling that paid API endpoint, check if spending $0.05 USDC is within policy for agent 'agent-42' targeting api.weatherprovider.com — the policy allows $2.00/day, $0.10 per call, and only permits requests to api.weatherprovider.com and api.dataprovider.com.

## When to prefer this

Use this endpoint when you need a lightweight, policy-enforced pre-authorization check before an AI agent commits to a paid API call. It is specifically designed for autonomous agent workflows where you want to enforce daily budget caps, per-call spending limits, and host allowlists without executing the actual payment. Prefer this over general budget tracking tools when you need a structured policy object with allowedHosts enforcement in the x402 agent suite ecosystem.

## Known failure modes

- Policy fields missing (dailyCapUsdc, perCallCapUsdc, or allowedHosts absent) — returns 400 validation error
- Target host not in allowedHosts list — returns denial/rejection response
- Estimated cost exceeds perCallCapUsdc — returns over-limit response
- Daily cap would be exceeded by this spend — returns budget exhausted response
- Invalid network value — may return 400 or unknown network error
- Service unavailable — returns 5xx error

## How this service works

24 paid x402 infrastructure APIs for AI agent fleets: buy advisor, audition coach, guard, proxy, MPP, attestations, and pipeline orchestration.

## Output

Returns a decision indicating whether the proposed spend is within the configured policy limits, including whether the estimated cost is below the per-call cap, whether the daily cap would be exceeded, and whether the target URL's host is in the allowed list.

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "ok",
      "allowed",
      "summary"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "allowed": {
       "type": "boolean"
      },
      "summary": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "allowed": true,
  "summary": "Paid response after x402 settlement"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-agent-suite-spend-governor-check-caa392f7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent-suite-production.up.railway.app](https://www.zero.xyz/host/x402-agent-suite-production.up.railway.app/llms.txt)
