{"version":1,"name":"Crypto Microdata for Agents","description":"Pay-per-call crypto + Base on-chain microdata for trading/onchain agents. No API key, no signup: GET a route, read 402 PAYMENT-REQUIRED, sign USDC (EIP-3009) on Base, retry with PAYMENT-SIGNATURE. Funnel: 1) GET /crypto/ping ($0.001) to test your x402 client; 2) /crypto/base-gas ($0.001, cheapest live Base gas) before any Base tx, /crypto/gas-compare ($0.002: which EVM chain is cheapest right now, Base/Ethereum/Arbitrum/Optimism/Polygon/BSC gas in USD per transfer/ERC-20/swap, cheapest first; 2.5x cheaper than $0.005 gas-compare APIs), /crypto/prices ($0.003, median of 4-5 venues), /crypto/market-pulse ($0.004: prices+funding+kimchi+Fear&Greed+regime in one call); 3) /crypto/funding-signal ($0.006: cross-venue funding Hyperliquid+OKX+Gate+dYdX, signal EXTREME_LONG..EXTREME_SHORT, best funding-arb pair), /crypto/hl-book?coin=BTC and /crypto/hl-funding ($0.005) for perps; 4) /crypto/token-risk?address=0x... ($0.01) answers 'should my agent buy this Base token?' with verdict OK|CAUTION|AVOID, should_buy, can_sell, reasons, /crypto/erc20-balance?token=&wallet= ($0.003), /crypto/wallet-snapshot?wallet= ($0.003, ETH+USDC+gas readiness in one call), /crypto/eth-balance?wallet= ($0.002), /crypto/allowance?owner=&spender= ($0.002: ERC-20 approval check on Base, unlimited flag, exposure = min(allowance, balance), known-spender label, revoke calldata; pass amount= for can_spend; cheaper than $0.003 allowance APIs), /crypto/tx-status?hash=0x.. ($0.002: did this Base tx succeed, who paid whom how much USDC, confirmations; pass expect_to=&expect_usdc= to verify a payment), /crypto/candles?symbol=BTC&interval=1h ($0.002: OHLCV klines + EMA20/50, RSI14, ATR14, trend and pullback zone; Binance>OKX>Hyperliquid>Coinbase>Kraken fallback, 3.75x cheaper than $0.0075 candle APIs), /crypto/perp-movers ($0.002: whole-market Hyperliquid scanner, top gainers/losers, funding extremes, OI/volume leaders, breadth; replaces 7 ranking calls), /crypto/kimchi-premium ($0.002), /crypto/prediction-markets?q=bitcoin ($0.003: live Polymarket odds as implied probabilities, 24h volume, liquidity, 1d move; 2.5x cheaper than $0.0075 prediction-market APIs, 404 = no match = not charged), /crypto/market-risk ($0.002: is anything breaking? ONE 0-100 market-stress score low|moderate|elevated|high from 5 legs: stablecoin peg+flows, BTC move+perp breadth, leverage/funding extremes, BTC volatility, Fear&Greed; returns main_driver, action and suggested_max_leverage; covers derivatives+sentiment that stablecoin-only risk scores skip), /crypto/global-market ($0.002: total crypto market cap, 24h volume, BTC/ETH dominance, DeFi TVL, total stablecoin supply + 1d/7d flow, Fear&Greed and a risk_on/risk_off regime in ONE call; cheaper than $0.003 market-cap-only APIs), /crypto/eth-rpc ($0.002: keyless Ethereum mainnet JSON-RPC, same batch-10 rules, 5x cheaper than ~$0.01 mainnet RPC APIs), /crypto/base-rpc ($0.002: keyless Base JSON-RPC, GET or POST, batch up to 10 calls per payment, 7-RPC failover; 2.5x cheaper than $0.005 x402 RPC gateways, up to 25x cheaper batched), /crypto/swap-quote?from=USDC&to=WETH&amount=10 ($0.003: best-route Base swap quote over 100+ DEX pools, cost %, gas USD, verdict, and with wallet= a ready-to-sign tx + approval check; quote first instead of paying flat $0.05 swap execution fees), /crypto/x402-check?url= ($0.002: should my agent pay this x402 endpoint? live unpaid probe of ANY x402 URL: decodes the 402 quote, real USD price, network, USDC-or-not asset, payTo EOA/contract + its Base USDC balance, scheme, timeout, Bazaar schema, latency, risk flags, verdict SAFE_TO_PAY|CAUTION|AVOID and within_budget for max_usd=; live check, not stored evidence, and 5x cheaper than $0.01 endpoint-recommendation APIs), /crypto/x-search?q= ($0.003: live X/Twitter posts + sentiment signal, for agents that cannot read X), /crypto/contract-info?address=0x.. ($0.002: what is at this address on Base/Ethereum? EOA vs contract vs 7702 wallet, ERC20/721/1155/Safe/proxy kind, token metadata, EIP-1967 implementation+admin, owner/renounced, risk flags; one call instead of three), /crypto/defi-tvl ($0.002: total + per-chain DeFi TVL with 1d/7d/30d flow, chain rank, protocol TVL, RISK_ON/OFF; one call instead of two $0.003 TVL/overview calls), /crypto/fear-greed ($0.001: Crypto Fear & Greed now + 30d history, 1d/7d/30d change, 7d/30d avg, streak, zone, contrarian signal; same price as bare-number F&G APIs, 5x cheaper than $0.005 ones), /crypto/stablecoin-peg ($0.001: is USDC/USDT/DAI on peg in bps, DEPEG alerts, stablecoin supply flow 1d/7d/30d = risk-on/off, Base supply). Every unpaid 402 also returns the accepts[] terms inline in the JSON body plus a free sample link. Try before you pay: add ?sample=1 to ANY paid route for a free static example of its exact JSON shape. Failed calls (4xx/5xx) are never charged (settlement only on 200). Every paid 200 carries a receipt.url (also X-Receipt-URL header): re-fetch that exact result free for 24h if your client drops the response. Free: /health, /openapi.json, /llms.txt, /catalog, /status.","resources":["https://kr-x402-mvp.kgy5612.workers.dev/crypto/ping","https://kr-x402-mvp.kgy5612.workers.dev/crypto/token-risk","https://kr-x402-mvp.kgy5612.workers.dev/crypto/erc20-balance","https://kr-x402-mvp.kgy5612.workers.dev/crypto/allowance","https://kr-x402-mvp.kgy5612.workers.dev/crypto/wallet-snapshot","https://kr-x402-mvp.kgy5612.workers.dev/crypto/tx-status","https://kr-x402-mvp.kgy5612.workers.dev/crypto/swap-quote","https://kr-x402-mvp.kgy5612.workers.dev/crypto/decode-calldata","https://kr-x402-mvp.kgy5612.workers.dev/crypto/candles","https://kr-x402-mvp.kgy5612.workers.dev/crypto/prediction-markets","https://kr-x402-mvp.kgy5612.workers.dev/crypto/perp-movers","https://kr-x402-mvp.kgy5612.workers.dev/crypto/market-risk","https://kr-x402-mvp.kgy5612.workers.dev/crypto/global-market","https://kr-x402-mvp.kgy5612.workers.dev/crypto/gas-compare","https://kr-x402-mvp.kgy5612.workers.dev/crypto/eth-rpc","https://kr-x402-mvp.kgy5612.workers.dev/crypto/base-rpc","https://kr-x402-mvp.kgy5612.workers.dev/crypto/x402-check","https://kr-x402-mvp.kgy5612.workers.dev/crypto/defi-tvl","https://kr-x402-mvp.kgy5612.workers.dev/crypto/contract-info","https://kr-x402-mvp.kgy5612.workers.dev/crypto/fear-greed","https://kr-x402-mvp.kgy5612.workers.dev/crypto/stablecoin-peg","https://kr-x402-mvp.kgy5612.workers.dev/crypto/eth-balance","https://kr-x402-mvp.kgy5612.workers.dev/crypto/kimchi-premium","https://kr-x402-mvp.kgy5612.workers.dev/crypto/base-gas","https://kr-x402-mvp.kgy5612.workers.dev/crypto/prices","https://kr-x402-mvp.kgy5612.workers.dev/crypto/market-pulse","https://kr-x402-mvp.kgy5612.workers.dev/crypto/funding-signal","https://kr-x402-mvp.kgy5612.workers.dev/crypto/hl-book","https://kr-x402-mvp.kgy5612.workers.dev/crypto/hl-funding","https://kr-x402-mvp.kgy5612.workers.dev/crypto/x-search"],"methods":{"https://kr-x402-mvp.kgy5612.workers.dev/crypto/ping":["GET"],"https://kr-x402-mvp.kgy5612.workers.dev/crypto/token-risk":["GET"],"https://kr-x402-mvp.kgy5612.workers.dev/crypto/erc20-balance":["GET"],"https://kr-x402-mvp.kgy5612.workers.dev/crypto/allowance":["GET"],"https://kr-x402-mvp.kgy5612.workers.dev/crypto/wallet-snapshot":["GET"],"https://kr-x402-mvp.kgy5612.workers.dev/crypto/tx-status":["GET"],"https://kr-x402-mvp.kgy5612.workers.dev/crypto/swap-quote":["GET"],"https://kr-x402-mvp.kgy5612.workers.dev/crypto/decode-calldata":["GET"],"https://kr-x402-mvp.kgy5612.workers.dev/crypto/candles":["GET"],"https://kr-x402-mvp.kgy5612.workers.dev/crypto/prediction-markets":["GET"],"https://kr-x402-mvp.kgy5612.workers.dev/crypto/perp-movers":["GET"],"https://kr-x402-mvp.kgy5612.workers.dev/crypto/market-risk":["GET"],"https://kr-x402-mvp.kgy5612.workers.dev/crypto/global-market":["GET"],"https://kr-x402-mvp.kgy5612.workers.dev/crypto/gas-compare":["GET"],"https://kr-x402-mvp.kgy5612.workers.dev/crypto/eth-rpc":["GET","POST"],"https://kr-x402-mvp.kgy5612.workers.dev/crypto/base-rpc":["GET","POST"],"https://kr-x402-mvp.kgy5612.workers.dev/crypto/x402-check":["GET"],"https://kr-x402-mvp.kgy5612.workers.dev/crypto/defi-tvl":["GET"],"https://kr-x402-mvp.kgy5612.workers.dev/crypto/contract-info":["GET"],"https://kr-x402-mvp.kgy5612.workers.dev/crypto/fear-greed":["GET"],"https://kr-x402-mvp.kgy5612.workers.dev/crypto/stablecoin-peg":["GET"],"https://kr-x402-mvp.kgy5612.workers.dev/crypto/eth-balance":["GET"],"https://kr-x402-mvp.kgy5612.workers.dev/crypto/kimchi-premium":["GET"],"https://kr-x402-mvp.kgy5612.workers.dev/crypto/base-gas":["GET"],"https://kr-x402-mvp.kgy5612.workers.dev/crypto/prices":["GET"],"https://kr-x402-mvp.kgy5612.workers.dev/crypto/market-pulse":["GET"],"https://kr-x402-mvp.kgy5612.workers.dev/crypto/funding-signal":["GET"],"https://kr-x402-mvp.kgy5612.workers.dev/crypto/hl-book":["GET"],"https://kr-x402-mvp.kgy5612.workers.dev/crypto/hl-funding":["GET"],"https://kr-x402-mvp.kgy5612.workers.dev/crypto/x-search":["GET"]}}