# ManyLives Trading Risk Calculator

> ManyLives Trading Risk Calculator is a paid API for AI agents from api.manylives.me, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-10).

Calculates position sizing, risk/reward metrics, liquidation estimates, and break-even win rate for a crypto or stock trade given account size, entry, stop-loss, and optional take-profit.

## Facts

- Endpoint: GET https://api.manylives.me/paid/trading/risk?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/manylives-trading-risk-calculator-ea5154d0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wPkmlxHW9iJ6nImOH-hgj

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 manylives-trading-risk-calculator-ea5154d0
```

Example prompt: I have a $10,000 trading account and want to risk 1% on a long Bitcoin trade — entry at $120,000, stop at $117,600, target at $124,800, with 10x leverage. Can you calculate my position size, liquidation price, and reward-to-risk ratio?

## When to prefer this

Use this endpoint when an AI trading agent needs to compute exact position sizing and risk metrics before placing a trade, especially for leveraged crypto or futures positions where liquidation price and margin requirements are critical. Prefer this over manual calculation when you need break-even win rate and fee-adjusted risk in a single call. It requires no account registration and charges only $0.005 USDC per call via x402.

## Known failure modes

- Missing required parameters (account, risk_pct, entry, stop) return an error
- Stop price equal to or above entry for a long trade may produce nonsensical results
- Leverage outside 1-125 range may be rejected
- Non-numeric string values for price/account fields cause parsing errors
- Payment of 0.005 USDC not fulfilled results in HTTP 402 response

## How this service works

Pay-per-call tools for people building AI agents: live web search and page contents, point-in-time crypto market data and news for backtests (no lookahead), verifiable track records of 1,000 crypto strategies locked on the Base network, company profiles, quick AI and batch prices. Ask us to turn a public website into a JSON endpoint. Pay per call, no account, free trial.

## Output

A JSON object containing: trade side (long/short), risk in USD, reward in USD, position size in units, notional value, margin required, reward-to-risk ratio, estimated round-trip fees, risk after fees, estimated liquidation price, break-even win rate percentage, whether the stop is above the liquidation price, and a disclaimer note.

## Request schema (JSON Schema)

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

… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "side": "long",
  "notes": [
   "Arithmetic only. Not financial advice or a recommendation."
  ],
  "leverage": 10,
  "risk_usd": 100,
  "margin_usd": 500,
  "reward_usd": 200,
  "notional_usd": 5000,
  "position_units": 0.041667,
  "reward_to_risk": 2,
  "fees_round_trip_usd": 5,
  "risk_after_fees_usd": 105,
  "liquidation_price_est": 108600,
  "break_even_win_rate_pct": 35,
  "stop_before_liquidation": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/manylives-trading-risk-calculator-ea5154d0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.manylives.me](https://www.zero.xyz/host/api.manylives.me/llms.txt)
