{"uid":"cap_Vq9Xz4ULoBrKn_BhJJgXF","slug":"debt-payoff-planner-snowball-avalanche-simulator-6b8e2043","name":"Debt Payoff Planner (Snowball/Avalanche Simulator)","description":"Orders multiple debts by snowball (smallest balance) or avalanche (highest APR), simulates month-by-month payoff, and returns months-to-debt-free, total interest and interest saved vs minimums.","url":"https://api.24klabs.ai/api/debt-payoff-planner","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"debts":{"type":"array"},"strategy":{"type":"string"},"extra_payment":{"type":"number"}}},"responseSchema":{"type":"json","example":{"months_to_debt_free":34,"total_interest_paid":4210.55,"interest_saved_vs_minimums":1890.2}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.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_bxKPJdaTTAU8mHnsrvIF2","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":"Simulates month-by-month debt payoff using snowball (smallest balance first) or avalanche (highest APR first) strategies, returning months-to-debt-free, total interest paid, and interest saved versus paying minimums.","exampleAgentPrompt":"I have three debts: a credit card with $4,200 balance at 22% APR and $85 minimum, a car loan with $8,500 at 6.5% APR and $190 minimum, and a personal loan with $2,100 at 14% APR and $60 minimum — I can put $500/month total toward these. Run the avalanche simulation and tell me when I'll be debt-free and how much interest I'll save versus just paying minimums.","exampleUseCases":[{"title":"Credit card debt elimination plan","prompt":"I have two credit cards: one with $3,800 balance at 24.99% APR ($75 minimum) and another with $1,500 at 19.99% APR ($35 minimum). I can afford $250/month total. Use the snowball method and show me month-by-month how long until I'm debt-free and how much interest I'll pay."},{"title":"Multi-debt avalanche vs minimums comparison","prompt":"Help me figure out how much I'd save in interest by using the avalanche strategy on my debts: student loan $12,000 at 5.8% APR ($130 minimum), credit card $4,500 at 21% APR ($90 minimum), and medical bill $900 at 0% APR ($50 minimum), with $400/month to put toward them."},{"title":"Budget-constrained debt payoff timeline","prompt":"I want to know my debt-free date if I can only afford $300/month total across my debts: a personal loan with $5,000 balance at 11% APR and $110 minimum payment, and a credit card with $2,200 at 18.9% APR and $44 minimum. Use the snowball method."}],"resultDescription":"Returns the ordered payoff sequence for all debts, a month-by-month amortization schedule showing which debt receives the extra payment each month, total months until fully debt-free, total interest paid across all debts, and the interest savings compared to paying only minimums on every debt throughout.","failureModes":["Missing required debt fields (balance, APR, minimum payment) returns a validation error","Invalid strategy value (not 'snowball' or 'avalanche') returns a bad request error","Monthly budget less than sum of all minimums may return an infeasible plan error or warning","APR values as decimals vs percentages may produce incorrect results if not correctly formatted","Empty debts array returns an error or trivial zero-debt result"],"whenToPreferThis":"Use this endpoint when a user needs a concrete, month-by-month simulation of paying off multiple debts — especially when comparing snowball vs. avalanche strategies or quantifying interest savings over minimums. Prefer this over generic financial calculators when the user has 2+ debts with different balances, APRs, and minimums and wants an ordered payoff plan with a firm debt-free timeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T01:05:11.606Z","isFirstParty":false}