{"uid":"cap_X4RATawTLZoJ9R0lEd2I0","slug":"vytrel-control-market-state-acfd6487","name":"VYTREL Control Market State","description":"Machine-payable URL observations and Base wallet reads, with x402 settlement receipts.","url":"https://vytrel-control.vercel.app/api/market-state?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"ok":true,"ask":85000.01,"bid":84999.99,"price":85000,"regime":"RANGE","schema":"vytrel.market-state.v2","source":"Coinbase Exchange public REST market data","symbol":"BTCUSDT","low_24h":84000,"evidence":[],"high_24h":86000,"open_24h":84500,"strength":0.118343,"direction":"LONG","confidence":1,"latency_ms":200,"product_id":"BTC-USD","spread_bps":0.0024,"volume_24h":4500,"volume_30d":176000,"consistency":"PASS","observed_at":"2026-10-06T16:00:00.000Z","change_24h_pct":0.591716,"interpretation":"Mechanical spot-price state only; not a trading recommendation.","range_position":0.5,"freshness_seconds":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2dpqElNm3Myn7Ea0iKV_H","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches real-time BTC-USD spot market state including bid/ask, price regime, trend direction, confidence, and 24h statistics from Coinbase Exchange public REST data.","exampleAgentPrompt":"What's the current BTC-USD market state right now — give me the bid, ask, regime, direction, and confidence score?","exampleUseCases":[{"title":"Real-time BTC regime check","prompt":"Is Bitcoin currently in a ranging or trending regime, and what direction is it leaning with what confidence?"},{"title":"Algorithmic trading signal gate","prompt":"Before executing my BTC trade, check the current market regime and direction — only proceed if confidence is above 0.8 and the regime is not RANGE."},{"title":"Crypto dashboard price refresh","prompt":"Refresh the BTC-USD market snapshot for my dashboard — I need the latest bid, ask, spread, 24h high and low, and how many seconds old the data is."}],"resultDescription":"Returns a JSON object with BTC-USD spot price, bid, ask, spread in basis points, market regime (e.g. RANGE), directional signal (LONG/SHORT), confidence score (0–1), strength, 24h open/high/low/volume, 30d volume, 24h change percent, range position, consistency check result, source attribution, latency in ms, freshness in seconds, and an interpretation disclaimer.","failureModes":["Upstream Coinbase Exchange REST API unavailable — returns error or stale data","High latency from Vercel cold start may increase latency_ms beyond stated 200ms","x402 payment not settled — request blocked before data is returned","BTC-USD product data temporarily unavailable — ok field may be false","Stale freshness_seconds if upstream cache is delayed"],"whenToPreferThis":"Choose this endpoint when you need a single, structured, machine-payable snapshot of BTC-USD market state including regime classification, trend direction, and confidence — not just a raw price tick. It is ideal for agents that need to gate decisions on market conditions (e.g. only trade if regime is TREND and confidence > 0.9) rather than simply displaying a price. Prefer over generic price feeds when you need the full regime/direction/strength/consistency bundle in one call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T06:33:51.307Z","isFirstParty":false,"canonicalSlug":"vytrel-control-market-state-acfd6487"}