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
- 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
- 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
- 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
- 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
- Boolean verdict with reasonsVerify B20 token0.005agent402.tools/api/b20-verify
Base
Polygon
+8Answering
- Markets (tickers) listed on one exchangeExchange tickers0.008agent402.tools/api/exchange-tickers
Base
Polygon
+8Answering
- api.chainmarket-api.workers.dev/api/crypto/swap-to-usdcSiteCheck Crypto & Finance0.001Swap any token into USDC to pay x402 prices, on Base, Arbitrum, Polygon (0x) or Solana (Jupiter). Default: a ready-to-sign swap for your address (taker) with guaranteed minimum, approve step, fees and expiresAt; you sign it. mode=price: quote only, no taker. mode=wallet: your USDC and gas balances, and with needUsdc the swap that covers the gap. mode=pay402: give a 402 PAYMENT-REQUIRED header (inv
Base
Solana
+5Answering
- Use when an agent needs demand stats for one x402 serviceP0 Agent Economy Index0.002x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/service
Base
Arbitrum
+2Answering
- api.algovault.com/x402/pre_trade_check0.02Pre-trade check of a perpetual-futures order against the caller's own rules: each rule passes or fails with its numbers, then GO / CAUTION / WAIT with machine-readable reasons. Adds isolated liquidation distance per venue and whether it hits before the stop, fees, accuracy needed to break even over the hold, funding by venue and the market regime. Informational only: places no orders and holds no
Base
OptimismAnswering
- Read the codes in an image URLQR code & barcode reader0.0023api.vextorium.com/v1/qr-barcode-read
Solana
XRP Ledger
+1Answering
- api.vextorium.com/v1/revoke-approvalRevoke token approval tx0.0023Build the transaction that revokes a contract's permission over an ERC-20 token (approve(spender, 0)): target and calldata ready to sign in your wallet. Nothing is sent.
Solana
XRP Ledger
+1Answering
- api.sitecheck-api.workers.dev/api/evm/tokenSiteCheck0.003On-chain facts about an ERC-20 contract on Base (default), Ethereum, Arbitrum, Optimism or Polygon, read over RPC: name, symbol, decimals, total supply, code size, whether it is a proxy (EIP-1967, EIP-1822 or the pre-1967 OpenZeppelin slots) with its implementation and admin, owner() and whether ownership is renounced, risky functions found in the bytecode, and plain warning flags. No paid securit
Base
Solana
+5Answering
- api.sitecheck-api.workers.dev/api/evm/txSiteCheck0.002Status, block, time, sender, recipient, value, gas used and fee (native and USD) of an EVM transaction, plus the ERC-20 Transfer events inside it (token, symbol, from, to, amount). A pending transaction returns status pending. Read over public RPC; a fallback node is used when the first refuses old receipts.
Base
Solana
+5Answering
- A Hyperliquid account by addressSiteCheck0.002api.sitecheck-api.workers.dev/api/perps/account
Base
Solana
+5Answering
- Token facts read on chainSiteCheck0.002api.sitecheck-api.workers.dev/api/token/metadata
Base
Solana
+5Answering
- A level-2 order book snapshot for a Coinbase pairSiteCheck0.002api.sitecheck-api.workers.dev/api/crypto/orderbook
Base
Solana
+5Answering
- Total value locked in DeFi from DefiLlamaSiteCheck0.002api.sitecheck-api.workers.dev/api/defi/tvl
Base
Solana
+5Answering
- api.sitecheck-api.workers.dev/api/evm/addressSiteCheck0.002Native balance, nonce and account type of an EVM address on Base (default), Ethereum, Arbitrum, Optimism or Polygon: a wallet, a contract, or an EIP-7702 delegated wallet with its delegate. On Ethereum also the ENS primary name, when it resolves back to the address. Read over public RPC.
Base
Solana
+5Answering
- ERC-20 allowance an owner has granted a spender for one tokenSiteCheck0.002api.sitecheck-api.workers.dev/api/evm/allowance
Base
Solana
+5Answering
- ERC-20 balance of an address for one token contract on a chainSiteCheck0.002api.sitecheck-api.workers.dev/api/evm/balance
Base
Solana
+5Answering
- Read-only contract call (eth_call)SiteCheck0.002api.sitecheck-api.workers.dev/api/evm/call
Base
Solana
+5Answering
- api.sitecheck-api.workers.dev/api/domain/typosquatSiteCheck0.002Generates lookalike domains of a brand (omission, transposition, repetition, bit-flip, homoglyph, vowel swap, hyphenation, TLD swap; technique list after dnstwist), checks up to 30 of them in DNS (A records), and reads MX records for up to 8 that resolve. Resolving in DNS is not proof of registration or abuse.
Base
Solana
+5Answering
- api.chainmarket-api.workers.dev/api/crypto/dex-pool-liquiditySiteCheck Crypto & Finance0.0016Live DEX pool snapshot from DexScreener for one pool address on one chain (Uniswap, Raydium, Curve and other DEXes DexScreener indexes): USD liquidity, token reserves, price, 24h volume and transactions, FDV. Slippage is not computed. Data is DexScreener's aggregate, not raw on-chain reads.
Base
Solana
+6Answering
- agent402.tools/api/token-top-tradersTop traders of a token by volume0.01Most active traders of a token by volume over a recent block window on Base or Ethereum, read from the token's Uniswap v2 and v3 pool Swap logs on chain. Each wallet (the sender of the swapping transaction, so router and aggregator swaps are credited to the signer) with its bought, sold and net amounts in the token and in USD, its trade and transaction counts, and its first and last block in the w
Base
Polygon
+9Answering
- agent402.tools/api/wallet-pnlWallet PnL0.02Realized and unrealized profit and loss of an EVM wallet on one chain (base, ethereum, arbitrum, optimism, polygon) over the last 1-30 days, computed here from its ERC-20 Transfer logs and Uniswap v3 Swap events for a listed token set: trades priced from their own USDC amounts, from the native coin leg read off the transaction receipt (wrapped-coin Deposit or Withdrawal), or from Uniswap v3 pool s
Base
Polygon
+9Answering
Indexed from Coinbase, PayAI, Circle. Prices are in the provider's stablecoin, usually USDC. Agents pay these providers directly, outside Fourohtwo.
