# Delx Base USDC Amount Check

> Delx Base USDC Amount 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 whether a raw USDC amount matches an expected value and falls within a maximum threshold, returning a structured pass/fail result.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/base-usdc-amount-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/delx-base-usdc-amount-check-8d9e6bdf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dvtF738LFgtOratSYz2m1

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-base-usdc-amount-check-8d9e6bdf -d '<json body>'
```

Example prompt: Before I send the payment, check if the raw USDC amount of 1000 matches the expected 1000 and is within the maximum of 2000 on Base.

## When to prefer this

Use this endpoint when an AI agent needs to perform an in-memory, zero-retention preflight check on raw USDC token amounts on the Base network before committing to an EVM transaction. It is ideal for agentic payment workflows where you need to confirm both value equality and ceiling compliance in a single auditable call without any external side effects.

## Known failure modes

- Missing or non-string amount_raw, maximum_raw, or expected_raw fields cause validation errors
- amount_raw exceeding maximum_raw returns within_maximum: false without error
- amount_raw not matching expected_raw returns matched: false without error
- Malformed numeric strings may cause unexpected comparison behavior
- Network or service errors return non-200 HTTP status

## How this service works

Base USDC Amount Check: Base USDC Amount Check checks a six-decimal USDC raw amount against exact and maximum values from bounded caller-supplied values without an external provider. Call Base USDC Amount Check before signing, submitting, replacing, or accepting an EVM/Base transaction assembled from caller-owned data. Returns normalized transaction evidence, calculated budget or shape findings, and a fail-closed preflight status for Base USDC Amount Check as versioned deterministic JSON. Price…

## Output

Returns a JSON object with a 'result' field containing: matched (boolean indicating if amount_raw equals expected_raw), within_maximum (boolean), and echoed input values. Also returns a 'status' field ('pass' or 'fail'), an 'operation' label ('evm_preflight:base_usdc_amount_check'), and an 'evidence' block with input SHA-256 hash, retention flag (always false), and external call count (always 0).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "amount_raw": {
   "type": "string",
   "maxLength": 8192,
   "description": "Amount Raw supplied to Base USDC Amount Check; used only for this bounded calculation and processed in memory without retention."
  },
  "maximum_raw": {
   "type": "string",
   "maxLength": 8192,
   "description": "Maximum Raw supplied to Base USDC Amount Check; used only for this bounded calculation and processed in memory without retention."
  },
  "expected_raw": {
   "type": "string",
   "maxLength": 8192,
   "description": "Expected Raw supplied to Base USDC Amount Check; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "matched": true,
   "amount_raw": "1000",
   "maximum_raw": "2000",
   "expected_raw": "1000",
   "within_maximum": true
  },
  "schema": "delx/util-base-usdc-amount-check/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "475cde95095ef40136b0768b816113c884ea06f6e34f2f469218879405555c5a",
   "external_calls": 0
  },
  "operation": "evm_preflight:base_usdc_amount_check"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-base-usdc-amount-check-8d9e6bdf/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)
