# Delx Price Floor

> Delx Price Floor is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-13).

Calculate the minimum selling price required to achieve a specified gross margin percentage given an input cost.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/price-floor
- Price: $0.003/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-floor-5ebe8a0b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hFZFiBXWFylkzq6fFrqMW

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-floor-5ebe8a0b -d '<json body>'
```

Example prompt: What's the minimum price I need to charge if my cost is $45 and I want at least a 35% gross margin?

## When to prefer this

Use this endpoint when you need a fast, stateless, deterministic calculation of the minimum price required for a target gross margin — ideal as a preflight step in enterprise agent workflows before pricing decisions reach production. Prefer it over custom code when you want a zero-retention, auditable computation with no side effects and a consistent JSON response format.

## Known failure modes

- Missing required fields (cost or target_margin_percent) returns validation error
- Non-numeric or negative cost values may return error or undefined behavior
- target_margin_percent of 100% or above is mathematically undefined (division by zero or negative divisor)
- Payment failure via x402 returns 402 with payment details
- Invalid JSON body returns 400 bad request

## How this service works

Calculate the minimum price required for a target gross margin. Use it as a bounded preflight or analysis step inside an enterprise agent workflow before data, policy, integration, security, or commercial decisions reach production. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, memory-only, and has no paid upstream or input retention. Results are advisory; the caller remains responsible for authorization and produc…

## Output

Returns a deterministic JSON object containing the calculated minimum price (price floor) required to achieve the specified gross margin percentage given the input cost, along with supporting margin metadata. Results are advisory and machine-readable.

## 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-price-floor-5ebe8a0b/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)
