Onchain Query API
activePay-per-call EVM chain data for agents: wallet snapshots, ERC-20 token profiles, spot prices, gas markets, transaction decode, and ENS resolution across major EVM chains (base, ethereum, arbitrum, optimism, polygon). Deterministic JSON, no RPC keys or node infra needed.
Settled via Coinbase.
- Transactions · 30d
- 0
- Volume · 30d
- $0.00
- Unique buyers · 30d
- 0
- Uptime · 30d
- 100.0%
- Latency p50
- 360ms
- Reported calls · 30d
- 181
Endpoints (12 live)
GET/derivatives— Crypto perpetual-futures snapshot for a symbol in ONE call (Binance USD-M, keyless): current funding rate and the next funding time, mark and index price, open interest (contracts and USD), 24h price change/high/low/volume, and the top-trader long/short account ratio. For funding arbitrage, leverage/positioning reads, and a derivatives view an onchain-only feed cannot give. Cached 30s. (0.005 USDC on Base)GET/block— Latest block on any major EVM chain: block number, timestamp, age in seconds, base fee and gas used/limit. The cheapest possible liveness and chain-tip check for an agent: confirm a chain is progressing, timestamp an observation, or pick a block for a query. (0.001 USDC on Base)GET/tx— Transaction lookup and decode on any major EVM chain. Turns a raw tx hash into agent-readable facts: success or failure status, block number, sender and recipient, native value transferred, gas used, fee in native token and USD, and every ERC-20 transfer decoded with token symbol, decimals and human-readable amount. Returns found=false for an unknown hash instead of erroring. (0.003 USDC on Base)GET/price— Spot USD price for any crypto asset. Accepts a ticker symbol (eth, btc, sol), a CoinGecko id (ethereum), or an EVM token contract address. Returns the USD price plus 24h change, with market cap for listed assets, or liquidity, 24h volume and the top DEX pair for contract addresses. Cached 60 seconds so repeated calls in one agent workflow stay consistent with each other. (0.002 USDC on Base)GET/gas— Live gas market on any major EVM chain: current gas price, base fee and priority-fee percentiles (p25/p50/p75) in gwei, plus the estimated cost in native token and USD for a plain transfer (21k gas) and a typical DEX swap (200k gas). Lets an agent decide whether a transaction is worth sending right now or should wait for cheaper gas, and budget the fee before signing. (0.002 USDC on Base)GET/token— ERC-20 token profile on any major EVM chain: on-chain metadata (name, symbol, decimals, total supply) read straight from the contract, joined with live DEX market data (USD price, liquidity, 24h volume, 24h change, and the top trading pair with its DEX). Use it to price a token, check liquidity depth before a swap, or resolve an unknown contract address into a real token. (0.004 USDC on Base)GET/ens— ENS name resolution in both directions on Ethereum mainnet. Pass name to resolve an ENS name to its address (forward), or pass address to get that address's primary ENS name (reverse, forward-verified so spoofed reverse records are rejected). Read straight from the ENS registry. Use it to turn vitalik.eth into an address, or to label a raw address with a human-readable name. (0.003 USDC on Base)GET/wallet— Wallet snapshot on any major EVM chain (base, ethereum, arbitrum, optimism, polygon): native balance, USDC balance, transaction count, contract-or-EOA flag, USD values. One call, no RPC keys or node infra needed. (0.003 USDC on Base)GET/prices— Spot USD prices for up to 20 crypto assets in ONE call: pass tickers (eth, btc, sol), CoinGecko ids, or 0x token addresses (priced from live DEX pairs). Each entry returns price_usd, 24h change and market cap where known; unknown symbols are reported, not silently dropped. Use it to value a portfolio, size a trade, or refresh a price table without 20 round trips. (0.002 USDC on Base)GET/gas-compare— Live gas across Base, Ethereum, Arbitrum, Optimism and Polygon in ONE call, sorted cheapest first: gas price, base fee, median priority fee and the estimated USD cost of a 21k-gas transfer and a 200k-gas swap on each chain. Lets an agent pick the cheapest chain to execute on, or size a fee, without five separate RPC calls. 10-second cache. (0.002 USDC on Base)GET/erc20-balance— ERC-20 token balance of any wallet on Base, Ethereum, Arbitrum, Optimism or Polygon: USDC, USDT, DAI, WETH or any token contract. Returns the human balance, the raw integer amount, and the token's symbol and decimals read from the contract. Omit `token` to get the chain's native USDC. Use it to confirm a payment landed or to check a stablecoin float. (0.001 USDC on Base)GET/balance— Native coin balance (ETH or POL) of any address on Base, Ethereum, Arbitrum, Optimism or Polygon, with USD value. One RPC read, no key, no node. Use it to check that a wallet is funded before sending, or to watch a counterparty balance. (0.001 USDC on Base)
First seen · last seen · last active