{"uid":"cap_LAl9m6SQmABxg00VTeRCa","slug":"market-intelligence-api-portfolio-risk-check-56833b9e","name":"Market Intelligence API – Portfolio Risk Check","description":"Crypto and stock portfolio risk check ($0.25): POST up to 15 positions (symbol + valueUsd or quantity) and 5 on-chain tokens; get concentration, correlations, volatility and one-day 95% VaR from hourly on-chain data, the current decision per symbol, token risk verdicts, macro events in the next 24h and flags with what to fix. Use to review holdings in one call.","url":"https://api.marketintelligenceapi.com/api/v1/portfolio/check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"tokens":{"type":"array","items":{"type":"object","required":["address"],"properties":{"chain":{"enum":["base","ethereum","arbitrum","optimism","polygon","solana"],"type":"string"},"address":{"type":"string"},"valueUsd":{"type":"number"}}},"maxItems":5},"decisions":{"type":"boolean","default":true,"description":"Include the current decision of every symbol"},"positions":{"type":"array","items":{"type":"object","required":["symbol"],"properties":{"symbol":{"type":"string","description":"e.g. ETHUSD, BTCUSD, NVDA"},"quantity":{"type":"number","exclusiveMinimum":0},"valueUsd":{"type":"number","exclusiveMinimum":0}}},"maxItems":15}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","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.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_52Eo9p8HBGy8TLp_KDUf-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes up to 15 equity/crypto positions and 5 on-chain tokens in a single call, returning concentration, correlations, volatility, 1-day 95% VaR, trading decisions, token risk verdicts, upcoming macro events, and actionable flags.","exampleAgentPrompt":"Can you run a full risk check on my portfolio — I'm holding $5,000 in BTCUSD, $3,000 in ETHUSD, $2,000 in NVDA, and $1,500 in TSLA, plus a $500 position in the on-chain token at address 0xabc...123 on Base — and tell me the VaR, concentration issues, correlations, any macro events in the next 24 hours, and what trades to make?","exampleUseCases":[{"title":"Crypto-heavy portfolio daily risk review","prompt":"Run a risk check on my holdings: $10,000 in BTCUSD, $4,000 in ETHUSD, $2,000 in SOLUSD, and also check the on-chain token at 0xdeadbeef...1234 on Ethereum worth $1,000 — give me the 1-day VaR, any concentration warnings, and the current trading decisions for each symbol."},{"title":"Mixed stock and crypto pre-market assessment","prompt":"Before the market opens, analyze these positions for me: $8,000 in NVDA, $5,000 in TSLA, $3,000 in BTCUSD, and $2,000 in ETHUSD — I want to see correlations, volatility, upcoming macro events in the next 24 hours, and any red flags I should fix."},{"title":"On-chain DeFi token risk verdict","prompt":"I have five on-chain DeFi tokens I'm considering: 0xToken1 on Base ($500), 0xToken2 on Arbitrum ($300), 0xToken3 on Optimism ($400), 0xToken4 on Polygon ($200), and 0xToken5 on Ethereum ($600) — can you give me risk verdicts for each and flag anything dangerous?"}],"resultDescription":"Returns a structured JSON object with: portfolio-level concentration score, pairwise correlation matrix, volatility measures, 1-day 95% VaR computed from hourly on-chain data, a current buy/hold/sell decision for each equity/crypto symbol, individual risk verdicts for each on-chain token, a list of macro events expected in the next 24 hours, and prioritized flags indicating what to fix in the portfolio.","failureModes":["Exceeding 15 positions or 5 on-chain tokens returns a validation error","Invalid or unrecognized symbol (e.g. misspelled ticker) may result in partial results or error for that position","Missing both quantity and valueUsd for a position causes a schema validation failure","Unsupported blockchain chain returns an enum validation error","Payment not completed (x402 protocol) results in a 402 Payment Required response","Stale or illiquid on-chain token data may reduce VaR accuracy"],"whenToPreferThis":"Choose this endpoint when you need a comprehensive, multi-dimensional risk snapshot of a mixed portfolio (equities + crypto + on-chain tokens) in a single low-cost call. It is ideal for pre-trade portfolio reviews, daily risk monitoring, or before answering a user question about overall portfolio health. Prefer it over single-asset endpoints when you need cross-asset correlation and concentration analysis alongside individual signals and macro event awareness.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:40:34.885Z","isFirstParty":false,"canonicalSlug":"market-intelligence-api-portfolio-risk-check-56833b9e"}