$0.05
per call · USD Coin on Base
Backtest any signal over up to 365 days. Returns trigger stats, per-day rows, and a 4-horizon performance block (sample size, mean/median return, hit rate, bootstrap CI, statistical significance, reliability grade). Walk-forward OOS read inlined. Runs across 200+ digital assets — BTC, ETH, SOL, top-cap + long-tail coverage.
Endpoint
POST https://cryptyx.ai/api/signals/backtest1
Calls / 30d
1
Unique payers / 30d
Sep 5
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://cryptyx.ai/api/signals/backtest", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"dryrun": false,
"from": "",
"signal_id": "",
"to": ""
}),
});
const data = await res.json();curl -X POST \
"https://cryptyx.ai/api/signals/backtest" \
-H "Content-Type: application/json" \
-d '{"dryrun":false,"from":"","signal_id":"","to":""}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"avgConfidence": 0.7314,
"days": [
{
"day": "2025-06-01",
"rows": 0
},
{
"day": "2025-06-02",
"rows": 3
},
{
"day": "2025-06-03",
"rows": 5
}
],
"dryrun": false,
"durationMs": 48213,
"from": "2025-06-01",
"ok": true,
"performance": {
"caveats": [
"No in-sample/out-of-sample split applied. Results above are in-sample only. See `walk_forward` block for the nightly out-of-sample read."
],
"horizons": [
{
"bootstrap_ci_95": [
0.001204,
0.008331
],
"hit_rate": 0.5615,
"horizon": "1d",
"is_reliable": true,
"mean_return": 0.004812,
"median_return": 0.003104,
"sample_size": 187,
"statistical_significance": "significant"
},
{
"bootstrap_ci_95": [
0.008221,
0.034102
],
"hit_rate": 0.5882,
"horizon": "7d",
"is_reliable": true,
"mean_return": 0.02103,
"median_return": 0.01588,
"sample_size": 187,
"statistical_significance": "significant"
},
{
"bootstrap_ci_95": [
0.012003,
0.056012
],
"hit_rate": 0.5989,
"horizon": "14d",
"is_reliable": true,
"mean_return": 0.03414,
"median_return": 0.02211,
"sample_size": 187,
"statistical_significance": "significant"
},
{
"bootstrap_ci_95": [
-0.004021,
0.12614
],
"hit_rate": 0.604,
"horizon": "30d",
"is_reliable": false,
"mean_return": 0.0612,
"median_return": 0.0411,
"sample_size": 187,
"statistical_significance": "not_significant"
}
],
"is_sample_sufficient": true,
"minimum_sample_threshold": 30,
"reliability_grade": "green",
"sample_size": 187
},
"signal_id": "TR_MOMO_CONT_14D",
"to": "2025-12-01",
"totalDays": 184,
"totalTriggerEvents": 187,
"triggerRate": 0.223,
"triggeredDays": 41,
"walk_forward": {
"14d": {
"asof_day": "2026-06-20",
"ic_delta": -0.0453,
"is_hit_rate": 0.572,
"is_ic": 0.0941,
"is_n_obs": 18900,
"is_n_triggers": 612,
"oos_hit_rate": 0.531,
"oos_ic": 0.0488,
"oos_n_obs": 8100,
"oos_n_triggers": 184,
"overfit_ratio": 0.519,
"reliability_grade": "green",
"split_pct": 0.7,
"window_days": 180
},
"30d": {
"asof_day": "2026-06-20",
"ic_delta": -0.0411,
"is_hit_rate": 0.553,
"is_ic": 0.0712,
"is_n_obs": 18900,
"is_n_triggers": 612,
"oos_hit_rate": 0.518,
"oos_ic": 0.0301,
"oos_n_obs": 8100,
"oos_n_triggers": 184,
"overfit_ratio": 0.423,
"reliability_grade": "yellow",
"split_pct": 0.7,
"window_days": 180
},
"7d": {
"asof_day": "2026-06-20",
"ic_delta": -0.0264,
"is_hit_rate": 0.561,
"is_ic": 0.0876,
"is_n_obs": 18900,
"is_n_triggers": 612,
"oos_hit_rate": 0.542,
"oos_ic": 0.0612,
"oos_n_obs": 8100,
"oos_n_triggers": 184,
"overfit_ratio": 0.699,
"reliability_grade": "green",
"split_pct": 0.7,
"window_days": 180
}
}
}Payment details
0x0cd2c9724f185a029101b4aeacf3f114415c394fUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Market Data and the homepage with a featured placement.
More from CRYPTYX & similar services
CRYPTYX · Asset Asymmetry
cryptyx.ai
Cross-class positioning panels per asset — futures funding stress, options 1M risk-reversal skew, order-book imbalance, and 7-day taker buy/sell ratio. Each panel: current z, percentile, 30-day sparkline, one-line narrative. Response carries a _next block with active-signals / thesis / regime-context / top-setups / peer-cluster so an agent can go from positioning read to per-asset conviction, historical edge, or basket construction without leaving the flow. Coverage: pass any asset in the CRYPTYX 200+ tracked universe (BTC, ETH, SOL, top-cap + long-tail).
CRYPTYX · Health
cryptyx-ai.vercel.app
Service health probe — build version, last pipeline run, current signal/composite/asset counts. Sub-second, no DB writes. The cheapest end-to-end pay-per-call check before issuing real queries.
CRYPTYX · AI Signals
cryptyx.ai
Per-asset bundle of the latest atomic and composite signal snapshot plus N-day event lookback, grouped by asset. Includes macro regime and confidence. The full signal picture for an agent prompt in one call. Coverage: pass any asset in the CRYPTYX 200+ tracked universe (BTC, ETH, SOL, top-cap + long-tail).