{"uid":"cap_4w8ukDiXyO2djfpOwMmEi","slug":"crypto-market-cap-macro-regime-oracle-7ef24783","name":"Crypto Market Cap & Macro Regime Oracle","description":"Pay-per-call crypto microdata for trading/onchain AI agents via x402 (USDC on Base): Base gas, token risk, balances, multi-venue prices, Hyperliquid book/funding, kimchi premium. No API keys.","url":"https://kr-x402-mvp.kgy5612.workers.dev/v1/market-cap?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","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"regime":"NEUTRAL","reasons":["market cap -0.98% 24h","stablecoin supply -0.35% 1d (outflow)","BTC dominance 60.6% (alts weak)"],"sources":["https://api.coinlore.net/api/global/","https://api.llama.fi/v2/chains","https://stablecoins.llama.fi/stablecoins","https://api.alternative.me/fng/"],"fear_greed":{"label":"Fear","value":34},"updated_at":"2026-10-30T04:30:00Z","defi_tvl_usd":89040661805,"altcoin_share_pct":28.65,"btc_dominance_pct":60.64,"eth_dominance_pct":10.71,"total_market_cap_usd":2661472949373,"total_volume_24h_usd":107406481755,"stablecoin_supply_usd":301482740887,"volume_change_24h_pct":20.32,"stablecoin_change_1d_pct":-0.35,"stablecoin_change_7d_pct":0.4,"market_cap_change_24h_pct":-0.98,"stablecoin_share_of_mcap_pct":11.33}},"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_HMek3vWkEnLuAcX-ImQVP","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 global crypto market cap, BTC/ETH dominance, stablecoin flows, DeFi TVL, Fear & Greed index, and a macro regime label (BULLISH/NEUTRAL/BEARISH) in a single call.","exampleAgentPrompt":"What's the current crypto market regime right now — are we in a bull or bear phase? Give me the Fear and Greed index, BTC dominance, total market cap, and whether stablecoin supply is growing or shrinking.","exampleUseCases":[{"title":"Macro regime check before trade","prompt":"Before I put in this trade, tell me what the overall crypto market is doing — is it bullish, neutral, or bearish? I want the Fear and Greed score, BTC dominance, and whether stablecoin supply is moving in or out."},{"title":"Altcoin season detection","prompt":"Is it altcoin season yet? What's Bitcoin's current dominance percentage and how is the altcoin share of market cap looking compared to yesterday?"},{"title":"DeFi TVL and stablecoin flow monitoring","prompt":"Give me a quick macro snapshot — what's the current DeFi TVL, how much stablecoin supply is in the market, and has it grown or shrunk over the last week?"}],"resultDescription":"A JSON object with: macro regime label (BULLISH/NEUTRAL/BEARISH) and supporting reasons; total crypto market cap in USD; 24h volume and % change; BTC, ETH, and altcoin dominance percentages; stablecoin supply in USD with 1d and 7d % changes; DeFi TVL in USD; Fear & Greed index value and label; and a timestamp of last update.","failureModes":["Upstream data source outage (Coinlore, DeFiLlama, Alternative.me) may cause stale or missing fields","x402 payment failure if USDC balance on Base is insufficient","Rate limiting or worker timeout if aggregation takes too long","Regime label may lag real-time conditions due to data freshness windows"],"whenToPreferThis":"Choose this endpoint when you need a single-call macro snapshot of the entire crypto market rather than per-token data. Ideal for trading agents that need a regime signal before entering positions, DeFi agents assessing market risk, or any workflow requiring BTC dominance, stablecoin flow direction, and Fear & Greed in one response. Requires no API key — only USDC micropayment via x402 on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:42:16.612Z","isFirstParty":false,"canonicalSlug":"crypto-market-cap-macro-regime-oracle-7ef24783"}