{"uid":"cap_epqxLY_afAyWXxNqnOpzK","slug":"aptu-dev-btc-spot-regime-check-81704857","name":"aptu.dev BTC Spot Regime Check","description":"BTC spot regime check against a 7-day moving average gate (bull/bear, MA7, deviation pct, favor-entry/block-entry action).","url":"https://aptu.dev/v1/btc-regime?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"},"queryParams":{"type":"object","required":["spot"],"properties":{"spot":{"type":"number","exclusiveMinimum":0},"closes":{"type":"string","pattern":"^[0-9]+(\\.[0-9]+)?(,[0-9]+(\\.[0-9]+)?){6}$"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ma7":61857.14,"action":"favor-entry","regime":"bull","disclaimer":"Not financial advice.","availability":"available","closesSource":"kraken","spotVsMa7Pct":5.08}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JrfTImjtsPenQhHqJKjxq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Classifies the current BTC market as bull or bear by comparing the spot price to a 7-day moving average, returning a regime signal and an entry-action recommendation.","exampleAgentPrompt":"Is Bitcoin currently in a bull or bear regime? The spot price right now is 67500 — check if the MA7 gate favors entry or blocks it.","exampleUseCases":[{"title":"Pre-trade BTC entry check","prompt":"Before I put money into Bitcoin, can you check whether the current spot price of 67500 is above the 7-day moving average and whether the regime gate says to favor entry or block it?"},{"title":"Automated trading bot regime filter","prompt":"I'm building a trading bot — before it places any BTC buy, it should check the current regime. The spot price is 65200; is BTC in a bull regime and does the MA7 gate favor entry right now?"},{"title":"Daily Bitcoin trend briefing","prompt":"Give me a quick daily BTC market regime summary: is Bitcoin bullish or bearish right now based on the 7-day moving average? The current spot is 70100."}],"resultDescription":"Returns a JSON object with: regime ('bull' or 'bear'), ma7 (7-day moving average price), spotVsMa7Pct (percentage deviation of spot from MA7), action ('favor-entry' or 'block-entry'), availability status, the source of closing prices used (e.g. 'kraken'), and a disclaimer that it is not financial advice.","failureModes":["Missing or invalid spot price (spot <= 0) returns a validation error","Malformed closes string (not matching comma-separated 7-number pattern) returns a 400 error","Downstream price feed unavailability may cause stale or missing MA7 calculation","Payment not completed or invalid x402 payment header results in 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need a simple, pre-computed bull/bear regime signal for BTC based on a 7-day moving average gate, especially in automated agent workflows that need a fast go/no-go entry decision without running their own technical analysis. Prefer it over raw price feeds when you want an opinionated action signal (favor-entry vs block-entry) rather than raw OHLCV data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-16T18:32:36.257Z","isFirstParty":false,"canonicalSlug":"aptu-dev-btc-spot-regime-check-81704857"}