# Delx Price Ceiling Check

> Delx Price Ceiling 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-13).

Checks whether a given USDC price falls within a buyer-specified ceiling, optionally with a buffer percentage, and returns a deterministic pass/fail result.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/price-ceiling-check
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-price-ceiling-check-973f2fe6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HucoOnPb3BpPPK51QxMVo

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-price-ceiling-check-973f2fe6 -d '<json body>'
```

Example prompt: Before I approve this payment, check if the quoted price of 0.05 USDC is under my ceiling of 0.10 USDC with a 10% buffer.

## When to prefer this

Use this endpoint when an AI agent needs a fast, cheap, stateless preflight check to confirm a USDC price is within a buyer-specified budget ceiling before authorizing a payment or continuing a workflow. Prefer it over manual comparison logic when you need a standardized, machine-readable JSON result with optional buffer tolerance built in.

## Known failure modes

- Missing required fields (price_usdc or ceiling_usdc) result in a validation error
- Non-numeric or negative values for price or ceiling may return an error response
- buffer_pct outside expected integer range may produce unexpected results
- Network timeout returns no result; caller must retry

## How this service works

Check whether a published USDC price stays under a buyer ceiling — first-party local utility for agent preflight and proven micro-utils expansion. Returns deterministic machine-readable JSON for $0.001 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, no web search, no live RPC, and no mediagen. Results are advisory; the caller owns authorization, budgets, and production controls. Sibling of Delx routes that alread…

## Output

Returns deterministic machine-readable JSON indicating whether the supplied price_usdc passes or fails the ceiling_usdc threshold, factoring in any optional buffer_pct. The result is advisory and stateless — no side effects, no data retention.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "buffer_pct": {
   "type": "integer",
   "description": "Input field: buffer pct."
  },
  "price_usdc": {
   "type": "number",
   "description": "Input field: price usdc."
  },
  "ceiling_usdc": {
   "type": "number",
   "description": "Input field: ceiling usdc."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "schema": "delx/util-price-ceiling-check/v1",
  "status": "within_budget",
  "allowed": true,
  "buffer_pct": 0,
  "price_usdc": 0.01,
  "ceiling_usdc": 0.02,
  "headroom_usdc": 0.01,
  "effective_ceiling_usdc": 0.02
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-price-ceiling-check-973f2fe6/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)
