{"uid":"cap_78OovfwddIwjvJfezytbU","slug":"losbeto-portfolio-stress-test-69b1095a","name":"Losbeto Portfolio Stress Test","description":"OpenAI-compatible LLM gateway at $0.005/call — change base_url, pay in USDC. Plus pay-per-call market data: multi-oracle price consensus, sentiment, forex, equities, commodities, Brazil macro (BCB/B3) and crypto. No API keys, no accounts. USDC on Base, Solana, Algorand and Polygon via x402.","url":"https://api.losbeto.xyz/portfolio-stress?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","properties":{"queryParams":{"type":"object","required":["positions"],"properties":{"positions":{"type":"string","description":"JSON array of positions (asset + qty) — POST body or query param"}}}}},"output":{"type":"object","properties":{"example":{"type":"object","description":"Agent-to-agent stress test: POST your positions JSON, get exposure breakdown, 5 shock scenarios (USD, oil, BTC, rates, risk-off), worst case and AI hedging commentary."}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.3","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.3/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.3","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.3","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pz_IAya1gpgvixWGB85wh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.3","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a portfolio stress test analysis returning risk metrics for a given set of financial positions, payable via USDC micropayment on Solana or Base.","exampleAgentPrompt":"Can you run a stress test on my current portfolio positions and tell me how they'd hold up under extreme market conditions? I want to see the risk metrics and vulnerability breakdown.","exampleUseCases":[{"title":"Crypto portfolio bear market simulation","prompt":"I have a mix of BTC, ETH, and SOL positions — run a stress test to show me how my portfolio would perform if the market dropped 40% like it did in 2022."},{"title":"DeFi holdings risk assessment","prompt":"Stress test my DeFi portfolio holdings and give me a breakdown of which positions are most vulnerable under a liquidity crisis scenario."},{"title":"Pre-trade risk check before rebalancing","prompt":"Before I rebalance, can you run a stress test on my current portfolio to see how the new allocation would hold up under a severe market shock?"}],"resultDescription":"A JSON object containing stress test results for the provided portfolio, likely including scenario-based risk metrics, drawdown estimates, vulnerability scores per asset, and overall portfolio resilience indicators under simulated adverse market conditions.","failureModes":["Missing or malformed portfolio properties input returns an error","Invalid asset identifiers in portfolio configuration may cause partial or empty results","Payment failure (insufficient USDC balance or wrong chain) blocks the request with HTTP 402","Upstream data unavailability may cause timeout or incomplete stress scenarios","Unsupported asset classes may be silently ignored or return null metrics"],"whenToPreferThis":"Choose this endpoint when you need a quick, paid-per-call portfolio stress test without standing up your own risk infrastructure. It is particularly useful for AI agents operating in crypto/DeFi contexts that already support x402 USDC micropayments on Solana or Base, and need on-demand scenario analysis rather than a continuously monitored risk service.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T01:13:04.331Z","isFirstParty":false,"canonicalSlug":"losbeto-portfolio-stress-test-69b1095a"}