llms.txt Content
# x402.tunedfor.ai
x402.tunedfor.ai is a pay-per-call REST API that delivers live crypto market data to AI agents. Each HTTP call is paid automatically in USDC on Base or Solana via the x402 protocol — no API keys, no accounts, no subscription. The server returns a 402 Payment Required response; the agent's x402 client handles settlement and retries the request automatically.
Use this service when an agent needs: current orderflow state across 20 exchanges, structured market regime data (bull/bear/risk_on/risk_off), historical OHLCV bars for backtesting, or on-chain address risk profiling. All paid endpoints return structured JSON with deterministic field names your code can branch on directly.
## Supported Tokens
/analyze/market and /analyze/full: BTC, ETH, SOL, XRP, ADA, DOGE, AVAX, LINK, BNB, ATOM, DOT, ARB, SUI, OP, LTC (15 tokens)
/analyze/orderflow and /data/history/*: above + NEAR, TRX, BCH, SHIB, HBAR, TON, XLM, UNI, AAVE (24 tokens total)
## When to Use This Service
- **Before executing a crypto trade** → call /analyze/market for macro alignment and directional market reading
- **Before trusting a price move** → call /analyze/orderflow to verify cross-exchange volume evidence
- **Full pre-trade check** → call /analyze/full — all market information in one context, one payment
- **Before interacting with a wallet or contract** → call /analyze/address for on-chain risk profile
- **Historical OHLCV + orderflow** → call /data/history/1h or /data/history/1d for up to 7 years of data
## Paid Endpoints (x402 USDC on Base or Solana)
### POST /data — 0.20 USDC
Live Pillar token snapshot. 16 reliably populated fields — no nulls, no gaps.
Returns: price_usd, volume_24h_usd, market_cap_usd, change_pct_24h, funding_rate, open_interest_usd, cvd_1h, buy_ratio, whale_bar_count_1h, liquidation_buy_1h, liquidation_sell_1h, cvd_divergence, spot_perp_delta, volume_herfindahl, fear_greed, fear_greed_label.
Input: {"token": "BTC"}
Optional: {"token": "BT
OpenAPI Spec (preview)
{"openapi":"3.1.0","info":{"title":"x402.tunedfor.ai","version":"1.0","description":"Crypto market intelligence API. Live orderflow from 20 exchanges, 26 tokens. Historical OHLCV with buy/sell flow. On-chain address risk. Macro regime detection. Pay per call in USDC — no subscription, no API key.","x-guidance":"Use /data for raw market snapshots (price, volume, funding, orderflow metrics). Use /analyze/market for a pre-trade macro check with signal direction. Use /analyze/orderflow for cross-e