# Delx Commerce Fee Quote API

> Delx Commerce Fee Quote API 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).

Computes the fee amount for a given notional value and fee rate, returning the exact cost before executing a pay-per-result API transaction.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/fee-quote?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-fee-quote-api-aebd07de
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jSZSY3l_Jb0A3qXxQ1OWH

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-fee-quote-api-aebd07de -d '<json body>'
```

Example prompt: Before I commit to the payment, can you get me a fee quote from Delx Commerce using a fee rate of 0.0005 and a notional of 1000?

## When to prefer this

Use this endpoint when you need to preview or verify the exact fee cost of a Delx Commerce pay-per-result API call before committing to payment, especially when budget transparency or auditability is required prior to executing a USDC transaction on Base or Solana.

## Known failure modes

- Missing or invalid fee_rate or notional fields returns a validation error
- Non-numeric inputs cause a 400 Bad Request
- Network or server errors return a 5xx response
- Zero or negative notional may return an error or zero fee
- Excessively large notional values may be rejected

## 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 containing the computed fee amount (e.g. 0.5), the fee_rate used, the notional value, and a schema identifier (delx/util-fee-quote/v1) confirming the response format and version.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "fee_rate": {
   "type": "number",
   "description": "Input field: fee rate."
  },
  "notional": {
   "type": "integer",
   "description": "Input field: notional."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "fee": 0.5,
  "schema": "delx/util-fee-quote/v1",
  "fee_rate": 0.0005,
  "notional": 1000
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-fee-quote-api-aebd07de/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)
