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.5K
Solana 62.9K
Polygon 54K
Arbitrum 7,097
Arc 4,912
World Chain 3,231
Optimism 2,792
Avalanche 2,358
Sei 1,998
Ethereum 1,711
- agent402.tools/api/block-infoBlock info0.001Header-level detail for one block on Ethereum, Base, Polygon, Arbitrum, or Optimism: hash, timestamp (unix + ISO), transaction count, gas used/limit, base fee. Pass a block number, 0x hex, or "latest". Keyless multi-endpoint failover.
Base
Polygon
+8Answering
- 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
- The chain's pending blockPending block0.001agent402.tools/api/chain/pending
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
- agent402.tools/api/gas-estimateGas price0.001Current gas price on Base, Polygon, Arbitrum, Optimism, Ethereum, Monad, Celo, Avalanche, Sei, Arc, or Robinhood Chain - for an agent budgeting a transaction: returns network, gasPriceGwei and gasPriceWei (decimal strings) from the chain's own eth_gasPrice, the node's suggested all-in price per gas unit. Multiply by the gas a transaction uses (21000 for a plain transfer) for its fee. Read-only.
Base
Polygon
+8Answering
- agent402.tools/api/chain/erc1155-balanceERC-1155 balance0.002How many of one ERC-1155 token id an account holds, read straight from the contract. ERC-1155 is the multi-token standard behind most game items, editions and passes, where a single contract holds many ids and a balance is a quantity rather than ownership of one thing. Returns the balance as a decimal string. EVM chains: ethereum, base, polygon, arbitrum, optimism.
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
- The table + column schema for the onchain-sql toolOnchain SQL schema0.002agent402.tools/api/onchain-sql-schema
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
- Boolean verdict with reasonsVerify B20 token0.005agent402.tools/api/b20-verify
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
- Momentum across x402 sellersx402 trending sellers0.005agent402.tools/api/x402-trending
Base
Polygon
+8Answering
- Trust evidence for any x402 seller originCheck an x402 seller's trust0.005agent402.tools/api/x402/seller-trust
Base
Polygon
+8Answering
- Markets (tickers) listed on one exchangeExchange tickers0.008agent402.tools/api/exchange-tickers
Base
Polygon
+8Answering
Indexed from Coinbase, PayAI, Circle. Prices are in the provider's stablecoin, usually USDC. Agents pay these providers directly, outside Fourohtwo.
