# Delx Commerce Agent Result Budget Check

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

Checks whether a single API call cost and projected daily spend fall within a configured per-call and per-day USDC budget

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/agent-result-budget-check?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-agent-result-budget-check-db6e567b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_28owKgFrqboPex0I0C8Te

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

Example prompt: Before making the next paid call, check if spending $0.001 USDC is within budget — I've already spent $0.021 today, my daily cap is $0.05, and my per-call limit is $0.005.

## When to prefer this

Use this endpoint when an autonomous agent needs a lightweight, verifiable, in-memory budget gate before executing any pay-per-result API call. It is ideal for enforcing per-call and per-day USDC spending limits without storing sensitive data, particularly within agent orchestration loops on Base or Solana. Prefer this over custom budget logic when you want a tamper-evident SHA-256 evidence receipt confirming no retention.

## Known failure modes

- Missing or malformed numeric string inputs may cause computation errors
- If spent_today_usdc plus call_usdc exceeds maximum_day_usdc, within_day_budget returns false (not an error, expected behavior)
- If call_usdc exceeds maximum_call_usdc, within_call_budget returns false
- Payment of $0.001 USDC required via x402; insufficient funds or wrong chain will block the call
- Non-numeric string values in USDC fields will likely result in a 400 error

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object indicating whether the call is within the per-call budget (within_call_budget), whether it is within the daily budget (within_day_budget), the projected total daily spend after this call (projected_day_usdc), and verifiable evidence including an input SHA-256 hash confirming no data was retained and no external calls were made. Status field reports 'pass' or equivalent.

## 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/delx-commerce-agent-result-budget-check-db6e567b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
