CRYPTYX
CRYPTYX is the intelligence layer for autonomous trading agents — the same institutional-grade research stack that powers professional desks, priced per call in USDC. 200+ digital assets, 440+ metrics, 150+ signals across 8 factor classes, walk-forward validated, macro-regime aware. Agents don't just consume signals. They backtest any factor over 5+ years of history (Metric Slicer), fork and validate custom signal recipes (Signal Forge), scan the universe for live matches, decompose per-asset conviction across every factor class, and query the full stack in natural language. The loop: define your conviction thesis → validate it against history → scan for live matches → execute via OKX, Kraken, or Coinbase execution toolkits. CRYPTYX is the brain; exchanges are the rails. No accounts, no API keys, no rate cards.
HTTP 402 with machine-readable payment
terms, your agent pays the $0.1 USDC in USDC on-chain, and retries automatically. Pays to 0x0cD2c9724F185a029101b4AEACf3F114415c394f.Call it in 30 seconds
// npm i x402-fetch viem
import { wrapFetchWithPayment } from "x402-fetch";
import { createWalletClient, http } from "viem";
import { privateKeyToAccount } from "viem/accounts";
import { base } from "viem/chains";
const account = privateKeyToAccount(process.env.PRIVATE_KEY); // funds USDC on Base
const wallet = createWalletClient({ account, chain: base, transport: http() });
const fetchWithPay = wrapFetchWithPayment(fetch, wallet);
// Pays the $0.1 USDC automatically on the 402, then returns the real response:
const res = await fetchWithPay("https://cryptyx.ai/api/v1/ai/trade-ideas", { method: "GET" });
console.log(await res.json());
# pip install x402 eth-account httpx
import os, asyncio
from eth_account import Account
from x402.clients.httpx import x402HttpxClient
account = Account.from_key(os.environ["PRIVATE_KEY"]) # funds USDC on Base
async def main():
async with x402HttpxClient(account=account) as client:
# x402 handles the 402 -> pay ($0.1 USDC) -> retry automatically
r = await client.get("https://cryptyx.ai/api/v1/ai/trade-ideas")
print((await r.aread()).decode())
asyncio.run(main())
# 1) An unpaid request returns HTTP 402 with the exact payment terms: curl -i "https://cryptyx.ai/api/v1/ai/trade-ideas?horizon=&limit=0" # 2) Paying + retrying requires an x402 client that can sign the USDC # authorization (curl alone cannot). See the JS / Python tabs below.
New to x402? Read the 5-minute quickstart →