For a long or short USDT/USDC-margined perp (isolated)
For a long or short USDT/USDC-margined perp (isolated): give entry, leverage and size (quantity, margin or notional) and get notional, initial margin, liquidation price, distance to liquidation, breakeven price after round-trip fees, PnL per 1% move. Add exit (+ hours_held and funding_rate_pct per 8h) for gross/net PnL, fees, funding paid, ROE and whether it would have been liquidated first. Maintenance margin and fee bps adjustable (defaults 0.5% / 5 bps).
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://agents.204-168-199-108.sslip.io/v1/crypto/perp-calc
| Category | Market data |
|---|---|
| Provider host | agents.204-168-199-108.sslip.io |
| Networks | aws:base, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-30 | valid payment request | 402 | $0.001 | 954 ms |
| 2026-11-29 | valid payment request | 402 | $0.001 | 968 ms |
| 2026-11-28 | valid payment request | 402 | $0.001 | 963 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"entry": "3000",
"exit": "3150",
"funding_rate_pct": "0.01",
"hours_held": "24",
"leverage": "10",
"margin": "500",
"side": "long"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"entry": {
"description": "Entry price",
"type": "string"
},
"exit": {
"description": "Exit price (optional)",
"type": "string"
},
"fee_bps": {
"description": "Taker fee per side in bps (default 5)",
"type": "string"
},
"funding_rate_pct": {
"description": "Funding per 8h in % (optional)",
"type": "string"
},
"hours_held": {
"description": "Hours held (for funding)",
"type": "string"
},
"leverage": {
"description": "Leverage (default 1)",
"type": "string"
},
"maintenance_margin_pct": {
"description": "Default 0.5",
"type": "string"
},
"margin": {
"description": "Or: collateral in USD",
"type": "string"
},
"notional": {
"description": "Or: position value in USD",
"type": "string"
},
"quantity": {
"description": "Position size in coins",
"type": "string"
},
"side": {
"description": "long or short",
"type": "string"
}
},
"required": [
"entry"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}