{"uid":"cap_6QSYFpUd4tzcQd-7k4pco","slug":"mangrove-market-regime-detector-fa0b1a1e","name":"Mangrove Market Regime Detector","description":"Developer references for Mangrove Agent, API contracts, MCP and AI integrations.","url":"https://api.mangrovedeveloper.ai/api/v1/market-data/regime/%7Basset%7D?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","HEAD","DELETE"],"type":"string"},"pathParams":{"type":"object","required":["asset"],"properties":{"asset":{"type":"string","description":"Asset symbol, e.g. BTC or ETH."}}},"queryParams":{"type":"object","properties":{"provider":{"type":"string","description":"Optional upstream override; omitted uses the existing server default."},"quote_token":{"type":"string","description":"Quote currency of the requested market."},"lookback_days":{"type":"integer","default":365,"description":"Number of days of history to request."},"market_data_venue":{"type":"string","description":"Exact venue of the requested market."}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BXGw-FyrULnGMz9Cm9wHY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current market regime classification for a given crypto asset based on historical price data","exampleAgentPrompt":"What's the current market regime for BTC using 365 days of history — is it trending, ranging, or in some other state?","exampleUseCases":[{"title":"Crypto trading strategy regime gating","prompt":"Before executing my momentum strategy, check what market regime BTC is currently in using 180 days of lookback — I only want to trade in trending regimes."},{"title":"Portfolio risk assessment by regime","prompt":"What's the current market regime for ETH on Coinbase, quoted in USDC, over the last 365 days? I'm deciding how much risk to take on in my portfolio."},{"title":"Altcoin regime comparison","prompt":"Can you check the market regime for SOL right now with 90 days of history? I want to compare it to what BTC's regime was last week."}],"resultDescription":"Returns a market regime classification for the specified asset, indicating the current market phase (e.g. trending, mean-reverting, volatile, or similar regime labels) derived from the requested lookback period of historical price data, optionally scoped to a specific venue and quote currency.","failureModes":["Unknown or unsupported asset symbol returns 4xx error","Invalid market data venue returns no data or error","Requested lookback_days exceeds available history for asset","Upstream data provider unavailable causing timeout or 5xx","Missing required asset path parameter returns 400 or 422","Payment not completed returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need a regime label — not just raw price data — for a crypto asset, especially when building trading strategies that gate on market conditions or when you need a quick signal about whether the market is trending vs ranging. Prefer this over raw OHLCV data endpoints when you want pre-computed regime classification rather than doing your own statistical analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T06:35:52.248Z","isFirstParty":false,"canonicalSlug":"mangrove-market-regime-detector-fa0b1a1e"}