Delx Commerce PnL with Fees 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).
Computes gross PnL, trading fees, and net PnL for a trade given entry price, exit price, position size, and fee rate
Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.
Returns a JSON object containing gross_pnl (profit before fees), fees (total fees charged based on size and fee rate), and net_pnl (gross_pnl minus fees), along with a schema identifier string for the response format.
POSThttps://commerce.delx.ai/api/v1/x402/pnl-with-fees?utm_source=zero.xyzChoose this endpoint when an agent needs a fast, verifiable, pay-per-use PnL computation that breaks down gross profit, fees, and net profit in a single call — particularly useful for trading bots, portfolio trackers, or automated trade journals that process many positions without needing a persistent subscription or account. Prefer over manual calculation when auditability and exact fee accounting are required.
| Field | Type | Description |
|---|---|---|
| exit | integer | Input field: exit. |
| size | integer | Input field: size. |
| entry | integer | Input field: entry. |
| fee_rate | number | Input field: fee rate. |
{
"type": "json",
"example": {
"fees": 0.21,
"schema": "delx/util-pnl-with-fees/v1",
"net_pnl": 9.79,
"gross_pnl": 10
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"