{"uid":"cap_IjovbCzlvNh-uKrGHb95D","slug":"gloom-exposure-scenarios-api-c02e5746","name":"Gloom Exposure Scenarios API","description":"Gloom is a free, open-source finance terminal for desktop and TUI with charts, news, filings, portfolios, alerts, and plugins.","url":"https://api.gloom.sh/v1/exposure/scenarios?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"data":[{"id":"taiwan-disruption","label":"Taiwan disruption","shocks":[{"id":"taiwan","kind":"country","target":"TW","changePct":-100}]}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.06","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.06/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_iGkPY_ajBQn3A5K6lAbNg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.06","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a list of predefined macroeconomic stress-test scenarios (e.g. geopolitical disruptions) with associated asset shocks for portfolio exposure analysis.","exampleAgentPrompt":"Pull up all the available macroeconomic stress-test scenarios from Gloom so I can see what geopolitical disruption shocks I can apply to my portfolio — like the Taiwan disruption with its country-level percentage shocks.","exampleUseCases":[{"title":"Portfolio geopolitical stress testing","prompt":"Show me all the available geopolitical disruption scenarios from Gloom, including what countries are targeted and by how much, so I can stress-test my equity portfolio."},{"title":"Taiwan supply chain risk modeling","prompt":"Fetch the Taiwan disruption scenario from Gloom's exposure scenarios — I want to see the shock percentage applied to Taiwanese assets so I can model how my semiconductor holdings would be affected."},{"title":"Macro scenario discovery for risk dashboard","prompt":"List every predefined macro shock scenario available in Gloom so I can populate a dropdown in my risk dashboard showing users what exposure scenarios they can simulate."}],"resultDescription":"A JSON object containing an array of scenario definitions, each with a unique ID, a human-readable label, and a list of shocks specifying the target asset or country, the kind of shock (e.g. country), and the percentage change applied under that scenario.","failureModes":["Invalid properties filter returns empty or malformed response","API returns 402 Payment Required if x402 payment header is missing or insufficient","Network timeout on slow connections","Empty data array if no scenarios are currently defined","Malformed JSON if service is degraded"],"whenToPreferThis":"Use this endpoint when you need to discover or enumerate available macroeconomic and geopolitical stress scenarios for portfolio exposure analysis within the Gloom finance terminal ecosystem. Prefer this over manual scenario construction when you want pre-built, named disruption scenarios (e.g. Taiwan disruption) with structured shock parameters ready for downstream exposure computation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:57:43.894Z","isFirstParty":false,"canonicalSlug":"gloom-exposure-scenarios-api-c02e5746"}