{"uid":"cap_r233Z4m53Lq1wIxrhB-HC","slug":"api-x402node-dev-32c874d2","name":"Interest & Loan Payment Calculator","description":"Interest calculator, compound interest, simple interest, loan payment, mortgage calculator, annuity, APR APY, future value, present value, investment return. Compute simple/compound interest or annuity loan payments with configurable compounding frequency. Accepts payment on Base or Solana — either network works.","url":"https://api.x402node.dev/math/interest","method":"GET","headers":{},"bodySchema":{"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":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"n":{"type":"string","description":"N (optional)"},"rate":{"type":"string","description":"Rate (optional)"},"type":{"type":"string","description":"Type (optional)"},"years":{"type":"string","description":"Years (optional)"},"principal":{"type":"string","description":"Principal (optional)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nGeHVoItzxP13MP_O3AEW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes simple interest, compound interest, annuity loan payments, and related financial metrics (APR/APY, future/present value) with configurable compounding frequency","exampleAgentPrompt":"Calculate the monthly payment for a $250,000 mortgage at 6.5% annual interest compounded monthly over 30 years using compound annuity mode.","exampleUseCases":null,"resultDescription":"Returns computed financial values including interest amount, total payment or balance, future or present value, APR, APY, and periodic payment amount depending on the calculation type requested","failureModes":["Missing required fields (principal, rate, or period) returns 400 validation error","Invalid compounding frequency value returns 400","Negative principal or rate may return 422 or unexpected results","Request times out if server is overloaded — retry recommended","Payment failure returns 402 if x402 wallet balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need reliable server-side financial math for compound/simple interest, loan or mortgage payments, annuity calculations, APR/APY conversions, or future/present value projections — especially in agentic pipelines where reproducibility and a standardized API response matter more than building custom formulas","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:47:12.309Z","isFirstParty":false}