{"openapi":"3.1.0","info":{"title":"Crypto Microdata for Agents (x402)","version":"0.6.16","description":"Pay-per-call crypto microdata for trading/onchain AI agents via x402 (USDC on Base): Base gas, token risk, balances, multi-venue prices, Hyperliquid book/funding, kimchi premium. No API keys.","x-guidance":"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.","x-tags":["crypto","base","swap","swap-quote","dex-aggregator","calldata","abi-decode","pre-sign","hyperliquid","gas","prices","kimchi-premium","perps","x402","token-risk","honeypot","erc20","onchain","market-pulse","fear-greed","funding-rates","funding-signal","tx-status","payment-verify","allowance","approval","revoke","approval-risk","permit2","tx-decode","stablecoin","depeg","usdc-peg","stablecoin-flows","candles","ohlcv","klines","technical-analysis","rsi","ema","atr","prediction-markets","polymarket","implied-probability","event-odds","top-movers","gainers","screener","market-breadth","rpc","json-rpc","base-rpc","eth-rpc","gas-compare","multichain","arbitrum","optimism","polygon","bsc","ethereum","mainnet","node","x402-check","endpoint-trust","pre-payment-check","api-verification","agent-safety","x","twitter","x-search","social-sentiment","fear-and-greed","sentiment-index","contrarian","defi","tvl","defi-tvl","chain-tvl","contract-info","proxy","eip-1967","introspection","eip-7702"],"contact":{"name":"Crypto Microdata for Agents","email":"kgy5612@gmail.com"}},"tags":[{"name":"x402","description":"Paid x402 routes: /crypto/ping ($0.001), /crypto/wallet-snapshot ($0.003), /crypto/tx-status ($0.002), /crypto/x402-check ($0.002)"},{"name":"ping","description":"Paid x402 routes: /crypto/ping ($0.001)"},{"name":"test","description":"Paid x402 routes: /crypto/ping ($0.001)"},{"name":"heartbeat","description":"Paid x402 routes: /crypto/ping ($0.001)"},{"name":"crypto","description":"Paid x402 routes: /crypto/ping ($0.001), /crypto/token-risk ($0.01), /crypto/erc20-balance ($0.003), /crypto/allowance ($0.002), /crypto/wallet-snapshot ($0.003), /crypto/tx-status ($0.002), /crypto/swap-quote ($0.003), /crypto/decode-calldata ($0.002), /crypto/candles ($0.002), /crypto/prediction-markets ($0.003), /crypto/perp-movers ($0.002), /crypto/market-risk ($0.002), /crypto/global-market ($0.002), /crypto/gas-compare ($0.002), /crypto/eth-rpc ($0.002), /crypto/base-rpc ($0.002), /crypto/x402-check ($0.002), /crypto/defi-tvl ($0.002), /crypto/contract-info ($0.002), /crypto/fear-greed ($0.001), /crypto/stablecoin-peg ($0.001), /crypto/eth-balance ($0.002), /crypto/kimchi-premium ($0.002), /crypto/base-gas ($0.001), /crypto/prices ($0.003), /crypto/market-pulse ($0.004), /crypto/funding-signal ($0.006), /crypto/hl-book ($0.005), /crypto/hl-funding ($0.005), /crypto/x-search ($0.003)"},{"name":"token-risk","description":"Paid x402 routes: /crypto/token-risk ($0.01)"},{"name":"token-verdict","description":"Paid x402 routes: /crypto/token-risk ($0.01)"},{"name":"should-buy","description":"Paid x402 routes: /crypto/token-risk ($0.01)"},{"name":"honeypot","description":"Paid x402 routes: /crypto/token-risk ($0.01)"},{"name":"can-sell","description":"Paid x402 routes: /crypto/token-risk ($0.01)"},{"name":"security","description":"Paid x402 routes: /crypto/token-risk ($0.01)"},{"name":"base","description":"Paid x402 routes: /crypto/token-risk ($0.01), /crypto/erc20-balance ($0.003), /crypto/allowance ($0.002), /crypto/wallet-snapshot ($0.003), /crypto/tx-status ($0.002), /crypto/swap-quote ($0.003), /crypto/decode-calldata ($0.002), /crypto/gas-compare ($0.002), /crypto/base-rpc ($0.002), /crypto/x402-check ($0.002), /crypto/defi-tvl ($0.002), /crypto/contract-info ($0.002), /crypto/stablecoin-peg ($0.001), /crypto/eth-balance ($0.002), /crypto/base-gas ($0.001)"},{"name":"erc20","description":"Paid x402 routes: /crypto/token-risk ($0.01), /crypto/erc20-balance ($0.003), /crypto/allowance ($0.002), /crypto/tx-status ($0.002), /crypto/contract-info ($0.002)"},{"name":"rug-check","description":"Paid x402 routes: /crypto/token-risk ($0.01)"},{"name":"token-verdict-api","description":"Paid x402 routes: /crypto/token-risk ($0.01)"},{"name":"token-analysis","description":"Paid x402 routes: /crypto/token-risk ($0.01)"},{"name":"balance","description":"Paid x402 routes: /crypto/erc20-balance ($0.003), /crypto/wallet-snapshot ($0.003), /crypto/eth-balance ($0.002)"},{"name":"onchain","description":"Paid x402 routes: /crypto/erc20-balance ($0.003), /crypto/allowance ($0.002), /crypto/wallet-snapshot ($0.003), /crypto/tx-status ($0.002), /crypto/swap-quote ($0.003), /crypto/decode-calldata ($0.002), /crypto/eth-rpc ($0.002), /crypto/base-rpc ($0.002), /crypto/contract-info ($0.002), /crypto/eth-balance ($0.002), /crypto/base-gas ($0.001)"},{"name":"wallet","description":"Paid x402 routes: /crypto/erc20-balance ($0.003), /crypto/wallet-snapshot ($0.003), /crypto/eth-balance ($0.002)"},{"name":"allowance","description":"Paid x402 routes: /crypto/allowance ($0.002), /crypto/tx-status ($0.002)"},{"name":"approval","description":"Paid x402 routes: /crypto/allowance ($0.002), /crypto/tx-status ($0.002), /crypto/swap-quote ($0.003)"},{"name":"revoke","description":"Paid x402 routes: /crypto/allowance ($0.002), /crypto/tx-status ($0.002)"},{"name":"approval-risk","description":"Paid x402 routes: /crypto/allowance ($0.002), /crypto/tx-status ($0.002), /crypto/decode-calldata ($0.002)"},{"name":"permit2","description":"Paid x402 routes: /crypto/allowance ($0.002), /crypto/tx-status ($0.002)"},{"name":"wallet-security","description":"Paid x402 routes: /crypto/allowance ($0.002), /crypto/decode-calldata ($0.002)"},{"name":"defi","description":"Paid x402 routes: /crypto/allowance ($0.002), /crypto/swap-quote ($0.003), /crypto/defi-tvl ($0.002)"},{"name":"wallet-quick","description":"Paid x402 routes: /crypto/wallet-snapshot ($0.003)"},{"name":"payee-check","description":"Paid x402 routes: /crypto/wallet-snapshot ($0.003)"},{"name":"usdc","description":"Paid x402 routes: /crypto/wallet-snapshot ($0.003), /crypto/tx-status ($0.002), /crypto/x402-check ($0.002), /crypto/stablecoin-peg ($0.001)"},{"name":"eth","description":"Paid x402 routes: /crypto/wallet-snapshot ($0.003), /crypto/eth-balance ($0.002)"},{"name":"gas","description":"Paid x402 routes: /crypto/wallet-snapshot ($0.003), /crypto/gas-compare ($0.002), /crypto/base-gas ($0.001)"},{"name":"agent","description":"Paid x402 routes: /crypto/wallet-snapshot ($0.003)"},{"name":"transaction","description":"Paid x402 routes: /crypto/tx-status ($0.002), /crypto/base-gas ($0.001)"},{"name":"tx-status","description":"Paid x402 routes: /crypto/tx-status ($0.002)"},{"name":"tx-decode","description":"Paid x402 routes: /crypto/tx-status ($0.002), /crypto/decode-calldata ($0.002)"},{"name":"payment-verify","description":"Paid x402 routes: /crypto/tx-status ($0.002)"},{"name":"receipt","description":"Paid x402 routes: /crypto/tx-status ($0.002)"},{"name":"evm","description":"Paid x402 routes: /crypto/tx-status ($0.002), /crypto/decode-calldata ($0.002), /crypto/gas-compare ($0.002), /crypto/eth-rpc ($0.002), /crypto/base-rpc ($0.002), /crypto/base-gas ($0.001)"},{"name":"swap","description":"Paid x402 routes: /crypto/swap-quote ($0.003)"},{"name":"swap-quote","description":"Paid x402 routes: /crypto/swap-quote ($0.003)"},{"name":"dex","description":"Paid x402 routes: /crypto/swap-quote ($0.003)"},{"name":"dex-aggregator","description":"Paid x402 routes: /crypto/swap-quote ($0.003)"},{"name":"best-price","description":"Paid x402 routes: /crypto/swap-quote ($0.003)"},{"name":"trade","description":"Paid x402 routes: /crypto/swap-quote ($0.003)"},{"name":"buy-token","description":"Paid x402 routes: /crypto/swap-quote ($0.003)"},{"name":"price-impact","description":"Paid x402 routes: /crypto/swap-quote ($0.003)"},{"name":"slippage","description":"Paid x402 routes: /crypto/swap-quote ($0.003)"},{"name":"calldata","description":"Paid x402 routes: /crypto/swap-quote ($0.003), /crypto/decode-calldata ($0.002)"},{"name":"uniswap","description":"Paid x402 routes: /crypto/swap-quote ($0.003)"},{"name":"aerodrome","description":"Paid x402 routes: /crypto/swap-quote ($0.003)"},{"name":"kyberswap","description":"Paid x402 routes: /crypto/swap-quote ($0.003)"},{"name":"trading-agent","description":"Paid x402 routes: /crypto/swap-quote ($0.003)"},{"name":"abi-decode","description":"Paid x402 routes: /crypto/decode-calldata ($0.002)"},{"name":"function-selector","description":"Paid x402 routes: /crypto/decode-calldata ($0.002)"},{"name":"4byte","description":"Paid x402 routes: /crypto/decode-calldata ($0.002)"},{"name":"pre-sign","description":"Paid x402 routes: /crypto/decode-calldata ($0.002)"},{"name":"unlimited-approval","description":"Paid x402 routes: /crypto/decode-calldata ($0.002)"},{"name":"permit","description":"Paid x402 routes: /crypto/decode-calldata ($0.002)"},{"name":"simulation","description":"Paid x402 routes: /crypto/decode-calldata ($0.002)"},{"name":"agent-safety","description":"Paid x402 routes: /crypto/decode-calldata ($0.002), /crypto/x402-check ($0.002), /crypto/contract-info ($0.002)"},{"name":"x","description":"Paid x402 routes: /crypto/decode-calldata ($0.002), /crypto/x-search ($0.003)"},{"name":"twitter","description":"Paid x402 routes: /crypto/decode-calldata ($0.002), /crypto/x-search ($0.003)"},{"name":"x-search","description":"Paid x402 routes: /crypto/decode-calldata ($0.002), /crypto/x-search ($0.003)"},{"name":"social-sentiment","description":"Paid x402 routes: /crypto/decode-calldata ($0.002)"},{"name":"candles","description":"Paid x402 routes: /crypto/candles ($0.002)"},{"name":"ohlcv","description":"Paid x402 routes: /crypto/candles ($0.002)"},{"name":"klines","description":"Paid x402 routes: /crypto/candles ($0.002)"},{"name":"chart","description":"Paid x402 routes: /crypto/candles ($0.002)"},{"name":"technical-analysis","description":"Paid x402 routes: /crypto/candles ($0.002)"},{"name":"rsi","description":"Paid x402 routes: /crypto/candles ($0.002)"},{"name":"ema","description":"Paid x402 routes: /crypto/candles ($0.002)"},{"name":"atr","description":"Paid x402 routes: /crypto/candles ($0.002)"},{"name":"binance","description":"Paid x402 routes: /crypto/candles ($0.002), /crypto/funding-signal ($0.006)"},{"name":"trading","description":"Paid x402 routes: /crypto/candles ($0.002), /crypto/perp-movers ($0.002), /crypto/market-risk ($0.002), /crypto/fear-greed ($0.001), /crypto/market-pulse ($0.004), /crypto/funding-signal ($0.006), /crypto/hl-book ($0.005)"},{"name":"bitcoin","description":"Paid x402 routes: /crypto/candles ($0.002), /crypto/prediction-markets ($0.003), /crypto/fear-greed ($0.001), /crypto/kimchi-premium ($0.002), /crypto/prices ($0.003), /crypto/market-pulse ($0.004)"},{"name":"ethereum","description":"Paid x402 routes: /crypto/candles ($0.002), /crypto/gas-compare ($0.002), /crypto/eth-rpc ($0.002), /crypto/defi-tvl ($0.002), /crypto/contract-info ($0.002), /crypto/kimchi-premium ($0.002), /crypto/prices ($0.003)"},{"name":"solana","description":"Paid x402 routes: /crypto/candles ($0.002), /crypto/defi-tvl ($0.002), /crypto/prices ($0.003)"},{"name":"indicators","description":"Paid x402 routes: /crypto/candles ($0.002)"},{"name":"prediction-markets","description":"Paid x402 routes: /crypto/prediction-markets ($0.003)"},{"name":"polymarket","description":"Paid x402 routes: /crypto/prediction-markets ($0.003)"},{"name":"odds","description":"Paid x402 routes: /crypto/prediction-markets ($0.003)"},{"name":"implied-probability","description":"Paid x402 routes: /crypto/prediction-markets ($0.003)"},{"name":"event-odds","description":"Paid x402 routes: /crypto/prediction-markets ($0.003)"},{"name":"betting","description":"Paid x402 routes: /crypto/prediction-markets ($0.003)"},{"name":"macro","description":"Paid x402 routes: /crypto/prediction-markets ($0.003), /crypto/global-market ($0.002)"},{"name":"fed","description":"Paid x402 routes: /crypto/prediction-markets ($0.003)"},{"name":"election","description":"Paid x402 routes: /crypto/prediction-markets ($0.003)"},{"name":"forecast","description":"Paid x402 routes: /crypto/prediction-markets ($0.003)"},{"name":"sentiment","description":"Paid x402 routes: /crypto/prediction-markets ($0.003), /crypto/fear-greed ($0.001), /crypto/market-pulse ($0.004), /crypto/x-search ($0.003)"},{"name":"perps","description":"Paid x402 routes: /crypto/perp-movers ($0.002), /crypto/funding-signal ($0.006), /crypto/hl-book ($0.005), /crypto/hl-funding ($0.005)"},{"name":"hyperliquid","description":"Paid x402 routes: /crypto/perp-movers ($0.002), /crypto/funding-signal ($0.006), /crypto/hl-book ($0.005), /crypto/hl-funding ($0.005)"},{"name":"top-movers","description":"Paid x402 routes: /crypto/perp-movers ($0.002)"},{"name":"gainers","description":"Paid x402 routes: /crypto/perp-movers ($0.002)"},{"name":"losers","description":"Paid x402 routes: /crypto/perp-movers ($0.002)"},{"name":"screener","description":"Paid x402 routes: /crypto/perp-movers ($0.002)"},{"name":"scanner","description":"Paid x402 routes: /crypto/perp-movers ($0.002)"},{"name":"rankings","description":"Paid x402 routes: /crypto/perp-movers ($0.002)"},{"name":"leaderboard","description":"Paid x402 routes: /crypto/perp-movers ($0.002)"},{"name":"funding-rates","description":"Paid x402 routes: /crypto/perp-movers ($0.002), /crypto/market-risk ($0.002), /crypto/funding-signal ($0.006)"},{"name":"open-interest","description":"Paid x402 routes: /crypto/perp-movers ($0.002), /crypto/hl-funding ($0.005)"},{"name":"momentum","description":"Paid x402 routes: /crypto/perp-movers ($0.002)"},{"name":"market-breadth","description":"Paid x402 routes: /crypto/perp-movers ($0.002)"},{"name":"market-risk","description":"Paid x402 routes: /crypto/market-risk ($0.002), /crypto/stablecoin-peg ($0.001)"},{"name":"risk-score","description":"Paid x402 routes: /crypto/market-risk ($0.002)"},{"name":"market-stress","description":"Paid x402 routes: /crypto/market-risk ($0.002)"},{"name":"risk-off","description":"Paid x402 routes: /crypto/market-risk ($0.002)"},{"name":"risk-on","description":"Paid x402 routes: /crypto/market-risk ($0.002), /crypto/global-market ($0.002), /crypto/defi-tvl ($0.002)"},{"name":"depeg","description":"Paid x402 routes: /crypto/market-risk ($0.002), /crypto/stablecoin-peg ($0.001)"},{"name":"stablecoin","description":"Paid x402 routes: /crypto/market-risk ($0.002), /crypto/stablecoin-peg ($0.001)"},{"name":"leverage","description":"Paid x402 routes: /crypto/market-risk ($0.002)"},{"name":"volatility","description":"Paid x402 routes: /crypto/market-risk ($0.002)"},{"name":"fear-greed","description":"Paid x402 routes: /crypto/market-risk ($0.002), /crypto/global-market ($0.002), /crypto/fear-greed ($0.001), /crypto/market-pulse ($0.004)"},{"name":"position-sizing","description":"Paid x402 routes: /crypto/market-risk ($0.002)"},{"name":"risk-management","description":"Paid x402 routes: /crypto/market-risk ($0.002)"},{"name":"circuit-breaker","description":"Paid x402 routes: /crypto/market-risk ($0.002)"},{"name":"market-cap","description":"Paid x402 routes: /crypto/global-market ($0.002)"},{"name":"crypto-market-cap","description":"Paid x402 routes: /crypto/global-market ($0.002)"},{"name":"total-market-cap","description":"Paid x402 routes: /crypto/global-market ($0.002)"},{"name":"btc-dominance","description":"Paid x402 routes: /crypto/global-market ($0.002)"},{"name":"eth-dominance","description":"Paid x402 routes: /crypto/global-market ($0.002)"},{"name":"bitcoin-dominance","description":"Paid x402 routes: /crypto/global-market ($0.002)"},{"name":"defi-tvl","description":"Paid x402 routes: /crypto/global-market ($0.002), /crypto/defi-tvl ($0.002)"},{"name":"tvl","description":"Paid x402 routes: /crypto/global-market ($0.002), /crypto/defi-tvl ($0.002)"},{"name":"stablecoin-supply","description":"Paid x402 routes: /crypto/global-market ($0.002)"},{"name":"stablecoin-flows","description":"Paid x402 routes: /crypto/global-market ($0.002), /crypto/stablecoin-peg ($0.001)"},{"name":"market-overview","description":"Paid x402 routes: /crypto/global-market ($0.002), /crypto/market-pulse ($0.004)"},{"name":"market-regime","description":"Paid x402 routes: /crypto/global-market ($0.002)"},{"name":"gas-compare","description":"Paid x402 routes: /crypto/gas-compare ($0.002)"},{"name":"gas-price","description":"Paid x402 routes: /crypto/gas-compare ($0.002), /crypto/base-gas ($0.001)"},{"name":"multichain","description":"Paid x402 routes: /crypto/gas-compare ($0.002)"},{"name":"arbitrum","description":"Paid x402 routes: /crypto/gas-compare ($0.002)"},{"name":"optimism","description":"Paid x402 routes: /crypto/gas-compare ($0.002)"},{"name":"polygon","description":"Paid x402 routes: /crypto/gas-compare ($0.002)"},{"name":"bsc","description":"Paid x402 routes: /crypto/gas-compare ($0.002)"},{"name":"l2","description":"Paid x402 routes: /crypto/gas-compare ($0.002), /crypto/base-gas ($0.001)"},{"name":"fees","description":"Paid x402 routes: /crypto/gas-compare ($0.002)"},{"name":"cheapest-chain","description":"Paid x402 routes: /crypto/gas-compare ($0.002)"},{"name":"routing","description":"Paid x402 routes: /crypto/gas-compare ($0.002)"},{"name":"mainnet","description":"Paid x402 routes: /crypto/eth-rpc ($0.002)"},{"name":"l1","description":"Paid x402 routes: /crypto/eth-rpc ($0.002)"},{"name":"rpc","description":"Paid x402 routes: /crypto/eth-rpc ($0.002), /crypto/base-rpc ($0.002)"},{"name":"json-rpc","description":"Paid x402 routes: /crypto/eth-rpc ($0.002), /crypto/base-rpc ($0.002)"},{"name":"eth-rpc","description":"Paid x402 routes: /crypto/eth-rpc ($0.002)"},{"name":"node","description":"Paid x402 routes: /crypto/eth-rpc ($0.002), /crypto/base-rpc ($0.002)"},{"name":"eth_call","description":"Paid x402 routes: /crypto/eth-rpc ($0.002), /crypto/base-rpc ($0.002)"},{"name":"eth_getLogs","description":"Paid x402 routes: /crypto/eth-rpc ($0.002), /crypto/base-rpc ($0.002)"},{"name":"broadcast","description":"Paid x402 routes: /crypto/eth-rpc ($0.002), /crypto/base-rpc ($0.002)"},{"name":"web3","description":"Paid x402 routes: /crypto/eth-rpc ($0.002), /crypto/base-rpc ($0.002)"},{"name":"infrastructure","description":"Paid x402 routes: /crypto/eth-rpc ($0.002), /crypto/base-rpc ($0.002)"},{"name":"base-rpc","description":"Paid x402 routes: /crypto/base-rpc ($0.002)"},{"name":"send-transaction","description":"Paid x402 routes: /crypto/base-rpc ($0.002)"},{"name":"x402-check","description":"Paid x402 routes: /crypto/x402-check ($0.002)"},{"name":"endpoint-trust","description":"Paid x402 routes: /crypto/x402-check ($0.002)"},{"name":"pre-payment-check","description":"Paid x402 routes: /crypto/x402-check ($0.002)"},{"name":"api-verification","description":"Paid x402 routes: /crypto/x402-check ($0.002)"},{"name":"payment-safety","description":"Paid x402 routes: /crypto/x402-check ($0.002)"},{"name":"trust","description":"Paid x402 routes: /crypto/x402-check ($0.002)"},{"name":"due-diligence","description":"Paid x402 routes: /crypto/x402-check ($0.002), /crypto/contract-info ($0.002)"},{"name":"price-check","description":"Paid x402 routes: /crypto/x402-check ($0.002)"},{"name":"total-value-locked","description":"Paid x402 routes: /crypto/defi-tvl ($0.002)"},{"name":"chain-tvl","description":"Paid x402 routes: /crypto/defi-tvl ($0.002)"},{"name":"protocol-tvl","description":"Paid x402 routes: /crypto/defi-tvl ($0.002)"},{"name":"defi-overview","description":"Paid x402 routes: /crypto/defi-tvl ($0.002)"},{"name":"capital-flows","description":"Paid x402 routes: /crypto/defi-tvl ($0.002)"},{"name":"tvl-ranking","description":"Paid x402 routes: /crypto/defi-tvl ($0.002)"},{"name":"defillama","description":"Paid x402 routes: /crypto/defi-tvl ($0.002)"},{"name":"contract","description":"Paid x402 routes: /crypto/contract-info ($0.002)"},{"name":"contract-info","description":"Paid x402 routes: /crypto/contract-info ($0.002)"},{"name":"introspection","description":"Paid x402 routes: /crypto/contract-info ($0.002)"},{"name":"proxy","description":"Paid x402 routes: /crypto/contract-info ($0.002)"},{"name":"eip-1967","description":"Paid x402 routes: /crypto/contract-info ($0.002)"},{"name":"upgradeable","description":"Paid x402 routes: /crypto/contract-info ($0.002)"},{"name":"erc721","description":"Paid x402 routes: /crypto/contract-info ($0.002)"},{"name":"erc1155","description":"Paid x402 routes: /crypto/contract-info ($0.002)"},{"name":"nft","description":"Paid x402 routes: /crypto/contract-info ($0.002)"},{"name":"safe","description":"Paid x402 routes: /crypto/contract-info ($0.002)"},{"name":"multisig","description":"Paid x402 routes: /crypto/contract-info ($0.002)"},{"name":"eoa","description":"Paid x402 routes: /crypto/contract-info ($0.002)"},{"name":"eip-7702","description":"Paid x402 routes: /crypto/contract-info ($0.002)"},{"name":"owner","description":"Paid x402 routes: /crypto/contract-info ($0.002)"},{"name":"bytecode","description":"Paid x402 routes: /crypto/contract-info ($0.002)"},{"name":"fear-and-greed","description":"Paid x402 routes: /crypto/fear-greed ($0.001)"},{"name":"sentiment-index","description":"Paid x402 routes: /crypto/fear-greed ($0.001)"},{"name":"contrarian","description":"Paid x402 routes: /crypto/fear-greed ($0.001)"},{"name":"market-sentiment","description":"Paid x402 routes: /crypto/fear-greed ($0.001)"},{"name":"usdt","description":"Paid x402 routes: /crypto/stablecoin-peg ($0.001)"},{"name":"dai","description":"Paid x402 routes: /crypto/stablecoin-peg ($0.001)"},{"name":"peg","description":"Paid x402 routes: /crypto/stablecoin-peg ($0.001)"},{"name":"risk","description":"Paid x402 routes: /crypto/stablecoin-peg ($0.001)"},{"name":"liquidity","description":"Paid x402 routes: /crypto/stablecoin-peg ($0.001)"},{"name":"korea","description":"Paid x402 routes: /crypto/kimchi-premium ($0.002)"},{"name":"kimchi-premium","description":"Paid x402 routes: /crypto/kimchi-premium ($0.002), /crypto/market-pulse ($0.004)"},{"name":"upbit","description":"Paid x402 routes: /crypto/kimchi-premium ($0.002)"},{"name":"fx","description":"Paid x402 routes: /crypto/kimchi-premium ($0.002)"},{"name":"gas-oracle","description":"Paid x402 routes: /crypto/base-gas ($0.001)"},{"name":"eip-1559","description":"Paid x402 routes: /crypto/base-gas ($0.001)"},{"name":"fee-estimate","description":"Paid x402 routes: /crypto/base-gas ($0.001)"},{"name":"maxFeePerGas","description":"Paid x402 routes: /crypto/base-gas ($0.001)"},{"name":"prices","description":"Paid x402 routes: /crypto/prices ($0.003)"},{"name":"funding","description":"Paid x402 routes: /crypto/market-pulse ($0.004), /crypto/hl-funding ($0.005)"},{"name":"regime","description":"Paid x402 routes: /crypto/market-pulse ($0.004)"},{"name":"funding-signal","description":"Paid x402 routes: /crypto/funding-signal ($0.006)"},{"name":"okx","description":"Paid x402 routes: /crypto/funding-signal ($0.006)"},{"name":"bitget","description":"Paid x402 routes: /crypto/funding-signal ($0.006)"},{"name":"gate","description":"Paid x402 routes: /crypto/funding-signal ($0.006)"},{"name":"dydx","description":"Paid x402 routes: /crypto/funding-signal ($0.006)"},{"name":"bybit","description":"Paid x402 routes: /crypto/funding-signal ($0.006)"},{"name":"arbitrage","description":"Paid x402 routes: /crypto/funding-signal ($0.006)"},{"name":"squeeze","description":"Paid x402 routes: /crypto/funding-signal ($0.006)"},{"name":"positioning","description":"Paid x402 routes: /crypto/funding-signal ($0.006)"},{"name":"orderbook","description":"Paid x402 routes: /crypto/hl-book ($0.005)"},{"name":"social","description":"Paid x402 routes: /crypto/x-search ($0.003)"},{"name":"crypto-twitter","description":"Paid x402 routes: /crypto/x-search ($0.003)"},{"name":"ct","description":"Paid x402 routes: /crypto/x-search ($0.003)"},{"name":"social-signal","description":"Paid x402 routes: /crypto/x-search ($0.003)"},{"name":"cashtag","description":"Paid x402 routes: /crypto/x-search ($0.003)"},{"name":"news","description":"Paid x402 routes: /crypto/x-search ($0.003)"}],"servers":[{"url":"https://kr-x402-mvp.kgy5612.workers.dev"}],"components":{"securitySchemes":{"x402":{"type":"http","scheme":"bearer","description":"Not a bearer token. Pay with x402: reply to 402 using PAYMENT-SIGNATURE (USDC EIP-3009 on Base)."}}},"security":[{"x402":[]}],"paths":{"/crypto/ping":{"get":{"operationId":"ping","summary":"Paid heartbeat","description":"Paid heartbeat: cheapest way to test your x402 client end-to-end on Base USDC. Returns {ok:true,t,next}.","tags":["x402","ping","test","heartbeat","crypto"],"x-tags":["x402","ping","test","heartbeat","crypto"],"x-category":"Utility","x-price-usd":"0.001000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.001000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"1000"},"parameters":[{"name":"echo","in":"query","required":false,"schema":{"type":"string","maxLength":64,"description":"Optional string echoed back (correlate your test call)","examples":["my-agent-1"]},"example":"my-agent-1"}],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"ok":true,"t":"2026-10-28T14:00:00Z","next":["/crypto/base-gas","/crypto/prices","/crypto/token-risk"]}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}}}},"/crypto/token-risk":{"get":{"operationId":"getTokenRisk","summary":"Should your agent buy this Base token","description":"Should your agent buy this Base token? Half the price of $0.02 AI token-verdict quests, deterministic on-chain checks instead of an LLM opinion. One-call verdict OK|CAUTION|AVOID + should_buy + can_sell + plain-English reasons, backed by risk_score 0-100 + level, flags (honeypot, cannot_sell_all, high tax, mintable, hidden owner, proxy, blacklist, unverified), bytecode size, EIP-1967 proxy impl, owner(), buy/sell tax, honeypot simulation, top10 holder pct, holders. address=0x... (Base ERC-20).","tags":["crypto","token-risk","token-verdict","should-buy","honeypot","can-sell","security","base","erc20","rug-check","token-verdict-api","token-analysis"],"x-tags":["crypto","token-risk","token-verdict","should-buy","honeypot","can-sell","security","base","erc20","rug-check","token-verdict-api","token-analysis"],"x-category":"Security","x-price-usd":"0.010000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.010000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"10000"},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Base ERC-20 contract","examples":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]},"example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"chain":"base","address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","risk_score":5,"risk_level":"low","verdict":"OK","should_buy":true,"can_sell":true,"reasons":["upgradeable proxy (logic can change)"],"flags":["upgradeable_proxy"],"token":{"symbol":"USDC","decimals":6,"holder_count":11391096},"contract":{"is_contract":true,"bytecode_bytes":1852,"verified_source":true},"trading":{"buy_tax":0,"sell_tax":0,"honeypot_sim":{"is_honeypot":false},"top10_holder_pct":26.49}}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}}}},"/crypto/erc20-balance":{"get":{"operationId":"getErc20Balance","summary":"Live ERC-20 balance on Base","description":"Live ERC-20 balance on Base: token=0x..&wallet=0x.. -> balance (decimals applied), raw, symbol, block.","tags":["crypto","base","erc20","balance","onchain","wallet"],"x-tags":["crypto","base","erc20","balance","onchain","wallet"],"x-category":"Onchain","x-price-usd":"0.003000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.003000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"3000"},"parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Base ERC-20 contract","examples":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]},"example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},{"name":"wallet","in":"query","required":true,"schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Wallet","examples":["0xe4be4d0bd82d8e68203deff81f79ede0529f2617"]},"example":"0xe4be4d0bd82d8e68203deff81f79ede0529f2617"}],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"chain":"base","block":53204016,"token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","wallet":"0xe4be4d0bd82d8e68203deff81f79ede0529f2617","symbol":"USDC","decimals":6,"balance_raw":"61000","balance":0.061}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}}}},"/crypto/allowance":{"get":{"operationId":"getAllowance","summary":"ERC-20 approval check on Base","description":"ERC-20 approval check on Base: how much can spender move from owner? owner=0x..&spender=0x..[&token=0x.., default USDC][&amount=] -> allowance, unlimited flag, owner balance, exposure (min of allowance and balance), known spender label (Permit2, Uniswap, 1inch, 0x, Odos, Aerodrome), risk class, revoke_recommended + ready approve(spender,0) calldata, can_spend when amount= given. Use before transferFrom/swap, or to audit a wallet's dangerous approvals. Cheaper than $0.003 allowance APIs; 4xx/5xx never charged.","tags":["crypto","base","erc20","allowance","approval","revoke","approval-risk","permit2","wallet-security","onchain","defi"],"x-tags":["crypto","base","erc20","allowance","approval","revoke","approval-risk","permit2","wallet-security","onchain","defi"],"x-category":"Security","x-price-usd":"0.002000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"2000"},"parameters":[{"name":"owner","in":"query","required":true,"schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token holder (alias wallet)","examples":["0xe4be4d0bd82d8e68203deff81f79ede0529f2617"]},"example":"0xe4be4d0bd82d8e68203deff81f79ede0529f2617"},{"name":"spender","in":"query","required":true,"schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Approved spender / router","examples":["0x000000000022D473030F116dDEE9F6B43aC78BA3"]},"example":"0x000000000022D473030F116dDEE9F6B43aC78BA3"},{"name":"token","in":"query","required":false,"schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Base ERC-20 (default USDC)","examples":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]},"example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},{"name":"amount","in":"query","required":false,"schema":{"type":"number","description":"Optional amount to test can_spend","examples":[1]}}],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"chain":"base","block":53250000,"token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","owner":"0xe4be4d0bd82d8e68203deff81f79ede0529f2617","spender":"0x000000000022D473030F116dDEE9F6B43aC78BA3","spender_label":"Uniswap Permit2","symbol":"USDC","decimals":6,"allowance_raw":"0","allowance":0,"unlimited":false,"owner_balance":0.079,"exposure":0,"risk":"none","revoke_recommended":false,"revoke_tx":null}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}}}},"/crypto/wallet-snapshot":{"get":{"operationId":"getWalletSnapshot","summary":"One-call Base wallet quick check (agent self-check or counterparty/payee check before you ","description":"One-call Base wallet quick check (agent self-check or counterparty/payee check before you pay): native ETH + nonce + USDC balance + live gas cost of an ERC-20 transfer, and can_pay_gas / can_pay_x402 booleans. Cheaper than eth-balance + erc20-balance + base-gas separately ($0.006). wallet=0x..","tags":["crypto","base","wallet","wallet-quick","payee-check","balance","usdc","eth","gas","onchain","x402","agent"],"x-tags":["crypto","base","wallet","wallet-quick","payee-check","balance","usdc","eth","gas","onchain","x402","agent"],"x-category":"Onchain","x-price-usd":"0.003000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.003000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"3000"},"parameters":[{"name":"wallet","in":"query","required":true,"schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Wallet","examples":["0xe4be4d0bd82d8e68203deff81f79ede0529f2617"]},"example":"0xe4be4d0bd82d8e68203deff81f79ede0529f2617"}],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"chain":"base","wallet":"0xe4be4d0bd82d8e68203deff81f79ede0529f2617","eth":0,"nonce":0,"usdc":0.079,"gas_cost_erc20_transfer_eth":4e-7,"can_pay_gas":false,"can_pay_x402":true}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}}}},"/crypto/tx-status":{"get":{"operationId":"getTxStatus","summary":"Did this Base transaction succeed, and who paid whom","description":"Did this Base transaction succeed, and who paid whom? hash=0x.. (64 hex) -> status success|failed|pending, block, confirmations, timestamp, from, to, ETH value, gas used + fee in ETH, method (transfer / approve / transferWithAuthorization / Multicall3 ...), is_x402_settlement (EIP-3009 AuthorizationUsed on USDC), and every decoded ERC-20 Transfer (token, symbol, from, to, amount with decimals). Optional expect_to=0x..&expect_usdc=0.01 returns payment_verified true|false (did expect_to receive >= that USDC in this tx). When to call: after sending a tx, before delivering goods for a payment, to confirm an x402 settlement, or to explain an unknown hash. Cheaper than generic tx-decode APIs ($0.003).","tags":["crypto","base","transaction","tx-status","tx-decode","payment-verify","allowance","approval","revoke","approval-risk","permit2","receipt","usdc","erc20","x402","onchain","evm"],"x-tags":["crypto","base","transaction","tx-status","tx-decode","payment-verify","allowance","approval","revoke","approval-risk","permit2","receipt","usdc","erc20","x402","onchain","evm"],"x-category":"Onchain","x-price-usd":"0.002000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"2000"},"parameters":[{"name":"hash","in":"query","required":true,"schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$","description":"Base tx hash","examples":["0x3ea6d07f7e990ba4c2289487cd12ea41b6e13b48518fa38b24de2afd1df1d8ca"]},"example":"0x3ea6d07f7e990ba4c2289487cd12ea41b6e13b48518fa38b24de2afd1df1d8ca"},{"name":"expect_to","in":"query","required":false,"schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Optional: payee you expect to receive USDC"}},{"name":"expect_usdc","in":"query","required":false,"schema":{"type":"number","minimum":0,"description":"Optional: minimum USDC amount expected (with expect_to)"}}],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"chain":"base","hash":"0x3ea6d07f7e990ba4c2289487cd12ea41b6e13b48518fa38b24de2afd1df1d8ca","status":"success","block":53220068,"confirmations":21764,"timestamp":"2026-10-28T23:18:03Z","from":"0xc6699d2aada6c36dfea5c248dd70f9cb0235cb63","to":"0xca11bde05977b3631167028862be2a173976ca11","method":"aggregate3 (Multicall3)","is_x402_settlement":true,"value_eth":0,"gas_used":92312,"fee_eth":6.5e-7,"transfers":[{"token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","symbol":"USDC","from":"0xa1d1c0cf717402ff3651aa4873ccf96410b01978","to":"0xe4be4d0bd82d8e68203deff81f79ede0529f2617","amount":0.002}],"usdc_received":{"0xe4be4d0bd82d8e68203deff81f79ede0529f2617":0.002},"payment_verified":true}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}}}},"/crypto/swap-quote":{"get":{"operationId":"swapQuote","summary":"Best Base swap quote + ready-to-sign tx","description":"How much will I get, and what do I sign? Best-route swap quote on Base for any token pair: from=USDC|ETH|WETH|cbBTC|DAI|AERO|DEGEN|BRETT|VIRTUAL or 0x.. &to=..&amount=10 (human units) [&wallet=0x.. for ready-to-sign calldata + approval check] [&slippage_bps=50]. Aggregates 100+ Base DEX pools (KyberSwap meta-aggregator, OpenOcean fallback). Returns amount_out, min_out after slippage, effective price, USD in/out, total cost % (price impact + fees), gas + L1 fee in USD, net_out_usd, DEX route, router (with known-router label), verdict GOOD|OK|POOR|AVOID. With wallet=: tx {to,data,value} to broadcast, current allowance to the router, needs_approval + exact approve calldata, and balance check. When to call: before any agent swap or token buy on Base, instead of paying a flat $0.05 swap execution fee. Pair with /crypto/token-risk (is the token safe) and /crypto/decode-calldata (verify the tx). 4xx/no-route never charged.","tags":["crypto","base","swap","swap-quote","dex","dex-aggregator","best-price","trade","buy-token","price-impact","slippage","calldata","approval","uniswap","aerodrome","kyberswap","defi","onchain","trading-agent"],"x-tags":["crypto","base","swap","swap-quote","dex","dex-aggregator","best-price","trade","buy-token","price-impact","slippage","calldata","approval","uniswap","aerodrome","kyberswap","defi","onchain","trading-agent"],"x-category":"Onchain","x-price-usd":"0.003000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.003000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"3000"},"parameters":[{"name":"from","in":"query","required":true,"schema":{"type":"string","description":"Token in: symbol (USDC, ETH, WETH, cbBTC, DAI, USDbC, AERO, DEGEN, BRETT, VIRTUAL) or 0x address","examples":["USDC"]},"example":"USDC"},{"name":"to","in":"query","required":true,"schema":{"type":"string","description":"Token out: symbol or 0x address","examples":["WETH"]},"example":"WETH"},{"name":"amount","in":"query","required":true,"schema":{"type":"string","description":"Amount of token in, human units (e.g. 10 = 10 USDC)","examples":["10"]},"example":"10"},{"name":"wallet","in":"query","required":false,"schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Optional sender/recipient: returns ready-to-sign tx + allowance/balance check"}},{"name":"slippage_bps","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":2000,"description":"Slippage tolerance in bps (default 50 = 0.5%)"}}],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"chain":"base","from":{"symbol":"USDC","address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6},"to":{"symbol":"WETH","address":"0x4200000000000000000000000000000000000006","decimals":18},"amount_in":10,"amount_out":0.0044952,"min_out":0.00447272,"slippage_bps":50,"price":2224.6,"amount_in_usd":9.976,"amount_out_usd":10.0487,"cost_pct":-0.73,"gas_usd":0.0319,"l1_fee_usd":0.0015,"net_out_usd":10.0153,"route":["pmm-2"],"hops":1,"router":"0x6131b5fae19ea4f9d964eac0408e4408b66337b5","router_label":"KyberSwap MetaAggregation Router v2","verdict":"GOOD","source":"kyberswap","guidance":"Good fill. Pass wallet= for ready-to-sign calldata; verify it with /crypto/decode-calldata before signing."}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}}}},"/crypto/decode-calldata":{"get":{"operationId":"decodeCalldata","summary":"Decode calldata + pre-sign risk verdict","description":"What am I about to sign? Pre-sign calldata decoder for Base: data=0x.. (selector+args) [&to=0x.. token/contract for symbol+decimals] or hash=0x.. (decode an existing tx). Resolves the 4-byte selector (builtin + openchain + 4byte, collision-checked by ABI round-trip), returns function signature, typed args, plain-English summary, risk none|low|medium|high, flags (unlimited_approval, unknown_spender, approve_all_nfts, offchain_permit, permit2_allowance, batched_calls, inner_approval, eip3009_x402_settlement) and verdict SAFE_TO_SIGN|CAUTION|DANGER. Multicall/aggregate3 inner calls are decoded too. When to call: before an agent signs any tx or approval it did not build itself, or to explain an unknown tx input. 2.5x cheaper than $0.005 hash/keccak utilities and tells you what the bytes do. 4xx never charged.","tags":["crypto","base","calldata","abi-decode","tx-decode","function-selector","4byte","pre-sign","approval-risk","unlimited-approval","permit","wallet-security","simulation","evm","onchain","agent-safety","x","twitter","x-search","social-sentiment"],"x-tags":["crypto","base","calldata","abi-decode","tx-decode","function-selector","4byte","pre-sign","approval-risk","unlimited-approval","permit","wallet-security","simulation","evm","onchain","agent-safety","x","twitter","x-search","social-sentiment"],"x-category":"Security","x-price-usd":"0.002000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"2000"},"parameters":[{"name":"data","in":"query","required":false,"schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{8,}$","description":"Calldata hex (selector + ABI args). Required unless hash given","examples":["0x095ea7b3000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"]},"example":"0x095ea7b3000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},{"name":"to","in":"query","required":false,"schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Optional target contract (token) for symbol/decimals + label"},"example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},{"name":"hash","in":"query","required":false,"schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$","description":"Optional Base tx hash: decode its input instead of data"}}],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"chain":"base","to":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","verdict":"CAUTION","selector":"0x095ea7b3","function":"approve(address,uint256)","signature_source":"builtin","args":[{"type":"address","value":"0x000000000022D473030F116dDEE9F6B43aC78BA3"},{"type":"uint256","value":"115792089237316195423570985008687907853269984665640564039457584007913129639935"}],"spender":"0x000000000022D473030F116dDEE9F6B43aC78BA3","spender_label":"Uniswap Permit2","unlimited":true,"amount":"unlimited","risk":"medium","flags":["unlimited_approval"],"summary":"lets Uniswap Permit2 move ALL USDC from the signer","guidance":"Review the decoded args; simulate with /crypto/base-rpc?method=eth_call before signing."}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}}}},"/crypto/candles":{"get":{"operationId":"getCandles","summary":"OHLCV candlesticks (klines) for any major USDT pair with indicators precomputed, so your t","description":"OHLCV candlesticks (klines) for any major USDT pair with indicators precomputed, so your trading agent skips the math: symbol=BTC|ETH|SOL|BNB|XRP|DOGE|ADA|AVAX|LINK|SUI|... (or BTCUSDT), interval=1m|5m|15m|1h|4h|1d (default 1h), limit=10-500 (default 100). Returns candles [{t,o,h,l,c,v}] oldest->newest plus last close, change_pct over the window, EMA20, EMA50, RSI14, ATR14 (abs + pct), trend up|down|range, and a pullback zone EMA20 +/- 0.75*ATR (in_zone true/false). Source fallback Binance -> OKX -> Hyperliquid -> Coinbase -> Kraken -> Bybit (source field tells which). When to call: signal generation, backtest seed, stop/target sizing from ATR. 3.75x cheaper than $0.0075 candle endpoints; 60s cache.","tags":["crypto","candles","ohlcv","klines","chart","technical-analysis","rsi","ema","atr","binance","trading","bitcoin","ethereum","solana","indicators"],"x-tags":["crypto","candles","ohlcv","klines","chart","technical-analysis","rsi","ema","atr","binance","trading","bitcoin","ethereum","solana","indicators"],"x-category":"Market Data","x-price-usd":"0.002000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"2000"},"parameters":[{"name":"symbol","in":"query","required":false,"schema":{"type":"string","description":"Base asset or pair (default BTC); quote is USDT","examples":["BTC","ETH","SOLUSDT"]},"example":"BTC"},{"name":"interval","in":"query","required":false,"schema":{"type":"string","enum":["1m","5m","15m","1h","4h","1d"],"description":"Candle size (default 1h)"},"example":"1h"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":10,"maximum":500,"description":"Number of candles (default 100)"},"example":100}],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"symbol":"BTCUSDT","interval":"1h","source":"binance","updated_at":"2026-10-29T14:20:00Z","n":100,"last":80436.6,"change_pct":1.8,"indicators":{"ema20":80210.4,"ema50":79880.1,"rsi14":58.3,"atr14":412.7,"atr14_pct":0.51,"trend":"up","zone":{"low":79900.9,"high":80519.9,"in_zone":true}},"candles":[{"t":"2026-10-29T13:00:00Z","o":80058.01,"h":80418.67,"l":79916,"c":80305.21,"v":792.98}]}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}}}},"/crypto/prediction-markets":{"get":{"operationId":"getPredictionMarkets","summary":"Live prediction-market odds (Polymarket) as clean implied probabilities, so your agent can","description":"Live prediction-market odds (Polymarket) as clean implied probabilities, so your agent can price events: q=bitcoin|ethereum|solana|fed|election|any keyword (default crypto), limit=1-20 events (default 8), markets=1-20 per event (default 6). Returns events sorted by 24h volume, each with markets [{question, outcome_label, yes_prob, no_prob, best_bid, best_ask, change_1d, volume_24h, liquidity, end_date, url}], contested markets (5-95%) first; plus top_contested (the most-traded genuinely uncertain market). When to call: hedge or size a trade on BTC/ETH price targets, read crowd odds on Fed/macro/election events, feed an event-driven strategy. 2.5x cheaper than $0.0075 prediction-market endpoints; no match returns 404 and is never charged; 60s cache.","tags":["prediction-markets","polymarket","odds","implied-probability","event-odds","betting","crypto","bitcoin","macro","fed","election","forecast","sentiment"],"x-tags":["prediction-markets","polymarket","odds","implied-probability","event-odds","betting","crypto","bitcoin","macro","fed","election","forecast","sentiment"],"x-category":"Market Data","x-price-usd":"0.003000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.003000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"3000"},"parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":80,"description":"Search keyword (default crypto)","examples":["bitcoin","ethereum","fed rate","election"]},"example":"bitcoin"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":20,"description":"Events to return (default 8)"},"example":8},{"name":"markets","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":20,"description":"Markets per event (default 6)"}}],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"q":"bitcoin","source":"polymarket","updated_at":"2026-10-29T15:30:00Z","n_events":1,"top_contested":{"event":"Bitcoin above ___ on October 30?","question":"Will the price of Bitcoin be above $80,000 on October 30?","yes_prob":0.62,"volume_24h":41000},"events":[{"title":"Bitcoin above ___ on October 30?","end_date":"2026-10-30T16:00:00Z","volume_24h":281751.88,"liquidity":610000,"url":"https://polymarket.com/event/bitcoin-above-on-october-30","markets":[{"question":"Will the price of Bitcoin be above $80,000 on October 30?","outcome_label":"80,000","yes_prob":0.62,"no_prob":0.38,"best_bid":0.61,"best_ask":0.63,"change_1d":0.05,"volume_24h":41000,"liquidity":50000,"contested":true}]}]}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}}}},"/crypto/perp-movers":{"get":{"operationId":"getPerpMovers","summary":"Whole-market perp scanner (all ~200 Hyperliquid perps) in one call","description":"Whole-market perp scanner (all ~200 Hyperliquid perps) in one call: top_gainers, top_losers, top_volume, top_open_interest, highest_funding (crowded longs), most_negative_funding (crowded shorts / squeeze candidates), unusual_activity (24h volume / OI), plus market breadth (advance_ratio, broad_rally|mixed|broad_selloff). Each row: coin, mark_px, change_24h_pct, volume_24h_usd, open_interest_usd, funding_apr_pct, premium_bps, max_leverage. When to call: pick what to trade this hour, find funding extremes, momentum or mean-reversion screens. limit=1-25 (default 10), min_volume_usd (default 1,000,000). Replaces 7 separate $0.002 ranking calls; 30s cache.","tags":["crypto","perps","hyperliquid","top-movers","gainers","losers","screener","scanner","rankings","leaderboard","funding-rates","open-interest","momentum","market-breadth","trading"],"x-tags":["crypto","perps","hyperliquid","top-movers","gainers","losers","screener","scanner","rankings","leaderboard","funding-rates","open-interest","momentum","market-breadth","trading"],"x-category":"Market Data","x-price-usd":"0.002000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"2000"},"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":25,"description":"Rows per ranking (default 10)"},"example":10},{"name":"min_volume_usd","in":"query","required":false,"schema":{"type":"number","minimum":0,"description":"Liquidity filter on 24h notional volume (default 1000000)"}}],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"venue":"hyperliquid","updated_at":"2026-10-29T16:00:00Z","universe":230,"liquid":140,"breadth":{"advancers":96,"decliners":44,"advance_ratio":0.686,"label":"broad_rally"},"top_gainers":[{"coin":"HYPE","mark_px":41.2,"change_24h_pct":8.4,"volume_24h_usd":410000000,"open_interest_usd":1200000000,"funding_apr_pct":14.2,"premium_bps":-1.1,"max_leverage":10,"vol_oi_ratio":0.34}],"top_losers":[],"top_volume":[],"top_open_interest":[],"highest_funding":[],"most_negative_funding":[],"unusual_activity":[],"sources":["https://api.hyperliquid.xyz/info"]}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}}}},"/crypto/market-risk":{"get":{"operationId":"getMarketRisk","summary":"Is anything breaking in crypto right now","description":"Is anything breaking in crypto right now? One composite 0-100 market-stress score (low|moderate|elevated|high) with a per-leg breakdown: stablecoins (worst USDC/USDT/DAI peg deviation in bps + 7d supply flow), price & breadth (BTC 24h move + share of ~140 liquid Hyperliquid perps that are up), leverage (BTC funding APR + share of perps at extreme funding), volatility (BTC 1h ATR14 as % of price) and sentiment (Fear & Greed). Returns main_driver, anything_breaking, a plain-English action and suggested_max_leverage. When to call: once at the top of every trading, treasury or payment loop, before sizing a position, adding leverage or settling in a stablecoin. Unlike stablecoin-only risk scores it includes derivatives and sentiment. Needs >=3 live legs (otherwise 503, not charged); recomputed every 60s. Sources: DefiLlama, Kraken, Hyperliquid, Binance/OKX/Bybit, CoinLore, alternative.me.","tags":["crypto","market-risk","risk-score","market-stress","risk-off","risk-on","depeg","stablecoin","leverage","funding-rates","volatility","fear-greed","position-sizing","risk-management","circuit-breaker","trading"],"x-tags":["crypto","market-risk","risk-score","market-stress","risk-off","risk-on","depeg","stablecoin","leverage","funding-rates","volatility","fear-greed","position-sizing","risk-management","circuit-breaker","trading"],"x-category":"Market Data","x-price-usd":"0.002000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"2000"},"parameters":[],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"updated_at":"2026-10-30T06:30:00Z","score":31,"label":"moderate","anything_breaking":false,"main_driver":"sentiment","action":"trade normally but keep stops; avoid adding leverage into the main driver","suggested_max_leverage":3,"legs":{"stablecoins":{"stress":4,"weight":0.25,"worst_peg":{"symbol":"USDT","peg_dev_bps":-3.1},"supply_7d_pct":0.4,"verdict":"ALL_PEGGED"},"price_breadth":{"stress":38,"weight":0.25,"btc_change_24h_pct":-1.2,"advance_ratio":0.31,"liquid_perps":140},"leverage":{"stress":22,"weight":0.2,"btc_funding_apr_pct":10.9,"share_perps_extreme_funding":0.1,"btc_open_interest_usd":2400000000},"volatility":{"stress":20,"weight":0.15,"btc_atr14_1h_pct":0.54,"source":"binance"},"sentiment":{"stress":32,"weight":0.15,"fear_greed":{"value":34,"label":"Fear"},"market_cap_change_24h_pct":-0.98}},"legs_used":5,"reasons":["USDT -3.1 bps vs $1, stablecoin supply +0.4% 7d"],"sources":["https://stablecoins.llama.fi","https://api.hyperliquid.xyz/info"]}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}}}},"/crypto/global-market":{"get":{"operationId":"getGlobalMarket","summary":"Whole-crypto-market context in one call","description":"Whole-crypto-market context in one call: total crypto market cap (USD) and 24h change, 24h trading volume, Bitcoin (BTC) and Ethereum (ETH) dominance, altcoin share, DeFi TVL across all chains, total USD stablecoin supply with 1d/7d flow (dry powder entering or leaving crypto), stablecoin share of market cap, Fear & Greed index, and a regime label RISK_ON|NEUTRAL|RISK_OFF with reasons. When to call: before acting on any single coin's move (is it the whole market or just this coin?), at the start of a trading or treasury loop, for daily market reports. Market cap + dominance + TVL + stablecoin flows that other APIs sell separately at $0.003 each. Sources: CoinLore (CoinGecko fallback), DefiLlama, alternative.me. 2-min cache.","tags":["crypto","market-cap","crypto-market-cap","total-market-cap","btc-dominance","eth-dominance","bitcoin-dominance","defi-tvl","tvl","stablecoin-supply","stablecoin-flows","fear-greed","market-overview","market-regime","risk-on","macro"],"x-tags":["crypto","market-cap","crypto-market-cap","total-market-cap","btc-dominance","eth-dominance","bitcoin-dominance","defi-tvl","tvl","stablecoin-supply","stablecoin-flows","fear-greed","market-overview","market-regime","risk-on","macro"],"x-category":"Market Data","x-price-usd":"0.002000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"2000"},"parameters":[],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"updated_at":"2026-10-30T04:30:00Z","total_market_cap_usd":2661472949373,"market_cap_change_24h_pct":-0.98,"total_volume_24h_usd":107406481755,"volume_change_24h_pct":20.32,"btc_dominance_pct":60.64,"eth_dominance_pct":10.71,"altcoin_share_pct":28.65,"defi_tvl_usd":89040661805,"stablecoin_supply_usd":301482740887,"stablecoin_change_1d_pct":-0.35,"stablecoin_change_7d_pct":0.4,"stablecoin_share_of_mcap_pct":11.33,"fear_greed":{"value":34,"label":"Fear"},"regime":"NEUTRAL","reasons":["market cap -0.98% 24h","stablecoin supply -0.35% 1d (outflow)","BTC dominance 60.6% (alts weak)"],"sources":["https://api.coinlore.net/api/global/","https://api.llama.fi/v2/chains","https://stablecoins.llama.fi/stablecoins","https://api.alternative.me/fng/"]}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}}}},"/crypto/gas-compare":{"get":{"operationId":"gasCompare","summary":"Which EVM chain is cheapest to execute on right now","description":"Which EVM chain is cheapest to execute on right now? Live gas price on Base, Ethereum, Arbitrum, Optimism, Polygon and BSC, converted to USD per native transfer (21k gas), ERC-20 transfer (65k) and swap (150k), sorted cheapest first, with cheapest chain, Ethereum-vs-cheapest multiple and a one-line recommendation. chains=base,ethereum,... to filter, gas=N for your own gas units. Multi-RPC failover per chain, native prices Binance>OKX>Coinbase, 30s cache. 2.5x cheaper than $0.005 gas-compare APIs; 5xx never charged.","tags":["crypto","gas","gas-compare","gas-price","multichain","evm","base","ethereum","arbitrum","optimism","polygon","bsc","l2","fees","cheapest-chain","routing"],"x-tags":["crypto","gas","gas-compare","gas-price","multichain","evm","base","ethereum","arbitrum","optimism","polygon","bsc","l2","fees","cheapest-chain","routing"],"x-category":"Onchain","x-price-usd":"0.002000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"2000"},"parameters":[{"name":"chains","in":"query","required":false,"schema":{"type":"string","description":"Comma list subset of base,ethereum,arbitrum,optimism,polygon,bsc (default all)","examples":["base,ethereum,arbitrum"]}},{"name":"gas","in":"query","required":false,"schema":{"type":"integer","minimum":21000,"maximum":30000000,"description":"Optional custom gas units; result sorted by custom_usd","examples":[200000]}}],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"updated_at":"2026-10-30T01:30:00Z","sorted_by":"swap_usd","cheapest":"base","cheapest_swap_usd":0.0011,"ethereum_vs_cheapest_x":180,"recommendation":"Execute on base (~180x cheaper than Ethereum L1); ...","gas_units":{"transfer":21000,"erc20_transfer":65000,"swap":150000},"chains":[{"chain":"base","chain_id":8453,"native":"ETH","native_usd":3850.1,"gas_price_gwei":0.0019,"transfer_usd":0.000154,"erc20_transfer_usd":0.000476,"swap_usd":0.0011,"rollup_l1_fee_extra":true,"upstream":"https://base.drpc.org","latency_ms":80}]}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}}}},"/crypto/eth-rpc":{"get":{"operationId":"ethRpc","summary":"Pay-per-call Ethereum mainnet (chain 1) JSON-RPC, no API key, no account, paid in Base USD","description":"Pay-per-call Ethereum mainnet (chain 1) JSON-RPC, no API key, no account, paid in Base USDC: GET ?method=eth_call&params=[...] or POST a standard JSON-RPC body; POST a batch of up to 10 calls for ONE $0.002 payment (vs ~$0.01 per call at other x402 mainnet RPC APIs). Methods: eth_blockNumber, eth_chainId, eth_call, eth_estimateGas, eth_getBalance, eth_getTransactionCount, eth_getCode, eth_getStorageAt, eth_getTransactionByHash, eth_getTransactionReceipt, eth_getBlockByNumber, eth_getBlockByHash, eth_getLogs (<=2000 blocks), eth_gasPrice, eth_maxPriorityFeePerGas, eth_feeHistory, eth_sendRawTransaction, net_version. Failover across 7 public Ethereum RPCs; outage = 502 = not charged. Plain JSON-RPC 2.0 so viem/ethers work. When to call: your agent needs an L1 read (ENS, mainnet token balance, contract state, receipt) or to broadcast a signed mainnet tx.","tags":["crypto","ethereum","mainnet","l1","rpc","json-rpc","eth-rpc","node","eth_call","eth_getLogs","broadcast","onchain","evm","web3","infrastructure"],"x-tags":["crypto","ethereum","mainnet","l1","rpc","json-rpc","eth-rpc","node","eth_call","eth_getLogs","broadcast","onchain","evm","web3","infrastructure"],"x-category":"Onchain","x-price-usd":"0.002000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"2000"},"parameters":[{"name":"method","in":"query","required":false,"schema":{"type":"string","description":"JSON-RPC method (default eth_blockNumber)","examples":["eth_blockNumber","eth_getBalance","eth_call"]},"example":"eth_blockNumber"},{"name":"params","in":"query","required":false,"schema":{"type":"string","description":"URL-encoded JSON array of params (default [])","examples":["[]","[\"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\",\"latest\"]"]},"example":"[]"}],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"jsonrpc":"2.0","id":1,"result":"0x16a3f2b","chain":"ethereum","chain_id":1,"upstream":"https://ethereum-rpc.publicnode.com","latency_ms":92}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}}},"post":{"operationId":"ethRpcPost","summary":"Pay-per-call Ethereum mainnet (chain 1) JSON-RPC, no API key, no account, paid in Base USD","description":"Pay-per-call Ethereum mainnet (chain 1) JSON-RPC, no API key, no account, paid in Base USDC: GET ?method=eth_call&params=[...] or POST a standard JSON-RPC body; POST a batch of up to 10 calls for ONE $0.002 payment (vs ~$0.01 per call at other x402 mainnet RPC APIs). Methods: eth_blockNumber, eth_chainId, eth_call, eth_estimateGas, eth_getBalance, eth_getTransactionCount, eth_getCode, eth_getStorageAt, eth_getTransactionByHash, eth_getTransactionReceipt, eth_getBlockByNumber, eth_getBlockByHash, eth_getLogs (<=2000 blocks), eth_gasPrice, eth_maxPriorityFeePerGas, eth_feeHistory, eth_sendRawTransaction, net_version. Failover across 7 public Ethereum RPCs; outage = 502 = not charged. Plain JSON-RPC 2.0 so viem/ethers work. When to call: your agent needs an L1 read (ENS, mainnet token balance, contract state, receipt) or to broadcast a signed mainnet tx.","tags":["crypto","ethereum","mainnet","l1","rpc","json-rpc","eth-rpc","node","eth_call","eth_getLogs","broadcast","onchain","evm","web3","infrastructure"],"x-tags":["crypto","ethereum","mainnet","l1","rpc","json-rpc","eth-rpc","node","eth_call","eth_getLogs","broadcast","onchain","evm","web3","infrastructure"],"x-category":"Onchain","x-price-usd":"0.002000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"2000"},"parameters":[],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"jsonrpc":"2.0","id":1,"result":"0x16a3f2b","chain":"ethereum","chain_id":1,"upstream":"https://ethereum-rpc.publicnode.com","latency_ms":92}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["method"],"properties":{"jsonrpc":{"type":"string"},"id":{},"method":{"type":"string"},"params":{"type":"array"}}},{"type":"array","maxItems":10}]},"example":{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}}}}}},"/crypto/base-rpc":{"get":{"operationId":"baseRpc","summary":"Pay-per-call Base mainnet JSON-RPC, no API key, no account","description":"Pay-per-call Base mainnet JSON-RPC, no API key, no account: GET ?method=eth_call&params=[...] (params = URL-encoded JSON array) or POST a standard JSON-RPC body. POST a batch of up to 10 calls for ONE $0.002 payment (vs $0.005 per call at other x402 RPC gateways). Read + broadcast methods: eth_blockNumber, eth_chainId, eth_call, eth_estimateGas, eth_getBalance, eth_getTransactionCount, eth_getCode, eth_getStorageAt, eth_getTransactionByHash, eth_getTransactionReceipt, eth_getBlockByNumber, eth_getBlockByHash, eth_getLogs (<=2000 blocks), eth_gasPrice, eth_maxPriorityFeePerGas, eth_feeHistory, eth_sendRawTransaction, net_version, web3_clientVersion. Failover across 7 public Base RPCs (drpc, publicnode, mainnet.base.org, tenderly, meowrpc, blastapi, llamarpc); upstream outage = 502 = not charged. Response is a plain JSON-RPC 2.0 result so any viem/ethers client works. When to call: your agent needs a raw Base read or to broadcast a signed tx without running or renting a node.","tags":["crypto","base","rpc","json-rpc","base-rpc","node","eth_call","eth_getLogs","broadcast","send-transaction","onchain","evm","web3","infrastructure"],"x-tags":["crypto","base","rpc","json-rpc","base-rpc","node","eth_call","eth_getLogs","broadcast","send-transaction","onchain","evm","web3","infrastructure"],"x-category":"Onchain","x-price-usd":"0.002000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"2000"},"parameters":[{"name":"method","in":"query","required":false,"schema":{"type":"string","description":"JSON-RPC method (default eth_blockNumber)","examples":["eth_blockNumber","eth_getBalance","eth_call"]},"example":"eth_blockNumber"},{"name":"params","in":"query","required":false,"schema":{"type":"string","description":"URL-encoded JSON array of params (default [])","examples":["[]","[\"0xe4be4d0bd82d8e68203deff81f79ede0529f2617\",\"latest\"]"]},"example":"[]"}],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"jsonrpc":"2.0","id":1,"result":"0x32c8f1a","chain":"base","chain_id":8453,"upstream":"https://base.drpc.org","latency_ms":84}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}}},"post":{"operationId":"baseRpcPost","summary":"Pay-per-call Base mainnet JSON-RPC, no API key, no account","description":"Pay-per-call Base mainnet JSON-RPC, no API key, no account: GET ?method=eth_call&params=[...] (params = URL-encoded JSON array) or POST a standard JSON-RPC body. POST a batch of up to 10 calls for ONE $0.002 payment (vs $0.005 per call at other x402 RPC gateways). Read + broadcast methods: eth_blockNumber, eth_chainId, eth_call, eth_estimateGas, eth_getBalance, eth_getTransactionCount, eth_getCode, eth_getStorageAt, eth_getTransactionByHash, eth_getTransactionReceipt, eth_getBlockByNumber, eth_getBlockByHash, eth_getLogs (<=2000 blocks), eth_gasPrice, eth_maxPriorityFeePerGas, eth_feeHistory, eth_sendRawTransaction, net_version, web3_clientVersion. Failover across 7 public Base RPCs (drpc, publicnode, mainnet.base.org, tenderly, meowrpc, blastapi, llamarpc); upstream outage = 502 = not charged. Response is a plain JSON-RPC 2.0 result so any viem/ethers client works. When to call: your agent needs a raw Base read or to broadcast a signed tx without running or renting a node.","tags":["crypto","base","rpc","json-rpc","base-rpc","node","eth_call","eth_getLogs","broadcast","send-transaction","onchain","evm","web3","infrastructure"],"x-tags":["crypto","base","rpc","json-rpc","base-rpc","node","eth_call","eth_getLogs","broadcast","send-transaction","onchain","evm","web3","infrastructure"],"x-category":"Onchain","x-price-usd":"0.002000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"2000"},"parameters":[],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"jsonrpc":"2.0","id":1,"result":"0x32c8f1a","chain":"base","chain_id":8453,"upstream":"https://base.drpc.org","latency_ms":84}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["method"],"properties":{"jsonrpc":{"type":"string"},"id":{},"method":{"type":"string"},"params":{"type":"array"}}},{"type":"array","maxItems":10}]},"example":{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}}}}}},"/crypto/x402-check":{"get":{"operationId":"checkX402Endpoint","summary":"Should my agent pay this x402 endpoint","description":"Should my agent pay this x402 endpoint? Live pre-payment check of ANY x402 URL (never pays it): we GET the target unpaid and decode its 402 quote (PAYMENT-REQUIRED header for v2, JSON body for v1) -> x402 version, every accepts[] option with real USD price (atomic amount / decimals), network name, asset (is it canonical USDC on that chain?), scheme, payTo, maxTimeoutSeconds, resource URL match, Bazaar discovery schema present?, description, latency_ms and TLS. For Base payTo we add is_contract and its live USDC balance (has it ever been paid?). Risk flags (non_usdc_asset, price_over_budget, price_over_1usd, resource_host_mismatch, no_402, testnet_only, payto_zero, slow_response, no_schema) roll up to verdict SAFE_TO_PAY|CAUTION|AVOID, should_pay, cheapest_option and within_budget for max_usd=. When to call: before your agent pays an unfamiliar paid API, or to pick the cheapest of several. Live probe, not stale stored evidence, at 1/5 the price of $0.01 x402 recommendation APIs. https only, public hosts only; target unreachable = 502 = not charged.","tags":["x402","x402-check","endpoint-trust","pre-payment-check","api-verification","agent-safety","payment-safety","trust","due-diligence","price-check","usdc","base","crypto"],"x-tags":["x402","x402-check","endpoint-trust","pre-payment-check","api-verification","agent-safety","payment-safety","trust","due-diligence","price-check","usdc","base","crypto"],"x-category":"Security","x-price-usd":"0.002000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"2000"},"parameters":[{"name":"url","in":"query","required":false,"schema":{"type":"string","maxLength":2048,"description":"Absolute https URL of the x402 endpoint to check, with its query string (alias endpoint=; omitted = self-test on /crypto/ping)","examples":["https://kr-x402-mvp.kgy5612.workers.dev/crypto/ping"]},"example":"https://kr-x402-mvp.kgy5612.workers.dev/crypto/ping"},{"name":"max_usd","in":"query","required":false,"schema":{"type":"number","minimum":0,"description":"Optional budget per call in USD; sets within_budget","examples":[0.01]},"example":0.01},{"name":"method","in":"query","required":false,"schema":{"type":"string","enum":["GET","POST"],"description":"Probe method (default GET)"}}],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"url":"https://kr-x402-mvp.kgy5612.workers.dev/crypto/ping","checked_at":"2026-10-30T07:30:00Z","reachable":true,"http_status":402,"latency_ms":180,"x402_version":2,"verdict":"SAFE_TO_PAY","should_pay":true,"risk_score":0,"flags":[],"reasons":["402 quote parsed: 1 option(s)","cheapest $0.001 USDC on base"],"cheapest_option":{"network":"eip155:8453","network_name":"base","scheme":"exact","price_usd":0.001,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","asset_label":"USDC","is_usdc":true,"payTo":"0xe4be4d0bd82d8e68203deff81f79ede0529f2617","max_timeout_s":300},"within_budget":true,"options":[],"resource":{"url":"https://kr-x402-mvp.kgy5612.workers.dev/crypto/ping","description":"Paid heartbeat","host_match":true},"bazaar_schema":true,"payto_onchain":{"chain":"base","is_contract":false,"usdc_balance":0.079}}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}}}},"/crypto/defi-tvl":{"get":{"operationId":"getDefiTvl","summary":"DeFi TVL in ONE call (others sell TVL and DeFi overview as two $0","description":"DeFi TVL in ONE call (others sell TVL and DeFi overview as two $0.003 calls): total DeFi TVL with 1d/7d/30d % change and flow inflow|flat|outflow, signal RISK_ON|NEUTRAL|RISK_OFF, top chains ranked by TVL with share %, Base rank+share; chain=Base|Ethereum|Solana|... adds that chain's TVL, rank, share and 1d/7d/30d flow; protocol=aave|lido|uniswap|aerodrome (DefiLlama slug) adds protocol TVL and share. limit=1-50 top chains (default 15). When to call: is capital entering or leaving DeFi / a chain before you deploy liquidity, pick a chain, or size a DeFi trade. Source DefiLlama, 5-10 min cache; unknown chain/protocol = 404 = not charged.","tags":["crypto","defi","tvl","defi-tvl","total-value-locked","chain-tvl","protocol-tvl","defi-overview","capital-flows","tvl-ranking","base","ethereum","solana","defillama","risk-on"],"x-tags":["crypto","defi","tvl","defi-tvl","total-value-locked","chain-tvl","protocol-tvl","defi-overview","capital-flows","tvl-ranking","base","ethereum","solana","defillama","risk-on"],"x-category":"Onchain","x-price-usd":"0.002000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"2000"},"parameters":[{"name":"chain","in":"query","required":false,"schema":{"type":"string","maxLength":40,"description":"Chain name, e.g. Base, Ethereum, Solana","examples":["Base","Ethereum"]},"example":"Base"},{"name":"protocol","in":"query","required":false,"schema":{"type":"string","maxLength":60,"description":"DefiLlama protocol slug, e.g. aave, lido, aerodrome","examples":["aave"]}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":50,"description":"Top chains to list (default 15)"}}],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"updated_at":"2026-10-30T02:30:00Z","source":"https://defillama.com","chain":{"name":"Base","rank":5,"share_of_defi_pct":3.1,"chain_id":8453,"tvl_usd":3900000000,"change_1d_pct":0.4,"change_7d_pct":-1.2,"change_30d_pct":5.6,"flow":"flat","as_of":"2026-10-30"},"defi":{"total_tvl_usd":125000000000,"change_1d_pct":0.3,"change_7d_pct":-2.1,"change_30d_pct":4,"flow":"flat","chains_counted":300,"base":{"rank":5,"tvl_usd":3900000000,"share_pct":3.1}},"top_chains":[{"rank":1,"name":"Ethereum","tvl_usd":70000000000,"share_pct":56,"token":"ETH"}],"signal":"NEUTRAL","reasons":["DeFi TVL $125.0B, 7d -2.1%","Base #5 $3.90B, 7d -1.2% (flat)"],"next":["/crypto/global-market","/crypto/stablecoin-peg"]}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}}}},"/crypto/contract-info":{"get":{"operationId":"getContractInfo","summary":"What is at this address","description":"What is at this address? One-call contract introspection on Base (default) or Ethereum (chain=eth): EOA vs contract vs EIP-7702 delegated wallet, bytecode size, kind ERC20|ERC721|ERC1155|SAFE_MULTISIG|PROXY|MINIMAL_PROXY|CONTRACT, token metadata (name, symbol, decimals, totalSupply), ERC-165 interfaces, upgradeable proxy detection (EIP-1967 implementation/admin/beacon slots, EIP-1167 clones) with the live implementation address, owner() and renounced flag, Safe threshold, native balance, plus risk flags (upgradeable, owner_can_change, unverifiable) and the next call to make. When to call: before approving, sending to, or trading against an unfamiliar address. Replaces 3 separate contract/proxy/code calls ($0.002-0.005 each elsewhere) with one $0.002 call. Bad address = 400 = not charged.","tags":["contract","contract-info","introspection","proxy","eip-1967","upgradeable","erc20","erc721","erc1155","nft","safe","multisig","eoa","eip-7702","owner","bytecode","base","ethereum","onchain","agent-safety","due-diligence","crypto"],"x-tags":["contract","contract-info","introspection","proxy","eip-1967","upgradeable","erc20","erc721","erc1155","nft","safe","multisig","eoa","eip-7702","owner","bytecode","base","ethereum","onchain","agent-safety","due-diligence","crypto"],"x-category":"Onchain","x-price-usd":"0.002000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"2000"},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Address to inspect","examples":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]},"example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},{"name":"chain","in":"query","required":false,"schema":{"type":"string","enum":["base","eth"],"description":"base (default) or eth mainnet"}}],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","chain":"base","chain_id":8453,"checked_at":"2026-10-30T03:40:00Z","is_contract":true,"kind":"ERC20","code_size_bytes":1852,"token":{"name":"USD Coin","symbol":"USDC","decimals":6,"total_supply":4100000000},"interfaces":{"erc165":false,"erc721":false,"erc1155":false},"proxy":{"is_proxy":true,"type":"ZEPPELINOS_LEGACY","implementation":"0x2ce6311ddae708829bc0784c967b7d77d19fd779","admin":"0x4fc7850364958d97b4d3f5a08f79db2493f8ca44","beacon":null},"owner":"0x...","owner_renounced":false,"safe":null,"native_balance":0,"flags":["upgradeable_proxy","has_owner","admin_can_change_logic"],"summary":"ERC20 USDC behind ZEPPELINOS_LEGACY proxy, has owner","next":["/crypto/token-risk?address=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","/crypto/allowance?owner=&spender="]}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}}}},"/crypto/fear-greed":{"get":{"operationId":"getFearGreed","summary":"Crypto Fear & Greed Index with context, not just a number","description":"Crypto Fear & Greed Index with context, not just a number: value 0-100 + label now, previous reading, 1d/7d/30d change, 7d and 30d average, min/max 30d, streak (days in current zone), trend rising|falling|flat, contrarian signal BUY_FEAR|SELL_GREED|NEUTRAL, and optional history (days=1-30). When to call: daily summary, position sizing, or a sentiment gate before a trade. Same $0.001 as bare F&G APIs, 5x cheaper than $0.005 ones. Source alternative.me; 503 when down = not charged.","tags":["crypto","fear-greed","fear-and-greed","sentiment","sentiment-index","contrarian","market-sentiment","bitcoin","trading"],"x-tags":["crypto","fear-greed","fear-and-greed","sentiment","sentiment-index","contrarian","market-sentiment","bitcoin","trading"],"x-category":"Onchain","x-price-usd":"0.001000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.001000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"1000"},"parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","minimum":0,"maximum":30,"description":"History points to return (default 7, 0 = none)","examples":[7]},"example":7}],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"updated_at":"2026-10-30T00:00:00Z","value":34,"label":"Fear","previous":{"value":38,"label":"Fear"},"change_1d":-4,"change_7d":-12,"change_30d":-20,"avg_7d":39.4,"avg_30d":47.1,"min_30d":28,"max_30d":66,"zone":"fear","streak_days":5,"trend":"falling","signal":"NEUTRAL","reasons":["34 Fear, -12 vs 7d ago","below 30d avg 47.1"],"history":[{"date":"2026-10-30","value":34,"label":"Fear"}],"source":"https://alternative.me/crypto/fear-and-greed-index/"}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}}}},"/crypto/stablecoin-peg":{"get":{"operationId":"getStablecoinPeg","summary":"Is USDC / USDT / DAI / USDe holding its $1 peg, and is stablecoin liquidity growing (risk-","description":"Is USDC / USDT / DAI / USDe holding its $1 peg, and is stablecoin liquidity growing (risk-on) or shrinking (risk-off)? Top USD stablecoins: price, peg deviation in bps, status OK|DRIFT|WARN|DEPEG, Kraken cross-check for USDT/USDC/DAI, supply + 1d/7d change, dominance, supply on Base; plus total supply flow 1d/7d/30d, verdict ALL_PEGGED|WATCH|DEPEG_ALERT and alerts. When to call: before settling or parking funds in a stablecoin, as a systemic risk-off check in a trading loop. Optional symbols=USDC,USDT or top=1-30 (default 10). 5-min cache.","tags":["crypto","stablecoin","depeg","usdc","usdt","dai","peg","stablecoin-flows","risk","liquidity","base","market-risk"],"x-tags":["crypto","stablecoin","depeg","usdc","usdt","dai","peg","stablecoin-flows","risk","liquidity","base","market-risk"],"x-category":"Onchain","x-price-usd":"0.001000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.001000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"1000"},"parameters":[{"name":"symbols","in":"query","required":false,"schema":{"type":"string","description":"Comma-separated filter, e.g. USDC,USDT","examples":["USDC,USDT","USDC"]},"example":"USDC,USDT"},{"name":"top","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":30,"description":"Top N by supply when no symbols (default 10)"}}],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"updated_at":"2026-10-29T12:30:00Z","verdict":"ALL_PEGGED","liquidity_trend":"flat","total_usd_stablecoin_supply":290000000000,"flow_7d":{"usd":-2100000000,"pct":-0.72},"alerts":[],"coins":[{"symbol":"USDC","price_usd":0.99948,"peg_dev_bps":-5.2,"kraken_usd":0.9999,"status":"OK","supply_usd":71356496475,"supply_1d_pct":0.089,"supply_7d_pct":-1.74,"dominance_pct":24.6,"base_supply_usd":4100000000}],"sources":["https://stablecoins.llama.fi","https://api.kraken.com"]}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}}}},"/crypto/eth-balance":{"get":{"operationId":"getEthBalance","summary":"Live native ETH balance + nonce for a wallet on Base","description":"Live native ETH balance + nonce for a wallet on Base: wallet=0x..","tags":["crypto","base","eth","balance","onchain","wallet"],"x-tags":["crypto","base","eth","balance","onchain","wallet"],"x-category":"Onchain","x-price-usd":"0.002000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"2000"},"parameters":[{"name":"wallet","in":"query","required":true,"schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Wallet","examples":["0xe4be4d0bd82d8e68203deff81f79ede0529f2617"]},"example":"0xe4be4d0bd82d8e68203deff81f79ede0529f2617"}],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"chain":"base","block":53204016,"wallet":"0xe4be4d0bd82d8e68203deff81f79ede0529f2617","balance_wei":"0","balance_eth":0,"nonce":0}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}}}},"/crypto/kimchi-premium":{"get":{"operationId":"getKimchiPremium","summary":"Live Korea kimchi premium","description":"Live Korea kimchi premium: Upbit KRW vs global USD (median of Coinbase, Kraken, Bitstamp) for BTC and ETH, plus USD/KRW FX. Korea crypto arb/sentiment signal. Optional symbols=BTC,ETH filter. Alias: /kr/kimchi-premium.","tags":["korea","kimchi-premium","bitcoin","ethereum","upbit","crypto","fx"],"x-tags":["korea","kimchi-premium","bitcoin","ethereum","upbit","crypto","fx"],"x-category":"Market Data","x-price-usd":"0.002000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"2000"},"parameters":[{"name":"symbols","in":"query","required":false,"schema":{"type":"string","description":"Comma-separated filter (default BTC,ETH)","examples":["BTC,ETH","BTC"]},"example":"BTC,ETH"}],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"updated_at":"2026-10-28T03:00:00Z","usdkrw":1326.8,"upbit_usdt_krw":1340,"assets":[{"symbol":"BTC","upbit_krw":108533000,"global_usd":80867.7,"premium_pct_fx":1.15,"premium_pct_usdt":0.16},{"symbol":"ETH","upbit_krw":3162000,"global_usd":2356.1,"premium_pct_fx":1.15,"premium_pct_usdt":0.15}],"sources":["https://api.upbit.com","https://api.exchange.coinbase.com","https://api.kraken.com","https://www.bitstamp.net","https://open.er-api.com"]}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}}}},"/crypto/base-gas":{"get":{"operationId":"getBaseGas","summary":"Base gas oracle for agents sending Base txs","description":"Base gas oracle for agents sending Base txs: EIP-1559 slow / standard / fast tiers (maxFeePerGas + maxPriorityFeePerGas in gwei and wei hex, from eth_feeHistory 20 blocks p10/p50/p90), base fee, congestion 0-1, recommended_tier, ready-to-sign tx_fields, and est. cost in ETH + USD for your gas_limit (default 21000; use 65000 for an ERC-20 transfer). Cheapest paid call ($0.001).","tags":["crypto","base","gas","gas-oracle","gas-price","eip-1559","fee-estimate","maxFeePerGas","onchain","evm","transaction","l2"],"x-tags":["crypto","base","gas","gas-oracle","gas-price","eip-1559","fee-estimate","maxFeePerGas","onchain","evm","transaction","l2"],"x-category":"Onchain","x-price-usd":"0.001000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.001000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"1000"},"parameters":[{"name":"gas_limit","in":"query","required":false,"schema":{"type":"integer","minimum":21000,"maximum":30000000,"description":"Gas units to price (default 21000)","examples":[21000,150000]},"example":21000}],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"updated_at":"2026-10-29T13:30:00Z","chain":"base","base_fee_gwei":0.005,"congestion":0.42,"recommended_tier":"standard","tiers":{"slow":{"max_priority_fee_gwei":0.001,"max_fee_gwei":0.006,"est_cost_usd":0.0005},"standard":{"max_priority_fee_gwei":0.001,"max_fee_gwei":0.011,"est_cost_usd":0.0005},"fast":{"max_priority_fee_gwei":0.01,"max_fee_gwei":0.025,"est_cost_usd":0.0007}},"tx_fields":{"type":"0x2","maxFeePerGas":"0xa7d8c0","maxPriorityFeePerGas":"0xf4240","gas":"0x5208"},"chain_id":8453,"block":37000000,"gas_price_gwei":0.006,"gas_price_wei_hex":"0x5b8d80","max_priority_fee_gwei":0.001,"max_priority_fee_wei_hex":"0xf4240","est_transfer_cost_eth":1.26e-7,"sources":["https://mainnet.base.org"]}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}}}},"/crypto/prices":{"get":{"operationId":"getPrices","summary":"Spot USD prices","description":"Spot USD prices: median of Coinbase, Kraken, Bybit, Binance, CoinGecko (whichever respond) with n_sources, dispersion_bps, with 24h change/volume. symbols=BTC,ETH,SOL default; also BNB,XRP,DOGE,ADA,AVAX,LINK,SUI.","tags":["crypto","prices","bitcoin","ethereum","solana"],"x-tags":["crypto","prices","bitcoin","ethereum","solana"],"x-category":"Market Data","x-price-usd":"0.003000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.003000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"3000"},"parameters":[{"name":"symbols","in":"query","required":false,"schema":{"type":"string","description":"Comma-separated symbols (default BTC,ETH,SOL)","examples":["BTC,ETH,SOL","BTC"]},"example":"BTC,ETH,SOL"}],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"updated_at":"2026-10-28T11:00:00Z","prices":{"BTC":{"price_usd":80867.7,"binance_usdt":80860,"coinbase_usd":80875.4,"change_24h_pct":1.2}},"sources":["https://api.binance.com","https://api.coinbase.com"]}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}}}},"/crypto/market-pulse":{"get":{"operationId":"getMarketPulse","summary":"One-call crypto market regime for trading agents","description":"One-call crypto market regime for trading agents: BTC/ETH/SOL median spot + 24h change, Hyperliquid funding APR + open interest, Korea kimchi premium, Crypto Fear & Greed index, and a regime label (risk_on|neutral|risk_off) with plain reasons. Replaces 4 calls (prices+hl-funding+kimchi+sentiment, $0.015) for $0.004.","tags":["crypto","market-overview","sentiment","fear-greed","funding","kimchi-premium","regime","bitcoin","trading"],"x-tags":["crypto","market-overview","sentiment","fear-greed","funding","kimchi-premium","regime","bitcoin","trading"],"x-category":"Market Data","x-price-usd":"0.004000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"4000"},"parameters":[],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"updated_at":"2026-10-29T08:30:00Z","regime":"neutral","reasons":["Fear & Greed 51 Neutral","BTC 24h +0.8%","BTC funding APR 9.1%"],"fear_greed":{"value":51,"label":"Neutral"},"prices":{"BTC":{"price_usd":80867.7,"change_24h_pct":0.8}},"funding":{"BTC":{"funding_apr_pct":9.1,"open_interest_usd":2426000000}},"kimchi":{"BTC":{"premium_pct_fx":1.15}}}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}}}},"/crypto/funding-signal":{"get":{"operationId":"getFundingSignal","summary":"Cross-exchange perp funding in one call","description":"Cross-exchange perp funding in one call: Hyperliquid + OKX + Gate + dYdX (+ Bybit/Binance/Bitget when reachable) funding APR per coin (BTC/ETH/SOL), mean APR, positioning signal EXTREME_LONG|LONG_HEAVY|NEUTRAL|SHORT_HEAVY|EXTREME_SHORT|MIXED, and the best funding-arb pair (short the highest venue, long the lowest) with spread APR. When to call: before opening a leveraged position, to spot squeeze setups, or to scan funding-divergence arbitrage. Optional coin=BTC.","tags":["crypto","funding-rates","funding-signal","perps","hyperliquid","okx","bitget","gate","dydx","bybit","binance","arbitrage","squeeze","positioning","trading"],"x-tags":["crypto","funding-rates","funding-signal","perps","hyperliquid","okx","bitget","gate","dydx","bybit","binance","arbitrage","squeeze","positioning","trading"],"x-category":"Market Data","x-price-usd":"0.006000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.006000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"6000"},"parameters":[{"name":"coin","in":"query","required":false,"schema":{"type":"string","enum":["BTC","ETH","SOL"],"description":"Perp coin (default BTC)","examples":["BTC","ETH","SOL"]},"example":"BTC"}],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"updated_at":"2026-10-29T09:30:00Z","signal":"NEUTRAL","coins":{"BTC":{"signal":"NEUTRAL","mean_apr_pct":5.4,"venues":{"hyperliquid":10.95,"okx":3.79,"gate":3.07,"dydx":4.1},"arb":{"short":"hyperliquid","long":"okx","spread_apr_pct":7.16}}},"reasons":["BTC mean funding APR 5.40% across 4 venues"],"sources":["https://api.hyperliquid.xyz/info","https://www.okx.com","https://api.bybit.com","https://fapi.binance.com"]}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}}}},"/crypto/hl-book":{"get":{"operationId":"getHyperliquidBook","summary":"Hyperliquid perp L2 top-of-book for coin=BTC|ETH|SOL","description":"Hyperliquid perp L2 top-of-book for coin=BTC|ETH|SOL: best bid/ask, mid, spread_bps, top N levels (depth=1-20, default 5).","tags":["crypto","hyperliquid","perps","orderbook","trading"],"x-tags":["crypto","hyperliquid","perps","orderbook","trading"],"x-category":"Onchain","x-price-usd":"0.005000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"5000"},"parameters":[{"name":"coin","in":"query","required":false,"schema":{"type":"string","enum":["BTC","ETH","SOL"],"description":"Perp coin (default BTC)","examples":["BTC","ETH","SOL"]},"example":"BTC"},{"name":"depth","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":20,"description":"Levels per side (default 5)"}}],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"coin":"BTC","venue":"hyperliquid","updated_at":"2026-10-28T11:00:00Z","best_bid":80860,"best_ask":80861,"mid":80860.5,"spread_bps":0.124,"bids":[{"px":80860,"sz":1.2,"n":4}],"asks":[{"px":80861,"sz":0.8,"n":3}],"sources":["https://api.hyperliquid.xyz/info"]}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}}}},"/crypto/hl-funding":{"get":{"operationId":"getHyperliquidFunding","summary":"Hyperliquid perp funding (hourly + APR), open interest (coins + USD), mark/oracle/mid px, ","description":"Hyperliquid perp funding (hourly + APR), open interest (coins + USD), mark/oracle/mid px, 24h volume for BTC, ETH, SOL. Optional coin=BTC.","tags":["crypto","hyperliquid","perps","funding","open-interest"],"x-tags":["crypto","hyperliquid","perps","funding","open-interest"],"x-category":"Market Data","x-price-usd":"0.005000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"5000"},"parameters":[{"name":"coin","in":"query","required":false,"schema":{"type":"string","enum":["BTC","ETH","SOL"],"description":"Perp coin (default BTC)","examples":["BTC","ETH","SOL"]}}],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"updated_at":"2026-10-28T11:00:00Z","venue":"hyperliquid","coins":{"BTC":{"funding_hourly":0.0000125,"funding_apr_pct":10.95,"open_interest":30000,"open_interest_usd":2426000000,"mark_px":80860,"oracle_px":80870}},"sources":["https://api.hyperliquid.xyz/info"]}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}}}},"/crypto/x-search":{"get":{"operationId":"searchX","summary":"Live X (Twitter) search for agents that cannot read X","description":"Live X (Twitter) search for agents that cannot read X: q=keyword|$TICKER|from:handle (X search operators ok), limit=1-20 (default 10), lang=en|ko|.., sort=recency|relevancy. Returns posts [{id,url,text,author{handle,name,followers,verified},metrics{likes,reposts,replies,quotes},created_at,lang}] plus signal {top_claim (most-engaged post: the tip/claim), sentiment bullish|bearish|neutral with score, top_terms, cashtags, notable_handles, engagement}. Last 7 days, no retweets. 4xx/5xx not charged.","tags":["x","twitter","x-search","social","sentiment","crypto-twitter","ct","social-signal","cashtag","news","crypto"],"x-tags":["x","twitter","x-search","social","sentiment","crypto-twitter","ct","social-signal","cashtag","news","crypto"],"x-category":"Onchain","x-price-usd":"0.003000","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.003000"},"protocols":[{"x402":{}}],"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"3000"},"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"description":"X search query (operators ok)","examples":["bitcoin","$ETH","x402","from:base"]},"example":"bitcoin"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":20,"description":"Posts (default 10)"},"example":10},{"name":"lang","in":"query","required":false,"schema":{"type":"string","maxLength":5,"description":"Language filter e.g. en, ko"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["recency","relevancy"],"description":"Default relevancy"}}],"responses":{"200":{"description":"Paid JSON payload","content":{"application/json":{"schema":{"type":"object"},"example":{"q":"bitcoin","source":"x-api-v2-recent-search","updated_at":"2026-10-30T01:50:00Z","n":1,"signal":{"top_claim":{"text":"$BTC ETF inflows strong again, ATH watch","url":"https://x.com/example/status/1851234567890123456","handle":"example"},"sentiment":"bullish","sentiment_score":0.4,"top_terms":["etf","inflows","ath"],"cashtags":["$BTC"],"notable_handles":[{"handle":"example","followers":250000}],"engagement":{"likes":1200,"reposts":210,"replies":85}},"posts":[{"id":"1851234567890123456","url":"https://x.com/example/status/1851234567890123456","text":"$BTC ETF inflows strong again, ATH watch","author":{"handle":"example","name":"Example","followers":250000,"verified":true},"metrics":{"likes":1200,"reposts":210,"replies":85,"quotes":12},"created_at":"2026-10-30T01:20:00Z","lang":"en"}],"next":["/crypto/prices?symbols=BTC","/crypto/prediction-markets?q=bitcoin","/crypto/market-pulse"]}}}},"402":{"description":"Payment Required (x402 v2, USDC on Base). Sign accepts[0] (EIP-3009) and retry with PAYMENT-SIGNATURE. Never charged on 4xx/5xx.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded PaymentRequired JSON (x402Version, accepts[], resource, extensions)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"accepts":{"type":"array","items":{"type":"object"}},"price_usdc":{"type":"string"},"free_sample":{"type":"string"}}}}}}}}},"/health":{"get":{"operationId":"health","summary":"Liveness + cache timestamps","security":[],"tags":["meta"],"responses":{"200":{"description":"ok"}}}},"/catalog":{"get":{"operationId":"catalog","summary":"Free product catalog for agents","security":[],"tags":["meta"],"responses":{"200":{"description":"ok"}}}},"/llms.txt":{"get":{"operationId":"llmsTxt","summary":"Agent-oriented plain-text index","security":[],"tags":["meta"],"responses":{"200":{"description":"text"}}}}}}