# Agent Result Budget Check

> Agent Result Budget Check is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Validates cumulative and per-call USDC spend against configured daily and per-call budget limits before accepting an x402 agent payment or delivery

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/agent-result-budget-check
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-result-budget-check-fbabf60c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Xyx_n2myoNwm5uA3BV4zg

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 agent-result-budget-check-fbabf60c -d '<json body>'
```

Example prompt: Before you pay for this agent result, check whether the call costs 0.05 USDC, I've already spent 1.20 USDC today, my daily maximum is 2.00 USDC, and my per-call maximum is 0.10 USDC — does this payment pass the budget check?

## When to prefer this

Use this endpoint when you need a lightweight, stateless, in-memory budget validation step before committing to an x402 payment or accepting an agent delivery. It is ideal for autonomous agent pipelines where you want to enforce per-call and daily USDC spend caps without maintaining server-side state. Prefer this over manual arithmetic checks when you need structured rejection reasons and normalized evidence for auditability.

## Known failure modes

- Non-numeric or malformed USDC string values may cause parse errors or unexpected comparison behavior
- Missing required fields (call_usdc, maximum_call_usdc, etc.) may result in incomplete validation
- Caller-supplied values that are extremely large strings (up to 8192 chars) could cause precision edge cases
- No external oracle is used, so the check is only as valid as the caller-supplied inputs — garbage in, garbage out

## How this service works

Agent Result Budget Check: Agent Result Budget Check checks cumulative caller-supplied spend against daily and per-call budgets from bounded caller-supplied values without an external provider. Call Agent Result Budget Check before paying for or accepting an x402 or agent delivery assembled from caller-supplied challenge and result metadata. Returns contract-specific checks, normalized evidence, mismatch reasons, and an explicit acceptance or rejection status for Agent Result Budget Check as ve…

## Output

Returns an explicit acceptance or rejection status for the payment, along with contract-specific budget checks, normalized evidence of the submitted values, and a list of mismatch reasons explaining any budget violations — all computed in-memory from the caller-supplied USDC values without any external calls or data retention.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "call_usdc": {
   "type": "string",
   "maxLength": 8192,
   "description": "Call USDC supplied to Agent Result Budget Check; used only for this bounded calculation and processed in memory without retention."
  },
  "maximum_day_usdc": {
   "type": "string",
   "maxLength": 8192,
   "description": "Maximum Day USDC supplied to Agent Result Budget Check; used only for this bounded calculation and processed in memory without retention."
  },
  "spent_today_usdc": {
   "type": "string",
   "maxLength": 8192,
   "description": "Spent Today USDC supplied to Agent Result Budget Check; used only for this bounded calculation and processed in memory without retention."
  },
  "maximum_call_usdc": {
   "type": "string",
   "maxLength": 8192,
   "description": "Maximum Call USDC supplied to Agent Result Budget Check; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "call_usdc": "0.001",
   "within_day_budget": true,
   "projected_day_usdc": "0.021",
   "within_call_budget": true
  },
  "schema": "delx/util-agent-result-budget-check/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "8ad48af0de0158cceae3022914dbbf4f16ced4ca1f4253475e7371a33188c62b",
   "external_calls": 0
  },
  "operation": "delivery_contract:agent_result_budget_check"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-result-budget-check-fbabf60c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
