{"uid":"cap_271AWxXCMQrulzntAall0","slug":"saylor-innovations-retirement-monte-carlo-simulator-e33ba19c","name":"Saylor Innovations Retirement Monte Carlo Simulator","description":"Probability a portfolio lasts, percentile balances by year, and spending for 80/90/95% odds","url":"https://saylorinnovations.com/api/retirement/monte-carlo?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["balance","annual_spend"],"properties":{"years":{"type":"string","description":"optional years to simulate, 5-60, default 30 (query)"},"balance":{"type":"string","description":"required starting portfolio in dollars (query)"},"simulations":{"type":"string","description":"optional 500-5000, default 2000 (query)"},"annual_spend":{"type":"string","description":"required annual spending from the portfolio in today's dollars (query)"},"stock_percent":{"type":"string","description":"optional stock share 0-100, default 60 (query)"},"social_security_annual":{"type":"string","description":"optional annual Social Security or pension income in today's dollars (query)"},"bond_volatility_percent":{"type":"string","description":"optional, default 6 (query)"},"bond_real_return_percent":{"type":"string","description":"optional, default 2 (query)"},"stock_volatility_percent":{"type":"string","description":"optional, default 16 (query)"},"stock_real_return_percent":{"type":"string","description":"optional expected real stock return, default 6.5 (query)"},"social_security_starts_in_years":{"type":"string","description":"optional years until that income begins, default 0 (query)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","properties":{"notes":{"type":["array"],"items":{"type":["string"]}},"levers":{"type":["array"],"items":{"type":["string"]}},"verdict":{"type":["string"]},"inputs_used":{"type":["object"],"properties":{"years":{"type":["integer"]},"balance":{"type":["integer"]},"assumptions":{"type":["object"],"properties":{"spending":{"type":["string"]},"rebalanced":{"type":["string"]},"stock_bond_correlation":{"type":["number"]},"bond_volatility_percent":{"type":["integer"]},"bond_real_return_percent":{"type":["integer"]},"stock_volatility_percent":{"type":["integer"]},"stock_real_return_percent":{"type":["number"]}},"additionalProperties":true},"simulations":{"type":["integer"]},"stock_percent":{"type":["integer"]},"social_security_annual":{"type":["integer"]},"annual_spend_today_dollars":{"type":["integer"]},"initial_withdrawal_rate_percent":{"type":["number"]},"social_security_starts_in_years":{"type":["integer"]}},"additionalProperties":true},"not_covered":{"type":["array"],"items":{"type":["string"]}},"failing_paths":{"type":["object"],"properties":{"count_percent":{"type":["number"]},"p90_depletion_year":{"type":["integer"]},"median_depletion_year":{"type":["integer"]},"earliest_depletion_year":{"type":["integer"]}},"additionalProperties":true},"related_endpoints":{"type":["array"],"items":{"type":["string"]}},"spending_for_odds":{"type":["object"],"properties":{"note":{"type":["string"]},"80_percent":{"type":["integer"]},"90_percent":{"type":["integer"]},"95_percent":{"type":["integer"]},"as_withdrawal_rate_percent":{"type":["object"],"properties":{"80":{"type":["number"]},"90":{"type":["number"]},"95":{"type":["number"]}},"additionalProperties":true}},"additionalProperties":true},"ending_balance_real":{"type":["object"],"properties":{"p10":{"type":["integer"]},"p25":{"type":["integer"]},"p75":{"type":["integer"]},"p90":{"type":["integer"]},"median":{"type":["integer"]}},"additionalProperties":true},"balance_checkpoints_real":{"type":["array"],"items":{"type":["object"],"properties":{"p10":{"type":["integer"]},"p25":{"type":["integer"]},"p75":{"type":["integer"]},"p90":{"type":["integer"]},"year":{"type":["integer"]},"median":{"type":["integer"]},"share_still_funded_percent":{"type":["number"]}},"additionalProperties":true}},"sequence_of_returns_risk":{"type":["object"],"properties":{"meaning":{"type":["string"]},"success_if_first_5_years_in_best_quartile_percent":{"type":["integer"]},"success_if_first_5_years_in_worst_quartile_percent":{"type":["number"]}},"additionalProperties":true},"success_probability_percent":{"type":["number"]}},"additionalProperties":true},"description":{"type":"string"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-c48BhIL7rDn_JHEJavsb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs Monte Carlo simulations on a retirement portfolio to estimate survival probability, percentile balance trajectories, and safe spending levels at various confidence thresholds","exampleAgentPrompt":"Run a Monte Carlo retirement simulation for a $900,000 portfolio with $55,000 annual spending over 30 years, 65% stocks, and $18,000 a year in Social Security starting in 5 years — I want to see the survival probability and what I could spend at 80, 90, and 95% confidence.","exampleUseCases":[{"title":"Early retiree runway check","prompt":"I'm retiring at 58 with $1.4 million saved and plan to spend $70,000 a year for 35 years with a 70/30 stock-bond split. What's the probability my portfolio survives, and how much could I spend at 90% confidence?"},{"title":"Social Security bridge planning","prompt":"Can you run a retirement Monte Carlo for $750,000 balance, $50,000 annual spending over 30 years, and $22,000 in Social Security income that starts in 7 years? I want to know my odds and the 10th, 50th, and 90th percentile balances."},{"title":"Conservative investor safe withdrawal","prompt":"What's a safe spending level for a $600,000 retirement portfolio invested 40% stocks over 25 years, assuming I need 95% confidence it won't run out? No Social Security income."}],"resultDescription":"Returns the probability (as a percentage) that the simulated portfolio lasts the full simulation period, annual percentile balance distributions (e.g. 10th, 25th, 50th, 75th, 90th percentile), and the maximum annual spending amounts that achieve 80%, 90%, and 95% portfolio survival odds — all adjusted for inflation using real return assumptions.","failureModes":["Missing required parameters (balance or annual_spend) returns a 400 error","Out-of-range values for years (outside 5-60) or simulations (outside 500-5000) may be rejected or clamped","Extremely high spending relative to balance may yield 0% survival probability with limited useful output","Non-numeric string values in numeric query params cause parsing errors","Edge cases: stock_percent=0 or 100 with default volatility assumptions may produce unrealistic projections"],"whenToPreferThis":"Choose this endpoint when you need probabilistic, simulation-based retirement analysis rather than deterministic safe withdrawal rules. It is ideal when the user has a concrete portfolio balance and spending figure and wants survival odds or confidence-interval spending guidance. Prefer this over simple 4% rule calculators when Social Security, pension income, or a custom stock/bond split is involved. It is especially useful for planning conversations where the agent must reason about trade-offs between spending levels and portfolio longevity.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T12:51:49.903Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-retirement-monte-carlo-simulator-e33ba19c"}