x402
utility

Percent profit/loss from entry and exit prices. Call when ranking trades or alerts by return instead of absolute dollars. Returns pnl percent from entry→exit 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.

post/api/v1/x402/pnl-pct

Request

  • Base URL: https://api.delx.ai
  • URL: https://api.delx.ai/api/v1/x402/pnl-pct
  • Auth: none declared

Request body

entryinteger required

Input field: entry.

exitinteger required

Input field: exit.

Response

Paid utility result. Downstream tool errors are returned as structured result payloads with HTTP 200 after payment succeeds.

schemastring
entrynumber
exitnumber
pnl_pctnumber

Changes

No recorded changes to this operation across all 1 revision of this API.