{
  "x402Version": 2,
  "id": 57133,
  "slug": "57133",
  "resource": "https://manylives.me/paid/calc/finance",
  "description": "Exact finance maths: loan repayment and total interest, compound growth with regular contributions, NPV and IRR of cash flows, and ROI with annualised return.",
  "type": "http",
  "resourceType": "Developer Tool",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xD161874249321F8AE3000C19DdD070e46682f1B3",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "op": "loan",
            "principal": "400000",
            "rate": "6",
            "years": "30"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "op": "loan",
            "payment": 1798.65,
            "total_interest": 247514,
            "total_paid": 647514
          },
          "type": "json"
        }
      },
      "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": {
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "manylives.me",
  "lastUpdated": "2026-10-09T01:30:59.125Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-09T01:30:58.765Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "op": "loan",
              "principal": "400000",
              "rate": "6",
              "years": "30"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "op": "loan",
              "payment": 1798.65,
              "total_interest": 247514,
              "total_paid": 647514
            },
            "type": "json"
          }
        },
        "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": {
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "manylives.me",
    "manifest_name": "manylives.me",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {}
}