# Delx Commerce Impact Price

> Delx Commerce Impact Price 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).

Calculates the market impact price for a trade given a mid price, side (buy/sell), and slippage tolerance in basis points

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/impact-price?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-impact-price-3c328c4b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mX6TRR5tuSwp2xdDSracq

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-impact-price-3c328c4b -d '<json body>'
```

Example prompt: What's the impact-adjusted execution price for a buy order at a mid of 100 with 15 basis points of slippage tolerance?

## When to prefer this

Choose this endpoint when you need a fast, pay-per-use computation of market impact price for a single order without setting up an account or managing subscriptions. It is ideal for AI trading agents that need on-demand, verifiable execution price estimates with USDC micropayments via the x402 protocol on Base or Solana.

## Known failure modes

- Missing required fields (mid, side, or slippage_bps) returns a 400 error
- Invalid side value (not 'buy' or 'sell') causes a validation error
- Payment failure or insufficient USDC balance results in 402 Payment Required
- Malformed integer for mid or slippage_bps causes a schema validation error
- Network or API downtime returns 5xx errors

## 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 input mid price, the trade side, the schema identifier, and the calculated impact price reflecting market impact and slippage adjustment (e.g. {"mid":100,"side":"buy","schema":"delx/util-impact-price/v1","impact_price":100.15}).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mid": {
   "type": "integer",
   "description": "Input field: mid."
  },
  "side": {
   "type": "string",
   "description": "Input field: side."
  },
  "slippage_bps": {
   "type": "integer",
   "description": "Input field: slippage bps."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "mid": 100,
  "side": "buy",
  "schema": "delx/util-impact-price/v1",
  "impact_price": 100.15
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-impact-price-3c328c4b/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)
