LIVE

Machine-actionable
market data for agents

Pay-per-call crypto market data API built for AI agents. Live orderflow from 20 exchanges, multi-year historical OHLCV, and on-chain address risk profiling. Structured JSON your code can branch on directly — no LLM required. No signup. No API keys. Pay USDC per call via x402 protocol.

0 API Calls
20 Exchanges
10 Timeframes
$0 USDC Settled
POST $0.20
/data

Live market snapshot. Reliably populated fields only — no nulls. Price, volume, market cap, derivatives, and aggregated orderflow from the Pillar engine. 15 tokens, refreshed every 5 minutes.

price_usd change_pct_24h volume_24h_usd market_cap_usd 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
POST $0.25
/analyze/market

Pre-trade macro context. Data-only, no LLM. Returns a directional market reading, macro regime classification, and full macro context (DXY, VIX, yield, S&P500, fear/greed). Add "context":"7d" for percentile rankings. 15 tokens.

price_usd price_change_24h pulse_signal signal_confidence macro_regime macro_context.dxy macro_context.vix macro_context.yield_10y macro_context.sp500 macro_context.fear_greed_score macro_context.fear_greed_label
POST $0.50
/analyze/orderflow

Cross-exchange orderflow from 20 live venues. Data-only. CVD direction, buy/sell pressure, whale activity, and per-exchange breakdown showing accumulating vs. distributing venues. 24 tokens.

cvd_direction cvd_value buy_ratio whale_bar_count_1h liquidation_buy_1h liquidation_sell_1h cvd_divergence spot_perp_delta volume_herfindahl exchange_breakdown.exchanges_accumulating exchange_breakdown.exchanges_distributing exchange_breakdown.dominant_direction exchange_breakdown.diverging_exchanges
POST $0.75
/analyze/full

Complete picture — all data from /market + /orderflow, plus a single grounded LLM call. Returns enumerated values your code can switch on directly: stance, orderflow classification, risk level, and a verdict sentence citing specific data values. 15 tokens.

stance orderflow_signal risk_level warnings[] verdict + all /market fields + all /orderflow fields
POST $0.25
/analyze/address

On-chain address risk profile. Auto-detects EVM (0x…) or Solana (base58). Returns address classification, entity label if known, account age, activity history, token holdings, and risk flags.

address_type is_contract is_verified entity_label account_age_days last_active_days_ago tx_count native_balance top_tokens risk_level flags
POST $5.00
/data/history/1h

Hourly OHLCV + orderflow bars. Up to 7 years of history, 5,000 bars per call. Taker buy/sell volume split, CVD, and liquidations per bar. 24 tokens.

timestamp open high low close vbuy vsell cvd buy_ratio lbuy lsell 7yr depth
POST $5.00
/data/history/1d

Daily OHLCV + orderflow bars. Up to 7 years depth for backtesting and regime analysis. Same fields as /1h — taker volume split, CVD, liquidations per day. 24 tokens.

timestamp open high low close vbuy vsell cvd buy_ratio lbuy lsell 7yr depth
POST $1.00
/data/history/5m

5-minute bars. 17-day rolling window of live tick-level orderflow. High-resolution CVD, liquidations, and buy ratio for intraday model inputs. 24 tokens.

timestamp open high low close vbuy vsell cvd buy_ratio lbuy lsell 17-day window
GET FREE

Live data inventory grid. Every token, every timeframe — historical depth, bar count, exchange count, and live status. Sourced directly from InfluxDB and cached 1h. JSON version at /data/coverage.

24 tokens 10 timeframes oldest bar date exchange count live status
import os
from x402.http.clients.httpx import x402HttpxClient
from x402.mechanisms.evm.signers import EthAccountSigner

signer = EthAccountSigner(private_key=os.environ["WALLET_PRIVATE_KEY"])
client = x402HttpxClient(signer=signer)

# 1. Request hits 402 — server says "pay $0.50 USDC"
# 2. x402 SDK signs payment from your wallet (~200ms)
# 3. Retry with payment header — structured orderflow data returned

resp = await client.post(
    "https://x402.tunedfor.ai/analyze/orderflow",
    json={"token": "BTC"}
)

data = resp.json()
if data["cvd_direction"] == "up" and data["buy_ratio"] > 0.6:
    do_something()  # branch on data, not interpretation
# 1. Check what's available and priced (free)
curl https://x402.tunedfor.ai/catalog

# 2. Call any endpoint — server returns 402 with price and payment details
curl -X POST https://x402.tunedfor.ai/analyze/orderflow \
  -H "Content-Type: application/json" \
  -d '{"token": "BTC"}'
# → 402 Payment Required: $0.50 USDC on Base

# 3. Preview cached output before paying (free)
curl https://x402.tunedfor.ai/demo
Auto-discovery

Service Manifest

Machine-readable catalog of every endpoint, price, schema, and description. Pull it into any agent or tool to autodiscover what's available.

curl https://x402.tunedfor.ai/.well-known/x402.json

Preview cached responses before paying: /demo →

MCP Registry

Smithery

Submitting to the Smithery MCP registry. Once approved, any MCP-compatible agent runner can wire up in one command.

smithery install x402-crypto-market-structure
Pending review
Claude Skill

Claude Code Skill

Drop the SKILL.md into your Claude project to give Claude direct access. Or wire up the MCP server directly.

{ "mcpServers": { "x402-crypto": { "command": "python", "args": ["mcp_server.py"], "env": { "X402_API_BASE_URL": "https://x402.tunedfor.ai", "PAYER_PRIVATE_KEY": "0x_YOUR_KEY" } } } }
Native x402

Direct x402

Any x402-compatible agent client works natively. No registration. No API key. The protocol handles payment negotiation automatically.

Protocol: x402 v2 Networks: Base mainnet Solana mainnet Facilitator: Coinbase CDP

Live Exchange Grid

Tick-level orderflow from 20 exchanges aggregated across 10 timeframes (1m to 1d). CVD, liquidations, whale bars, buy/sell ratios. InfluxDB-backed with 17-day rolling window on 5-minute bars and multi-year history on hourly and daily.

24 tokens · 20 exchanges · 10 timeframes · InfluxDB

Token Snapshot Engine

5-minute market snapshots covering price, volume, market cap, derivatives, and aggregated orderflow. 15 tokens with all fields reliably populated — no nulls served to callers.

15 tokens · 5-min refresh · 16 fields

Market Intelligence Engine

Composite directional reading across price momentum, orderflow, and macro context. Produces pulse_signal (up/down) with signal_confidence (0–1). Refreshed every 5 minutes.

pulse_signal · signal_confidence · macro_regime

Macro Context

DXY, VIX, 10Y yield, S&P500, and fear/greed index from multiple institutional sources. Daily refresh. Feeds the macro_regime classification returned by /analyze/market.

regime detection · daily refresh
01

Agent requests data

POST any endpoint with {"token": "BTC"}. No auth headers required.

02

Server returns 402

Response includes the price in USDC, the payment wallet address, and network (Base or Solana).

03

Agent pays

x402 SDK signs the USDC payment. Coinbase CDP facilitator verifies on-chain. ~200ms round trip.

04

Data returned

Structured JSON your code can branch on directly. Cached for 1 hour. No subscriptions, no commitments.

Every field traces to a live source.

Every field traces to a live Pillar snapshot or an InfluxDB bar — no derived or imputed values. The data_freshness field on every response shows exactly how old the snapshot is. Historical bars go back to 2019 for major tokens.

View coverage grid →
5min
Snapshot refresh