{"uid":"cap_TONQpqNHysU46_nacn-K_","slug":"logicnodes-interest-calculator-8e776c42","name":"LogicNodes Interest Calculator","description":"Exact answers for AI agents: 40+ tools for EVM chains and Aptos, gas on 14 chains, never a guess. Free tier; pay per call in USDC (x402) on 13 networks.","url":"https://logicnodes.io/paid/v1/tools/interest_calc?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"scale":{"type":"integer","maximum":18,"minimum":0},"years":{"type":"string"},"rounding":{"enum":["down","up","floor","ceil","half_up","half_even","half_down"],"type":"string","description":"rounding rule; default half_up (ties away from zero). half_even is banker's rounding"},"principal":{"type":"string"},"compounding":{"enum":["simple","annual","semiannual","quarterly","monthly","weekly","daily"],"type":"string"},"ratePercent":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"tool":"interest_calc"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ORAQV5zcOEgcBDJ-DvcKr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes simple or compound interest for a given principal, rate, and time period with configurable compounding frequency, precision, and rounding rules","exampleAgentPrompt":"Calculate compound interest on a principal of $25,000 at 6.5% per year for 3 years, compounded monthly, with 8 decimal places of precision and half-even rounding.","exampleUseCases":[{"title":"Loan interest cost estimation","prompt":"I'm taking out a $50,000 loan at 7.2% interest for 5 years compounded monthly — can you calculate exactly how much interest I'll owe, rounded to 2 decimal places using half_up rounding?"},{"title":"DeFi yield projection","prompt":"If I deposit 10,000 USDC into a protocol earning 12% APR compounded daily for 1 year, how much interest will I earn? Give me the result with 6 decimal places of precision."},{"title":"Simple interest on short-term note","prompt":"What's the simple interest on a $5,000 promissory note at 8% annual rate for 0.5 years? I need the answer rounded down to 4 decimal places."}],"resultDescription":"A JSON object with an 'ok' boolean indicating success, the tool name 'interest_calc', and the computed interest value as a precise decimal string based on the requested scale and rounding mode. Exact numeric results are returned — no approximations or floating point errors.","failureModes":["Invalid or missing principal — returns error if principal is not a valid numeric string","Rate percent out of reasonable range or malformed — parsing failure","Years value not parseable as a numeric string","Scale outside 0–18 range — schema validation error","Unknown compounding or rounding enum value — rejected at input validation","Network or payment failure — HTTP 402 if USDC payment not provided"],"whenToPreferThis":"Choose this endpoint when you need exact, deterministic interest calculations without floating-point ambiguity — especially in financial, DeFi, or lending contexts where precision and configurable rounding modes (e.g. banker's rounding) are critical. Prefer it over general-purpose math tools or LLM arithmetic when auditability and exact decimal scale matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:41:24.641Z","isFirstParty":false,"canonicalSlug":"logicnodes-interest-calculator-8e776c42"}