Api Endpoint

ManyLives Market Data

Position-size and risk calculator for trading agents: from account size, risk % per trade, entry and stop (optional target and leverage) get the position size, notional, money at risk, reward-to-risk ratio, break-even win rate and an estimated liquidation price. Pure arithmetic, not financial advice.

Open interactive test console

Offering

Provider
api.manylives.me
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Financial Analysis
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.manylives.me/paid/trading/risk
MIME type
application/json
First seen
2026-10-16T01:50:45.949Z
Last seen
Tags
Trading, Risk, Crypto, market-data, Prices

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.005 USDC
Atomic price: 5000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0xD161874249321F8AE3000C19DdD070e46682f1B3"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "5000",
    "payTo": "AmsoCBJg5aE46w8NcXDFtsUEJtjzkeFQnoUmKu3hcyFx"
  }
]

Observed health

Status
Healthy
Latest latency
292 ms
Average latency
482 ms
HTTP status
402
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "const": "GET"
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "account": {
          "type": "string",
          "description": "account size in USD (required)",
          "examples": [
            "10000"
          ]
        },
        "risk_pct": {
          "type": "string",
          "description": "percent of the account to risk on this trade (required, e.g. 1)",
          "examples": [
            "1"
          ]
        },
        "entry": {
          "type": "string",
          "description": "entry price (required)",
          "examples": [
            "120000"
          ]
        },
        "stop": {
          "type": "string",
          "description": "stop-loss price (required)",
          "examples": [
            "117600"
          ]
        },
        "target": {
          "type": "string",
          "description": "optional take-profit price",
          "examples": [
            "124800"
          ]
        },
        "leverage": {
          "type": "string",
          "description": "optional, 1-125 (default 1)",
          "examples": [
            "10"
          ]
        },
        "fee_bps": {
          "type": "string",
          "description": "optional fee per side in basis points (default 5)"
        },
        "maintenance_margin_pct": {
          "type": "string",
          "description": "optional, for the liquidation estimate (default 0.5)"
        }
      },
      "required": [
        "account",
        "risk_pct",
        "entry",
        "stop"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ]
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "properties": {
        "method": {
          "const": "GET",
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "account": {
              "description": "account size in USD (required)",
              "examples": [
                "10000"
              ],
              "type": "string"
            },
            "entry": {
              "description": "entry price (required)",
              "examples": [
                "120000"
              ],
              "type": "string"
            },
            "fee_bps": {
              "description": "optional fee per side in basis points (default 5)",
              "type": "string"
            },
            "leverage": {
              "description": "optional, 1-125 (default 1)",
              "examples": [
                "10"
              ],
              "type": "string"
            },
            "maintenance_margin_pct": {
              "description": "optional, for the liquidation estimate (default 0.5)",
              "type": "string"
            },
            "risk_pct": {
              "description": "percent of the account to risk on this trade (required, e.g. 1)",
              "examples": [
                "1"
              ],
              "type": "string"
            },
            "stop": {
              "description": "stop-loss price (required)",
              "examples": [
                "117600"
              ],
              "type": "string"
            },
            "target": {
              "description": "optional take-profit price",
              "examples": [
                "124800"
              ],
              "type": "string"
            }
          },
          "required": [
            "account",
            "risk_pct",
            "entry",
            "stop"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "break_even_win_rate_pct": {
              "type": "number"
            },
            "fees_round_trip_usd": {
              "type": "number"
            },
            "leverage": {
              "type": "number"
            },
            "liquidation_price_est": {
              "type": "number"
            },
            "margin_usd": {
              "type": "number"
            },
            "notes": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "notional_usd": {
              "type": "number"
            },
            "position_units": {
              "type": "number"
            },
            "reward_to_risk": {
              "type": "number"
            },
            "reward_usd": {
              "type": "number"
            },
            "risk_after_fees_usd": {
              "type": "number"
            },
            "risk_usd": {
              "type": "number"
            },
            "side": {
              "type": "string"
            },
            "stop_before_liquidation": {
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "type": {
          "const": "json",
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}