Crypto and on-chain data APIs
13.1K endpoints. Token prices, DEX pools, wallets, swaps and chain analytics that agents can pay for in stablecoins.
See the 10 most reliableAll networks
Base 117.3K
Solana 62.6K
Polygon 53.8K
Arbitrum 7,090
Arc 4,801
World Chain 3,232
Optimism 2,793
Avalanche 2,357
Sei 1,998
Ethereum 1,711
- GatewayWalletBatched0.10Trending coins, NFTs, categories
Ethereum
Base
+6Answering
- agent402.tools/api/block-numberLatest block number0.001The latest block number on Ethereum, Base, Polygon, Arbitrum or Optimism from keyless public nodes with fallback. Use it as the cheapest possible on-chain read: a liveness check for a chain, a timestamp anchor for a query, or the first paid call to prove an x402 client works end to end.
Base
Polygon
+8Answering
- One-call chain state snapshotChain info snapshot0.001agent402.tools/api/chain-info
Base
Polygon
+8Answering
- agent402.tools/api/chain/nonceAccount nonce0.001The transaction count of an account, which is the nonce its next transaction must carry. Ask for block "pending" to include transactions already in the mempool, which is what you want before signing; the default "latest" counts only mined transactions. Returns the count as a decimal string and as hex. EVM chains: ethereum, base, polygon, arbitrum, optimism.
Base
Polygon
+8Answering
- agent402.tools/api/chain/storageContract storage slot0.001Read one 32-byte storage slot from a contract, the raw state under whatever the source code calls it. Returns the word as hex plus three readings of the same bytes - unsigned integer, address (low 20 bytes) and boolean - because a slot is untyped on chain and only the caller knows which it meant. Useful for proxy implementation slots, paused flags and any value the ABI does not expose. EVM chains:
Base
Polygon
+8Answering
- agent402.tools/api/chain/total-supplyToken total supply0.001The circulating total supply of an ERC-20, read from the token contract itself rather than from an aggregator, so it is the number the chain holds at the block you asked for. Returns the raw uint256 and the same figure formatted with the token's own decimals. A contract that does not implement totalSupply answers 422 rather than a fabricated zero. EVM chains: ethereum, base, polygon, arbitrum, opt
Base
Polygon
+8Answering
- agent402.tools/api/crypto-trendingCrypto trending0.001Trending coins in the last 24 hours, ranked by user search activity on the market-data site (currently ~15 results). Includes coin id, symbol, market cap rank, current price (BTC-denominated), and score. Useful signal for detecting narrative shifts before they hit price charts. Data provided by CoinGecko.
Base
Polygon
+8Answering
- Resolve an ENS name (e.gENS resolve0.001agent402.tools/api/ens-resolve
Base
Polygon
+8Answering
- Is this address a contract, and what code does it holdContract bytecode check0.002agent402.tools/api/contract-code
Base
Polygon
+8Answering
- Live cross-provider x402 market sentimentx402 market pulse0.001agent402.tools/api/x402-market-pulse
Base
Polygon
+8Answering
- Who owns this NFTNFT owner lookup (ERC-7210.002agent402.tools/api/erc721-owner
Base
Polygon
+8Answering
- agent402.tools/api/wallet-balancesWallet token balances (indexed)0.002All token balances for any address in one call, from an indexed chain-data API - ERC-20 + native on EVM, SPL on Solana; no per-token contract calls, no RPC wrangling. Networks: base, ethereum, base-sepolia, solana, solana-devnet. Symbols/decimals populated for whitelisted tokens (USDC always included).
Base
Polygon
+8Answering
- agent402.tools/api/rwa-issuersTokenized asset issuers0.003The issuers behind tokenized real-world assets (Coinbase, Backpack Securities, Ondo, xStocks and the rest): id and name, for rwa-issuer. Cached in-process for 5 minutes. Data provided by CoinGecko.
Base
Polygon
+8Answering
- agent402.tools/api/stablecoin-pegStablecoin peg monitor0.003Live $1-peg deviation for the top USD stablecoins (USDT, USDC, USDS, DAI, USDe, PYUSD, USDD, TUSD, FDUSD by default, or pass your own list): current price, deviation in basis points, 24h high/low, worst 24h deviation, market cap, and an on-peg / stressed / depegged status. Data provided by CoinGecko.
Base
Polygon
+8Answering
- agent402.tools/api/usdc-balanceUSDC balance0.003Read the USDC balance of any address on Base, Polygon, Arbitrum, Optimism, Ethereum, Monad, Celo, Avalanche, Sei, or Arc. Read-only on-chain call. The minimal single-token read for payment flows - for EVERY token a wallet holds in one call use wallet-balance.
Base
Polygon
+8Answering
- Recently deployed B20 tokens on BaseNew B20 tokens0.005agent402.tools/api/b20-new-tokens
Base
Polygon
+8Answering
- ERC-20 metadata plus B20 signals for any Base addressB20 token info0.005agent402.tools/api/b20-token-info
Base
Polygon
+8Answering
- agent402.tools/api/coin-categoriesCrypto categories by market cap0.005Coin categories (Layer 1, Meme, AI, DeFi, Stablecoins, RWA, ...) ranked by market cap, with 24h market cap change %, 24h volume and the top-3 coins per category. Order by market_cap_desc (default), market_cap_asc, market_cap_change_24h_desc/asc, name_asc/desc; optional `query` substring filter on category name/id; limit 1-100 (default 25). The sector-rotation view: which narratives are gaining or
Base
Polygon
+8Answering
- agent402.tools/api/coin-price-by-contractToken price by contract address0.005Live price, market cap, 24h volume and 24h change for ERC-20 / SPL / other chain tokens looked up by CONTRACT ADDRESS on a named platform (ethereum, base, polygon-pos, arbitrum-one, optimistic-ethereum, binance-smart-chain, solana, avalanche, ...).
Base
Polygon
+8Answering
- Global DeFi snapshotGlobal DeFi market0.005agent402.tools/api/global-defi
Base
Polygon
+8Answering
- agent402.tools/api/coin-market-chart-rangeCoin market chart for a time0.008Price, market cap and volume series for a coin over an ARBITRARY time window: `from`/`to` as unix seconds or ISO dates, or `lookback` ("6h", "3d", "2w") ending now. Granularity is automatic upstream: 5-minute points for a window of 1 day or less, hourly up to 90 days, daily beyond.
Base
Polygon
+8Answering
- One issuer of tokenized real-world assets by idTokenized asset issuer0.006agent402.tools/api/rwa-issuer
Base
Polygon
+8Answering
- Trust evidence for any x402 seller originCheck an x402 seller's trust0.005agent402.tools/api/x402/seller-trust
Base
Polygon
+8Answering
- Historical price, market cap, and volume time series for a coinCrypto price history0.02agent402.tools/api/crypto-history
Base
Polygon
+8Answering
- agent402.tools/api/crypto-marketCrypto market overview0.02Top N coins by market capitalization with full market snapshot per coin: rank, price, 24h change, 7d change, 24h volume, market cap, circulating supply, and all-time high. Default 10, max 100 per call. Data provided by CoinGecko.
Base
Polygon
+8Answering
- GatewayWalletBatched0.005Get open and historical positions for a wallet address
Polygon
Arbitrum
+6Answering
- Blockchains ranked by native assetChain board by native asset0.005agent402.tools/api/chain-board
Base
Polygon
+9Answering
- Screen the DeFi category's largest tokens with computed columnsDeFi token screener0.005agent402.tools/api/defi-screener
Base
Polygon
+9Answering
- agent402.tools/api/funding-screenerFunding rate screener across0.005Perpetual funding for one coin compared across every listed derivatives venue in one call: open-interest-weighted and median funding, the gap between the highest and lowest venue, annualized carry, basis and open-interest concentration. Data provided by CoinGecko (https://www.coingecko.com/en/api).
Base
Polygon
+9Answering
- agent402.tools/api/wallet-transfers-multichainWallet transfers across chains0.01A wallet's token and native transfers on up to 5 EVM networks in one call (Ethereum, Base, Arbitrum, Optimism, Polygon, BNB, Celo, Gnosis, Arc and more), merged newest first by block time: network, block, time, hash, from, to, category, asset, exact decimal value, token contract and NFT token ids.
Base
Polygon
+9Answering
Indexed from Coinbase, PayAI, Circle. Prices are in the provider's stablecoin, usually USDC. Agents pay these providers directly, outside Fourohtwo.
