{"uid":"cap_ihjuOqc3xm7_DDp6dqGLS","slug":"agent-data-tools-revmesh2074-workers-dev-loan-and-mortgage-calculator-b5079585","name":"Loan and Mortgage Calculator","description":"Monthly payment of an amortised loan or mortgage from the amount, the annual interest rate and the term, plus the total paid, the total interest and the first months of the repayment schedule (principal, interest and balance). Fixed rate, monthly payments. Use to compare loan offers or plan a mortgage.","url":"https://agent-data-tools.revmesh2074.workers.dev/calc/loan?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["principal","rate"],"properties":{"rate":{"type":"number","description":"Annual interest rate in percent, 0-100"},"rows":{"type":"integer","description":"Schedule rows to return, 0-60 (default 3)"},"years":{"type":"number","description":"Term in years (default 30), or give months"},"months":{"type":"integer","description":"Term in months, instead of years"},"principal":{"type":"number","description":"Amount borrowed"}}},"responseSchema":{"type":"object","properties":{"payments":{"type":"number"},"schedule":{"type":"array","items":{"type":"object","properties":{"month":{"type":"number"},"balance":{"type":"number"},"payment":{"type":"number"},"interest":{"type":"number"},"principal":{"type":"number"}}}},"totalPaid":{"type":"number"},"totalInterest":{"type":"number"},"monthlyPayment":{"type":"number"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USD","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BjcaxRjON36T1vBIBVcVJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"agent-data-tools.revmesh2074.workers.dev","brandSlug":"agent-data-tools-revmesh2074-workers-dev-x402","brandBaseUrl":"https://agent-data-tools.revmesh2074.workers.dev","brandDocsUrl":null,"whatItDoes":"Calculates monthly payment, total interest, total paid, and amortization schedule for a fixed-rate loan or mortgage given principal, annual rate, and term.","exampleAgentPrompt":"Can you calculate the monthly payment and total interest for a $350,000 mortgage at 6.75% annual interest over 30 years, and show me the first 12 months of the repayment schedule?","exampleUseCases":[{"title":"Comparing two mortgage offers","prompt":"I have two loan offers: $400,000 at 6.5% for 30 years, and $400,000 at 7.1% for 25 years. Can you calculate the monthly payment and total interest for each so I can compare them?"},{"title":"First-time homebuyer budget planning","prompt":"I'm thinking of borrowing $275,000 at 7.25% for 30 years for my first home — what would my monthly payment be, how much total interest will I pay over the life of the loan, and can I see the first 6 months of how my payments break down?"},{"title":"Car loan payoff breakdown","prompt":"I'm taking out a $28,000 car loan at 5.9% for 5 years. What's my monthly payment, how much interest will I pay in total, and show me the full 60-month repayment schedule?"}],"resultDescription":"Returns a JSON object with the computed monthly payment, total amount paid over the loan term, total interest paid, total number of payments, and an array of amortization schedule rows (up to 60) each showing the month number, payment amount, interest portion, principal portion, and remaining balance.","failureModes":["Missing required 'principal' or 'rate' parameter returns a validation error","Rate of 0% may produce a divide-by-zero or edge-case result depending on implementation","Very large or negative principal/rate values may return unexpected results","rows parameter outside 0-60 range may be clamped or return an error","Non-numeric inputs for numeric fields will cause a bad request error"],"whenToPreferThis":"Use this endpoint when you need a quick, accurate amortization calculation for a fixed-rate loan or mortgage with monthly payments. It is ideal for comparing loan offers, planning a housing budget, or generating a detailed repayment schedule without building your own financial math. Prefer this over a generic calculator when you need both summary figures (monthly payment, total interest) and a schedule breakdown in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T07:18:52.871Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-revmesh2074-workers-dev-loan-and-mortgage-calculator-b5079585"}