{"uid":"cap_ErQRjNEL7Dt81R1s4oOYQ","slug":"crypto-global-market-regime-macro-data-597fb48d","name":"Crypto Global Market Regime & Macro Data","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/api/coingecko/global?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_CrOT9ui3tpbD7H24C-xqH","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 crypto global market macro snapshot including BTC/ETH dominance, total market cap, DeFi TVL, stablecoin supply, fear & greed index, and a derived market regime signal (BULL/NEUTRAL/BEAR).","exampleAgentPrompt":"What's the current crypto market regime right now — is it bullish, bearish, or neutral? I want BTC dominance, total market cap, the fear & greed index, DeFi TVL, and stablecoin supply changes so I can calibrate my trading strategy.","exampleUseCases":[{"title":"Pre-trade macro check for AI trader","prompt":"Before I place any trades, give me the current crypto market regime, BTC dominance, and fear & greed index so I know whether to go risk-on or risk-off today."},{"title":"Stablecoin flow monitoring for onchain agent","prompt":"Is stablecoin supply growing or shrinking right now? I want the latest stablecoin supply in USD, the 1-day and 7-day percentage change, and what share of total market cap stablecoins represent."},{"title":"DeFi TVL and altcoin health dashboard","prompt":"What's the current DeFi TVL, altcoin market share percentage, and total crypto market cap? I'm trying to gauge whether altcoins are healthy or being crushed by BTC dominance."}],"resultDescription":"A JSON object with a derived market regime string (BULL/NEUTRAL/BEAR), an array of human-readable reasoning strings, BTC and ETH dominance percentages, altcoin share, total market cap and 24h volume in USD, DeFi TVL, stablecoin supply and its 1d/7d changes, stablecoin share of market cap, fear & greed index value and label, 24h market cap and volume change percentages, data sources array, and an updated_at ISO timestamp.","failureModes":["Payment not included or invalid x402 USDC payment on Base returns 402 Payment Required","Upstream aggregator (CoinLore, DeFiLlama, Alternative.me) downtime may cause stale or partial data","Workers.dev cold start may add latency on first call","No query parameters accepted; any query params will be rejected by schema validation"],"whenToPreferThis":"Choose this endpoint when you need a single aggregated macro snapshot of the entire crypto market without managing multiple API keys or paying for a subscription. It is ideal for AI trading agents that need a quick regime signal (BULL/NEUTRAL/BEAR) combined with dominance, stablecoin flows, and fear & greed — all in one pay-per-call request costing $0.002 USDC. Prefer this over individual CoinGecko/DeFiLlama calls when you want pre-aggregated reasoning and a regime label rather than raw data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:33:16.733Z","isFirstParty":false,"canonicalSlug":"crypto-global-market-regime-macro-data-597fb48d"}