Three ways to get Kronos forecasts into your agent. Use our API, install the free skill, or run the model yourself. Pick the one that fits. Either way, treat the output as an experimental model signal, one input among others.
Live today: BTC-USD and ETH-USD, 1h candles. Live: prediction-market odds at
/api/v1/markets. Live: US stocks and ETFs (SPY, QQQ and other listed symbols) at/api/v1/stocks/forecastas Kronos AI forecasts (newest stored Kronos row from our own pipeline; a labeled baseline fallback when none is fresh). Forex later. Payments: live in USDC on Base and Solana mainnet. Live payment activity: /stats.
Model status
Model status: experimental, not calibrated. We backtested the raw Kronos-small output on past BTC and ETH candles. The raw model did not show a reliable directional edge, its raw 80% band was much too narrow, and its raw share of paths finishing higher overstated confidence. So the forecast is an experimental model signal, not a prediction you can rely on. The changes rolling out now:
- The range is re-centred on the last close and widened to match historical volatility. Treat it as a volatility-based range, not a model promise.
band_calibratedstaysfalse. - The expected move is shrunk to zero: no magnitude call is published.
- The raw share of paths finishing higher is replaced by a direction plus a confidence bucket that is never "high" from Kronos alone. Raw path counts are not probabilities or odds.
- Every forecast is scored after its 24-hour window and published, misses included, in the track record (summary on /stats; full log at /api/v1/track-record, paid per call).
Informational, not financial advice.
1. Use the API
No signup and no API key. Try /api/v1/basic once free; everything else is pay-per-call.
| Endpoint | What you get | Price |
|---|---|---|
GET /api/v1/forecast?symbol=BTC-USD&tf=1h |
Latest hourly fact list: direction, confidence label, volatility-based range, invalidation level, raw strike shares, per-step percentiles (experimental, not calibrated) | $0.02 via x402 |
GET /api/v1/signal?symbol=BTC-USD&tf=1h |
Signal Blend: Kronos + market context + prediction-market comparison, stance and reasons | $0.03 via x402 |
GET /api/v1/markets?symbol=BTC |
prediction markets for BTC, ETH, SOL or MACRO (Yes price, volume, resolve time, link) | $0.01 via x402 |
GET /api/v1/track-record |
Every stored forecast and its scored outcome, misses included (summary on /stats) | $0.01 via x402 |
GET /api/v1/basic?symbol=BTC-USD |
Stored run at least 4 hours old, trimmed | First call free once per agent, then $0.01 |
GET /api/v1/health |
Status only: data freshness, worker status, payment network mode | No payment |
Symbols: BTC-USD, ETH-USD. Timeframe: 1h.
Machine-readable docs: /openapi.json · /llms.txt · /llms-full.txt · /.well-known/x402
Try it now (your one free call; the X-Wallet header ties it to your wallet):
curl -i -H "X-Wallet: 0xYourAgentWallet" "https://quantx402.app/api/v1/basic?symbol=BTC-USD"
# Every other endpoint answers 402 + a PAYMENT-REQUIRED header (base64 JSON) until you pay:
curl -i "https://quantx402.app/api/v1/forecast?symbol=BTC-USD&tf=1h"
You're never charged for errors. Unsupported symbols, missing forecasts, and forecasts that are 2+ candles old return 4xx/5xx and the payment isn't settled.
2. Pay per call with x402
When you call /api/v1/forecast without paying, it answers HTTP 402 with a PAYMENT-REQUIRED header: the price (20000 USDC base units = $0.02), the accepted networks, and the pay-to address. Your client signs a USDC payment, retries with a PAYMENT-SIGNATURE header, and gets 200 with the JSON plus a PAYMENT-RESPONSE receipt.
// npm i @x402/fetch @x402/core @x402/evm viem
// Pays real USDC on Base mainnet: use a dedicated agent wallet with a small balance
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client();
client.register("eip155:8453", new ExactEvmScheme(privateKeyToAccount(process.env.EVM_PRIVATE_KEY)));
const payFetch = wrapFetchWithPayment(fetch, client);
const res = await payFetch("https://quantx402.app/api/v1/forecast?symbol=BTC-USD&tf=1h");
const facts = await res.json();
console.log(facts.direction, facts.prob_up, facts.band_80_pct, facts.invalidation_level);
Payments run on Base mainnet (eip155:8453) and Solana mainnet (solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp). To pay from Solana, also register ExactSvmScheme (@x402/svm/exact/client) with a Solana signer for that network. The step-by-step post walks through every request and header.
Good habits: give the agent wallet a small balance, check the decoded price before paying, and keep keys in environment variables, never in code or prompts.
3. Install the free skill
FDWA Kronos agent skill (MIT). It gives an agent the instructions and a script to run Kronos locally on any OHLCV data and return the same fact-list format the API uses. You need no account, and the guide covers the payment side.
4. Run Kronos yourself
Kronos is open source (MIT) by its original authors: paper, code, weights on Hugging Face. QuantX402 isn't affiliated with them. It runs on a CPU, and a GPU makes it faster.
git clone https://github.com/shiyu-coder/Kronos && cd Kronos
python -m venv .venv && source .venv/bin/activate
pip install torch pandas einops huggingface_hub safetensors
from model import Kronos, KronosTokenizer, KronosPredictor
tok = KronosTokenizer.from_pretrained("NeoQuasar/Kronos-Tokenizer-base")
mdl = Kronos.from_pretrained("NeoQuasar/Kronos-small")
p = KronosPredictor(mdl, tok, device="cpu", max_context=512)
pred = p.predict(df, x_timestamp, y_timestamp, pred_len=24, T=1.0, top_p=0.9, sample_count=1)
Pitfalls we hit in testing:
sample_countaverages the paths and returns one line, so you lose the spread. To keep all paths, repeat the series N times inpredict_batchwithsample_count=1.- Use closed candles only, and pass no NaNs. You have to build the future timestamps yourself. For stocks, that means using a market calendar so weekends and overnight hours are skipped.
- Settings change answers. Model size, lookback and temperature can flip the direction. Compare two setups and report it when they disagree.
- Backtest before you trust the raw output. In our walk-forward test the raw bands were far too narrow and the raw share of paths finishing higher overstated confidence. Score your own setup against real outcomes before using it, and widen or re-centre the range if it misses.
Running it yourself is free. The API exists for when you'd rather not maintain PyTorch, weights, data feeds, a scheduler and the interpretation layer.
5. Go deeper: Kronos for AI Agents
This guide is free. For the full walkthrough, the PDF Kronos for AI Agents — Teach Your Trading Bot to Read Candles (19 pages, $47 on Gumroad) covers, per its product page: setup in 5 minutes, multi-path forecasts, paper trading, agent fact lists, data storage, a sentiment add-on, and prediction-market mapping.
Building a wider AI agent workforce? FDWA's other playbook, AI Agents Money Lab (21 pages, $47), reviews 8 agent systems and includes setups with code and 5 money-making automations.
Educational material, not financial advice. Neither guide promises returns.
QuantX402 forecasts are experimental model output for research and education. Informational, not financial advice. Past results do not guarantee future results. Payments are live in USDC on Base and Solana mainnet.