# Delx Commerce Agent Result Cost Check

> Delx Commerce Agent Result Cost 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 given USDC cost is within a specified budget maximum, returning a verifiable pass/fail result with evidence of no data retention.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/agent-result-cost-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-cost-check-44272522
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RgKsOdRhRFH_24cWAOY7i

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-cost-check-44272522 -d '<json body>'
```

Example prompt: Before I approve this next API step, check if the cost of 0.001 USDC is within my budget of 0.002 USDC and confirm no data is retained.

## When to prefer this

Use this endpoint when an AI agent needs a lightweight, verifiable, privacy-preserving check to confirm a USDC cost is within a budget before authorizing a pay-per-result payment. Prefer it over manual comparisons when you need cryptographic evidence (SHA-256 input hash, zero external calls, no retention) for compliance or audit purposes within agent workflows.

## Known failure modes

- Invalid or non-numeric USDC string values cause parsing errors
- Missing required fields returns a validation error
- cost_usdc exceeds maximum_usdc returns within_budget: false with status fail
- Malformed JSON body returns a 400 error
- Payment of 0.001 USDC not included returns a 402 Payment Required

## 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 with the submitted cost amount, the maximum budget, a boolean within_budget flag, a pass/fail status, and an evidence block containing a SHA-256 hash of the input, a flag confirming no data retention, and a count of zero external calls made.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "cost_usdc": {
   "type": "string",
   "maxLength": 8192,
   "description": "Cost USDC supplied to Agent Result Cost Check; used only for this bounded calculation and processed in memory without retention."
  },
  "maximum_usdc": {
   "type": "string",
   "maxLength": 8192,
   "description": "Maximum USDC supplied to Agent Result Cost Check; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "amount_usdc": "0.001",
   "maximum_usdc": "0.002",
   "within_budget": true
  },
  "schema": "delx/util-agent-result-cost-check/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "22cac9b8faf2680905382f84e7f4ba215e19e1473c911e345e9e10defcc59533",
   "external_calls": 0
  },
  "operation": "delivery_contract:agent_result_cost_check"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-agent-result-cost-check-44272522/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)
