# Break-even Price Calculator

> Break-even Price Calculator is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Computes the break-even exit price for a trade position, accounting for a round-turn fee rate, so that profit targets actually clear all fees.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/break-even-price
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/break-even-price-calculator-a808ace1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__OroOLRk5zN-gf52GohDO

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

Example prompt: I entered a long position at 42500 with a round-turn fee rate of 0.001 — what exit price do I need just to break even after fees?

## When to prefer this

Use this endpoint when you need a fast, deterministic, fee-aware break-even price calculated locally without any live market feed, API key, or external RPC dependency. Prefer it over manual calculation when automating trade target setting in bots or agents where fee-adjusted targets must be computed reliably and cheaply at $0.001 per call.

## Known failure modes

- Missing required fields (side, entry, fee_rate) returns a validation error
- Invalid side value (not long/short or equivalent) causes a bad request error
- Negative or zero entry price produces an invalid input error
- Fee rate out of plausible range may return a warning or error
- Network or payment failure (x402 USDC payment not processed) blocks response

## How this service works

Break-even exit price including a fee rate on the round-turn. Call when setting targets that actually clear fees. Returns break-even price as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.

## Output

A deterministic JSON object containing the computed break-even exit price — the minimum exit level at which the round-trip trade (entry plus exit) nets zero after applying the specified fee rate on both legs. No market data is fetched; all arithmetic is performed locally.

## 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/break-even-price-calculator-a808ace1/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)
