Kronos
Pay-per-call BTC/ETH/SOL forecasts & crypto derivatives signals for autonomous agents, via x402.
No API keys. No subscriptions. AI agents pay $0.001 USDC per call via the x402 HTTP micropayment protocol (Base Sepolia testnet — mainnet soon). Moat: a verifiable, auto-scored track record visible at /api/stats.
Endpoints
| Method | Path | Price | Returns |
|---|---|---|---|
| GET | /api/v1/forecast/btc | $0.001 USDC | BTC-USD directional signal: EMA/RSI/MACD/ATR composite, up_prob (0–1), price range estimate, confidence score. Multi-asset forecasts (ETH, SOL) via ?asset= coming soon. |
| GET | /api/v1/signals/btc | $0.001 USDC | BTC derivatives intelligence: funding rate, open interest, basis, OI change (1h), funding trend signal. Source: Bybit. |
Forecast parameter: ?horizon=1h | 4h | 24h (default: 1h). Network: eip155:84532 (Base Sepolia testnet). Auth: x402 X-PAYMENT header (EIP-3009).
How to Pay (x402)
Kronos uses the x402 protocol: the server returns HTTP 402 with a signed payment requirement; the client attaches a USDC EIP-3009 authorization as an X-PAYMENT header and replays the request. The x402 facilitator submits on-chain and covers gas. No wallet pop-ups, no subscriptions.
import { wrapFetchWithPaymentFromConfig } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm";
import { privateKeyToAccount } from "viem/accounts";
// Set BUYER_PRIVATE_KEY in your environment — never commit a real key
const account = privateKeyToAccount(
process.env.BUYER_PRIVATE_KEY as `0x${string}`
);
const fetchWithPayment = wrapFetchWithPaymentFromConfig(fetch, {
schemes: [{
network: "eip155:84532", // Base Sepolia testnet
client: new ExactEvmScheme(account),
}],
});
// $0.001 USDC paid automatically — gasless EIP-3009 flow
const res = await fetchWithPayment(
"https://kronossignals.com/api/v1/forecast/btc?horizon=1h",
{ method: "GET" }
);
const forecast = await res.json();
console.log(forecast.forecast.up_prob); // e.g. 0.67
console.log(forecast.indicators.rsi14); // e.g. 58.2Install: npm i @x402/fetch @x402/evm viem. Set BUYER_PRIVATE_KEYin your environment — never commit a real key. Facilitator: x402.org/facilitator.
Track Record & Trust
Kronos maintains a verifiable, auto-scored accuracy log. Every forecast is scored against the actual price at the predicted horizon. Results are public, continuously updated, and machine-readable.
- /api/statsLive accuracy: hit rate, in-range rate, total calls, total earnings
- /.well-known/x402x402 discovery manifest — payable endpoints + schemas (machine-readable)
- /api/openapi.jsonOpenAPI 3.0 spec (machine-readable)
- /api/healthHealth check (no payment required)
About
Kronos is a machine-payable market-intelligence API built for autonomous agents. The forecast endpoint fetches live OHLCV data and runs the Kronos ML model, producing a composite signal from six indicator votes: price-vs-EMA20, price-vs-EMA50, EMA20/EMA50 crossover, RSI(14) momentum, MACD(12,26,9) line sign, and MACD histogram sign. The derivatives endpoint provides real-time funding rate, open interest, basis, and trend signals sourced from Bybit. Currently on Base Sepolia testnet; mainnet (Base) launch imminent.