{"uid":"cap_kZ7vfqFhoMTbP31Ig2q2M","slug":"financial-analyst-ai-a1a57a33","name":"Monte Carlo Simulation with Custom Formula and Variable Distributions","description":"Monte Carlo simulation with configurable variable distributions and custom formula. Returns P10/P50/P90 percentiles, mean, histogram, and probability of exceeding a target threshold.","url":"https://financial-analyst.ai/monte-carlo/simulate","method":"POST","headers":{},"bodySchema":{"type":"object"},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"1","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":"$1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CW8cvoRgpn6ks-U1OUcrb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a Monte Carlo simulation with configurable variable distributions and a custom formula, returning P10/P50/P90 percentiles, mean, histogram, and probability of exceeding a target threshold.","exampleAgentPrompt":"Run a Monte Carlo simulation on a real estate deal where annual rent growth follows a normal distribution with mean 3% and std dev 1.5%, vacancy rate is uniform between 5% and 15%, and the formula computes NOI as (rent_growth * 1000000) - (vacancy * 500000) — run 10,000 trials and tell me the P10, P50, P90 outcomes, the mean, and the probability that NOI exceeds $900,000.","exampleUseCases":null,"resultDescription":"Returns a full simulation result set including P10, P50, and P90 percentile values, the mean outcome, a histogram of the full output distribution, and the probability that the modeled output exceeds a user-specified target threshold.","failureModes":["Invalid or unparseable custom formula returns a 400 error","Unsupported distribution type for a variable returns a validation error","Missing required variable definitions causes a 422 unprocessable entity error","Target threshold not specified when probability calculation is requested","Simulation fails to converge or formula produces non-numeric outputs","Payment not included or insufficient USDC triggers a 402 Payment Required response"],"whenToPreferThis":"Use this endpoint when you need probabilistic outcome modeling with configurable input distributions and a custom formula — ideal for risk quantification, sensitivity analysis, and scenario banding in real estate underwriting, private equity, or any financial model where inputs are uncertain. Prefer this over deterministic spreadsheet models when you want P10/P50/P90 bands and probability-of-exceeding-target metrics rather than a single-point estimate.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:36:11.330Z","isFirstParty":false}