{"uid":"cap_DH0cgurqO4A1xBlM7EdDV","slug":"finmath-loan-amortization-4fa0a203","name":"finmath Loan Amortization","description":"Deterministic finance and crypto math for AI agents: TradFi (NPV, IRR, XIRR, Black-Scholes + Greeks, bonds, VaR, Sharpe) and DeFi (impermanent loss, perp liquidation, funding, Uniswap v3, health factor, cost basis). Exact, model-free arithmetic that LLMs get wrong — priced per call in USDC.","url":"https://finmath.qzqh5rrbkz.workers.dev/v1/loan_amortization","method":"POST","headers":{},"bodySchema":{"type":"object","required":["n_months","principal","annual_rate"],"properties":{"n_months":{"type":"number","description":"n_months"},"principal":{"type":"number","description":"principal"},"annual_rate":{"type":"number","description":"annual_rate"}}},"responseSchema":{"type":"object","required":["result","meta"],"properties":{"meta":{"type":"object"},"result":{}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hntcsSWkIZPG0cCgiU4oF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a full loan amortization schedule given principal, annual interest rate, and loan term in months","exampleAgentPrompt":"Can you generate a full amortization schedule for a $250,000 mortgage at 6.75% annual interest rate over 360 months — I want to see the principal vs interest breakdown each month?","exampleUseCases":null,"resultDescription":"Returns a structured result containing the full monthly amortization schedule with per-period breakdown of payment amount, principal repaid, interest charged, and remaining balance, plus metadata about the computation.","failureModes":["Missing required fields (n_months, principal, or annual_rate) returns a 400 error","Non-positive principal or n_months causes calculation error","Annual rate of 0 may require special-case handling (returns flat principal division)","Payment failure via x402 protocol returns 402 if USDC balance is insufficient","Extremely large n_months values may produce very large payloads"],"whenToPreferThis":"Use this endpoint when you need exact, deterministic loan amortization math rather than an LLM approximation. Ideal for mortgage calculators, loan comparison tools, or any financial agent workflow requiring precise principal/interest schedules. Prefer over general-purpose LLMs which are prone to arithmetic errors on multi-period financial computations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:54:01.919Z","isFirstParty":false}