# Delx Commerce — Take Profit Price Calculator

> Delx Commerce — Take Profit 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 take-profit price level for a trade given an entry price, position side, and target profit percentage

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/take-profit-pct?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-take-profit-price-calculator-b29f68d2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KK61EEeyD4nch11UUjwdZ

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-take-profit-price-calculator-b29f68d2 -d '<json body>'
```

Example prompt: I'm entering a long position at 100 and want to take profit at 5% gain — what price should I set my take profit order at?

## When to prefer this

Choose this endpoint when an AI trading agent needs a fast, cheap, deterministic computation of a take-profit price from a percentage target and entry price, especially within an automated trading workflow that uses x402 micropayments on Base or Solana. It is preferable over general-purpose math tools when you want a finance-domain-specific, schema-versioned result that can be verified and audited.

## Known failure modes

- Missing required fields (pct, side, or entry) returns a validation error
- Invalid side value (not 'long' or 'short') may cause unexpected results
- Non-numeric entry or pct values return a parsing error
- Payment failure via x402 protocol results in 402 response before computation
- Extremely large or small numbers may cause precision issues in the output

## 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 echo of input parameters (pct, side, entry), a schema identifier ('delx/util-take-profit-pct/v1'), and the computed take_profit price as a numeric value representing the price level at which to place the take-profit order.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "pct": 0.05,
  "side": "long",
  "entry": 100,
  "schema": "delx/util-take-profit-pct/v1",
  "take_profit": 105
 }
}
```

## More

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