{"uid":"cap_oLJxcBqCq7C61wZSFMvnd","slug":"crypto-market-stress-score-a6cd0267","name":"Crypto Market Stress Score","description":"Is anything breaking in crypto right now? One composite 0-100 market-stress score (low|moderate|elevated|high) with a per-leg breakdown: stablecoins (worst USDC/USDT/DAI peg deviation in bps + 7d supply flow), price & breadth (BTC 24h move + share of ~140 liquid Hyperliquid perps that are up), leverage (BTC funding APR + share of perps at extreme funding), volatility (BTC 1h ATR14 as % of price) and sentiment (Fear & Greed).","url":"https://kr-x402-mvp.kgy5612.workers.dev/crypto/market-risk?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"legs":{"leverage":{"stress":22,"weight":0.2,"btc_funding_apr_pct":10.9,"btc_open_interest_usd":2400000000,"share_perps_extreme_funding":0.1},"sentiment":{"stress":32,"weight":0.15,"fear_greed":{"label":"Fear","value":34},"market_cap_change_24h_pct":-0.98},"volatility":{"source":"binance","stress":20,"weight":0.15,"btc_atr14_1h_pct":0.54},"stablecoins":{"stress":4,"weight":0.25,"verdict":"ALL_PEGGED","worst_peg":{"symbol":"USDT","peg_dev_bps":-3.1},"supply_7d_pct":0.4},"price_breadth":{"stress":38,"weight":0.25,"liquid_perps":140,"advance_ratio":0.31,"btc_change_24h_pct":-1.2}},"label":"moderate","score":31,"action":"trade normally but keep stops; avoid adding leverage into the main driver","reasons":["USDT -3.1 bps vs $1, stablecoin supply +0.4% 7d"],"sources":["https://stablecoins.llama.fi","https://api.hyperliquid.xyz/info"],"legs_used":5,"updated_at":"2026-10-30T06:30:00Z","main_driver":"sentiment","anything_breaking":false,"suggested_max_leverage":3}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IcGvnwIKuURgm1_hj1gvw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a composite 0-100 market-stress score with label and per-leg breakdown across stablecoins, price/breadth, leverage, volatility, and sentiment for crypto markets","exampleAgentPrompt":"Before I add to my BTC position, can you check the current crypto market stress score and tell me if anything looks broken — especially leverage levels and whether stablecoins are still pegged?","exampleUseCases":[{"title":"Pre-trade risk check for leveraged position","prompt":"I'm about to open a leveraged ETH long — can you pull the current crypto market stress score and tell me if leverage or volatility legs are elevated, and what the suggested max leverage is right now?"},{"title":"Automated risk gate in trading bot","prompt":"Run a crypto market stress check and if the overall score is above 60 or labeled 'high', halt my automated trading strategy and alert me with the main driver."},{"title":"Morning crypto market health briefing","prompt":"Give me a quick crypto market health snapshot for this morning — what's the stress score, what label is it at, are stablecoins fully pegged, and what's the Fear and Greed reading?"}],"resultDescription":"A JSON object with a composite stress score (0-100), a label (low/moderate/elevated/high), an action recommendation string, the main driver leg, a boolean 'anything_breaking' flag, suggested max leverage, a list of reason strings, and a per-leg breakdown (stablecoins, price_breadth, leverage, volatility, sentiment) each with their own stress sub-score, weight, and raw metrics such as BTC funding APR, advance ratio, peg deviation in bps, ATR percentage, and Fear & Greed value.","failureModes":["Payment required (402) if USDC payment header is missing or insufficient","Upstream data unavailability from Hyperliquid, Binance, or DefiLlama could cause stale or partial leg data","Rate limiting if called too frequently without valid payment","Network timeout from Cloudflare Worker if upstream APIs are slow","Returned 'updated_at' timestamp may lag real-time by minutes if cache is serving stale data"],"whenToPreferThis":"Choose this endpoint when you need a single aggregated crypto market risk signal that combines five orthogonal dimensions (stablecoins, price breadth, leverage, volatility, sentiment) into one actionable score, rather than calling five separate data sources and aggregating yourself. Ideal for trading bots needing a pre-trade risk gate, autonomous agents that need to make leverage decisions, or dashboards that want a human-readable stress label and recommended action in one call. Prefer over raw Fear & Greed feeds or individual funding rate APIs when you need holistic, multi-factor risk assessment at low cost ($0.002 per call).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:41:36.882Z","isFirstParty":false,"canonicalSlug":"crypto-market-stress-score-a6cd0267"}