{"uid":"cap_LaK0lWgyhLN_madtAQhTb","slug":"cryptyx-single-metric-z-score-backtest-slicer-d901563e","name":"Cryptyx Single-Metric Z-Score Backtest (Slicer)","description":"","url":"https://www.cryptyx.ai/api/metrics/slicer?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["metric_id","asset","operator","threshold"],"properties":{"asset":{"type":"string","description":"Asset symbol (case-insensitive, uppercased server-side). Example: BTC, ETH, SOL."},"operator":{"type":"string","description":"Trigger comparator vs threshold: gt, lt, gte, lte, or abs_gt."},"metric_id":{"type":"string","description":"Metric ID from the 440+ catalog (case-insensitive, uppercased server-side). Example: TR_MOMO_CONT_14D, VOL_COMPRESSION_7v30, FLOW_VWAP_DEV_7D."},"threshold":{"type":"number","description":"Z-score threshold against fact_stats 365-day window. Example: 2.0 for >2 sigma."},"cooldown_days":{"type":"number","description":"Optional. Integer 0-365, default 7. Suppresses repeat triggers within N days of the last accepted trigger."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"pathParams":{"type":"object"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"application/json","example":{"by_asset":[{"asset":"BTC","hit_rate":0.62}],"hit_rate":0.58,"n_triggers":156,"mean_fwd_return":0.034}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KEf7iPLIVnp7HbCEWq5i7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Backtests a single crypto metric's standalone predictive edge using z-score thresholds, returning hit rate, mean forward return, trigger count, and per-asset breakdown.","exampleAgentPrompt":"Run a backtest on Cryptyx for metric 'on_chain_nv_ratio' on BTC using a z-score greater than 1.5 — what's the hit rate and mean forward return?","exampleUseCases":null,"resultDescription":"Returns an overall hit rate (fraction of triggers where forward return was positive), mean forward return, total trigger count, and a per-asset array showing each asset's individual hit rate — all computed over 5+ years of historical fact data for the given metric, operator, and z-score threshold.","failureModes":["Invalid metric_id returns an error or empty result","Unsupported operator string causes a 400 or validation error","Asset symbol not found in universe returns empty by_asset array","Z-score threshold outside meaningful range may yield zero triggers","Payment not processed (x402) results in 402 response blocking the call","Network timeout for heavy historical computations"],"whenToPreferThis":"Use this endpoint when you want to quickly validate a single metric's standalone predictive power before building a composite model. It is ideal for signal discovery, factor screening, and hypothesis testing on individual crypto metrics with a configurable z-score threshold and operator. Prefer this over the multi-factor intersection backtest when isolating one signal's edge in isolation, and prefer it over the top-signals leaderboard when you have a specific metric ID in mind and want granular per-asset performance detail.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:37:16.168Z","isFirstParty":false,"canonicalSlug":"cryptyx-single-metric-z-score-backtest-slicer-d901563e"}