# Delx Commerce Price Floor Calculator

> Delx Commerce Price Floor Calculator is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-01).

Calculates the minimum sell price for an API call given a base cost and desired profit margin percentage.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/price-floor?utm_source=zero.xyz
- Price: $0.003/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-price-floor-calculator-92a1d44b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_M13tZGixhX6CUR4drTH0b

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-price-floor-calculator-92a1d44b -d '<json body>'
```

Example prompt: My underlying cost for this API call is $0.002 and I want a 40% profit margin — what's the minimum price I should charge?

## When to prefer this

Use this endpoint when you need a deterministic, formula-based calculation of the minimum price to charge for a service given a known cost and desired margin. Ideal for API monetization scenarios, agent commerce pipelines, or any automated pricing workflow where reproducibility and exact math matter. Prefer this over manual calculation when operating in agent workflows that require verifiable, auditable pricing decisions.

## Known failure modes

- Missing required fields (cost or target_margin_percent) results in a 400 error
- target_margin_percent of 100 or above causes division by zero or infinite price
- Negative cost values may produce nonsensical results
- Invalid data types (e.g. string instead of number) return a validation error
- Payment not included or insufficient USDC triggers a 402 Payment Required response

## 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 computed minimum price, the base cost used, the target margin percent, the formula applied (cost / (1 - target_margin)), and the schema identifier for this response type.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "cost": {
   "type": "number",
   "description": "Input field: cost."
  },
  "target_margin_percent": {
   "type": "number",
   "description": "Input field: target_margin_percent."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "cost": 0.002,
  "schema": "delx/util-price-floor/v1",
  "formula": "cost / (1 - target_margin)",
  "minimum_price": 0.003333,
  "target_margin_percent": 40
 }
}
```

## More

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