# Delx Commerce Break-Even Price Calculator

> Delx Commerce Break-Even Price Calculator 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 break-even price for a trading position given entry price, trade side (long/short), and fee rate

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/break-even-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-break-even-price-calculator-47de6e62
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VdAOC3jG3QsORH7BzAx8V

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-break-even-price-calculator-47de6e62 -d '<json body>'
```

Example prompt: What's my break-even price on a long position I entered at $100 with a 0.1% fee rate?

## When to prefer this

Choose this endpoint when an agent needs a precise, fee-adjusted break-even price for a trading position — especially in agentic trading workflows, portfolio management bots, or risk assessment pipelines that already use x402 micropayments (USDC on Base/Solana). Ideal when no signup or API key management is desired and results need to be verifiable.

## Known failure modes

- Missing required fields (side, entry, fee_rate) may result in validation error
- Invalid side value (not 'long' or 'short') may cause an error
- Negative or zero entry price likely returns an error
- Fee rate out of expected range may produce unexpected results
- Payment failure via x402 protocol will block the request

## 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 parameters (side, entry, fee_rate) and a computed break_even field representing the price at which the position neither profits nor loses after accounting for trading fees. Example: {"side":"long","entry":100,"schema":"delx/util-break-even-price/v1","fee_rate":0.001,"break_even":100.2}

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "side": "long",
  "entry": 100,
  "schema": "delx/util-break-even-price/v1",
  "fee_rate": 0.001,
  "break_even": 100.2
 }
}
```

## More

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