{"uid":"cap_2XJMaqtm_OcP95HFHA-Z8","slug":"crypto-market-signals-0ae8317a","name":"Crypto Market Signals","description":"Daily crypto market regime in one call: BTC/ETH vs 20/50-day MAs, breadth of the point-in-time top-N (no survivorship bias), coins nearest a 20-day breakout, and the R1 breakout strategy's gate and entry signals. No candle fetching or indicator code. Completed UTC daily closes only.","url":"https://grok-backtest-api.fly.dev/signals?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","properties":{"top_n":{"type":"integer","default":30,"maximum":200,"minimum":5,"description":"Universe size for breadth / breakout scan (point-in-time top-N by 20d $ volume)"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"btc":{"ma50":81802.02,"close":80053.16,"above_ma50":false,"pct_vs_ma50":-2.14},"eth":{"ma20":2453.37,"close":2326.75,"above_ma20":false,"pct_vs_ma20":-5.16},"as_of":"2026-10-25","regime":"risk-off","breadth":{"coins":30,"pct_above_ma20":3.3,"pct_above_ma50":20},"r1_breakout":{"action":"no new entries: BTC is below its 50-day average","signals":[],"gate_open":false},"nearest_breakouts":[{"coin":"ZEC-USD","r1_stop_pct":20.49,"pct_from_breakout":-12.7}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_EdtN97rXgmhfesR63vTHe","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns daily crypto market regime, BTC/ETH moving-average signals, breadth stats, and R1 breakout signals for a point-in-time top-N universe","exampleAgentPrompt":"What's today's crypto market regime and are there any R1 breakout signals firing in the top 30 coins by volume?","exampleUseCases":[{"title":"Daily regime check before trading","prompt":"Before I place any crypto trades today, tell me whether the market is risk-on or risk-off, and whether BTC is above its 50-day moving average."},{"title":"Breakout scan for momentum entries","prompt":"Scan the top 50 coins by dollar volume and tell me which ones are closest to an R1 breakout right now, and whether the gate is open for new entries."},{"title":"Portfolio breadth health check","prompt":"What percentage of the top 30 crypto coins are currently above their 20-day and 50-day moving averages? I want to see how broad this market move is."}],"resultDescription":"A JSON object containing: today's date (as_of), overall market regime label (risk-on/risk-off), BTC price vs MA50 with percentage deviation, ETH price vs MA20 with percentage deviation, breadth stats (% of top-N coins above MA20 and MA50), an R1 breakout signal block with gate status and any active entry signals, and a list of nearest-to-breakout coins with their stop percentages and distance from breakout level.","failureModes":["Missing or invalid top_n parameter outside 5-200 range returns validation error","Upstream Coinbase candle data unavailable causes stale or error response","Payment not sent or insufficient USDC triggers 402 Payment Required","Request during data refresh window may return prior day's signals"],"whenToPreferThis":"Use this endpoint when you need a single daily snapshot of macro crypto market conditions — regime, BTC/ETH moving-average status, universe breadth, and breakout scan — without running a full custom backtest. It is the fastest and cheapest way to get a systematic go/no-go signal for crypto entries, especially for agents following trend-following or momentum strategies that gate entries on market regime. Prefer sibling endpoints (Backtest, Optimizer) when you need historical strategy validation, and Token Risk Check for contract-level due diligence.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:37:54.632Z","isFirstParty":false,"canonicalSlug":"crypto-market-signals-0ae8317a"}