Api Endpoint

ManyLives Tools

Exact finance maths: loan repayment and total interest, compound growth with regular contributions, NPV and IRR of cash flows, and ROI with annualised return.

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/calc/finance
MIME type
application/json
First seen
2026-10-16T01:50:53.972Z
Last seen
Tags
Agents, calc, Finance, tools, Data, utilities, JSON

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
1302 ms
Average latency
969 ms
HTTP status
402
Last checked
Reachability
100% over 11 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": {
        "op": {
          "type": "string",
          "description": "loan, compound, npv, irr or roi (required)",
          "examples": [
            "loan"
          ]
        },
        "principal": {
          "type": "string",
          "description": "loan/compound: starting amount",
          "examples": [
            "400000"
          ]
        },
        "rate": {
          "type": "string",
          "description": "annual rate in percent (loan, compound, npv)",
          "examples": [
            "6"
          ]
        },
        "years": {
          "type": "string",
          "description": "loan/compound/roi: years",
          "examples": [
            "30"
          ]
        },
        "payments_per_year": {
          "type": "string",
          "description": "loan: default 12"
        },
        "contribution": {
          "type": "string",
          "description": "compound: added each period"
        },
        "periods_per_year": {
          "type": "string",
          "description": "compound: default 12"
        },
        "flows": {
          "type": "string",
          "description": "npv/irr: comma-separated cash flows, first is usually negative"
        },
        "cost": {
          "type": "string",
          "description": "roi: amount invested"
        },
        "value": {
          "type": "string",
          "description": "roi: final value"
        }
      },
      "required": [
        "op"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ]
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "properties": {
        "method": {
          "const": "GET",
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "contribution": {
              "description": "compound: added each period",
              "type": "string"
            },
            "cost": {
              "description": "roi: amount invested",
              "type": "string"
            },
            "flows": {
              "description": "npv/irr: comma-separated cash flows, first is usually negative",
              "type": "string"
            },
            "op": {
              "description": "loan, compound, npv, irr or roi (required)",
              "examples": [
                "loan"
              ],
              "type": "string"
            },
            "payments_per_year": {
              "description": "loan: default 12",
              "type": "string"
            },
            "periods_per_year": {
              "description": "compound: default 12",
              "type": "string"
            },
            "principal": {
              "description": "loan/compound: starting amount",
              "examples": [
                "400000"
              ],
              "type": "string"
            },
            "rate": {
              "description": "annual rate in percent (loan, compound, npv)",
              "examples": [
                "6"
              ],
              "type": "string"
            },
            "value": {
              "description": "roi: final value",
              "type": "string"
            },
            "years": {
              "description": "loan/compound/roi: years",
              "examples": [
                "30"
              ],
              "type": "string"
            }
          },
          "required": [
            "op"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "op": {
              "type": "string"
            },
            "payment": {
              "type": "number"
            },
            "total_interest": {
              "type": "number"
            },
            "total_paid": {
              "type": "number"
            }
          },
          "type": "object"
        },
        "type": {
          "const": "json",
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}