HTTP/1.1 402 PAYMENT REQUIRED agent402.base.eth · BASE · SOLANA · POLYGON · ARBITRUM · MONAD · CELO · AVALANCHE · SEI · OPTIMISM · STELLAR · ALGORAND · ROBINHOOD · USDC · USDG
Agent402 / tools / Crypto & onchain data

Crypto & onchain data

Keyless reads across chains: token prices and metadata, order books, stablecoin peg health, wallet balances and transaction history, NFT holdings and metadata, gas snapshots.

54 tools in this category - 7 free via proof-of-work. ← All tools

Crypto order book

$0.003 · GET /api/crypto-orderbook

L2 order-book snapshot for a spot pair: best bid/ask, mid price, spread (absolute + %), and the top N aggregated price l…

try in playground →

Stablecoin peg monitor

$0.003 · GET /api/stablecoin-peg

Live $1-peg deviation for the top USD stablecoins (USDT, USDC, USDS, DAI, USDe, PYUSD, USDD, TUSD, FDUSD by default, or …

try in playground →

Wallet balance (native + ERC-20)

$0.002 · POST /api/wallet-balance

Look up the native coin balance (ETH/MATIC) plus every ERC-20 holding for a wallet address on Ethereum, Base, Polygon, A…

try in playground →

ERC-20 token metadata

$0.001 · POST /api/token-metadata

Resolve an ERC-20 contract address to its on-chain metadata: symbol, decimals, name, and logo URL where available. Use t…

try in playground →

Token spot price (USD)

$0.001 · POST /api/token-price

Return the current USD spot price for an ERC-20 token, identified by its contract address and network. Sourced from Alch…

try in playground →

Wallet transaction history

$0.002 · POST /api/wallet-transactions

Return the most recent asset transfers (incoming + outgoing) for a wallet address - native coin, ERC-20, ERC-721, ERC-11…

try in playground →

NFT holdings for an address

$0.002 · POST /api/nft-holdings

Return the NFTs owned by a wallet address on a given network. Each row carries the collection name, contract address, to…

try in playground →

NFT metadata lookup

$0.001 · POST /api/nft-metadata

Resolve the metadata for a single NFT: title, description, image URLs (original + cached CDN), attributes/traits, and th…

try in playground →

Gas snapshot (slow / standard / fast)

$0.005 · POST /api/gas-snapshot

Live gas price snapshot for a chain - slow / standard / fast tiers in gwei, plus the latest base fee. Sampled from eth_f…

try in playground →

Read-only JSON-RPC passthrough

$0.002 · POST /api/eth-call

Escape hatch for power users: forward an arbitrary read-only JSON-RPC method to the chain. Method must be in our read-on…

try in playground →

Multi-chain EVM RPC (read-only)

$0.004 · POST /api/evm-rpc

Read-only JSON-RPC against Ethereum, Base, Polygon, Arbitrum, or Optimism with built-in multi-endpoint failover - one pa…

try in playground →

Latest block number

$0.001 · GET /api/block-number

The latest block number on Ethereum, Base, Polygon, Arbitrum, or Optimism. The cheapest possible on-chain read - the hel…

try in playground →

Chain info snapshot

$0.001 · GET /api/chain-info

One-call chain state snapshot: chain id, latest block number, and current gas price (wei + gwei) for Ethereum, Base, Pol…

try in playground →

Block info

$0.002 · GET /api/block-info

Header-level detail for one block on Ethereum, Base, Polygon, Arbitrum, or Optimism: hash, timestamp (unix + ISO), trans…

try in playground →

NFT owner lookup (ERC-721 ownerOf)

$0.002 · GET /api/erc721-owner

Who owns this NFT? Calls ownerOf(tokenId) on any ERC-721 contract on Ethereum, Base, Polygon, Arbitrum, or Optimism. Com…

try in playground →

Contract bytecode check

$0.002 · GET /api/contract-code

Is this address a contract, and what code does it hold? Returns isContract, deployed bytecode size, and the keccak-256 h…

try in playground →

Contract event logs

$0.003 · POST /api/event-logs

Fetch contract event logs (eth_getLogs) on Ethereum, Base, Polygon, Arbitrum, or Optimism - bounded so it always answers…

try in playground →

Verified contract source (Sourcify)

$0.005 · POST /api/contract-source

Fetch the verified Solidity source files and compiler metadata for a contract address from Sourcify's open verification …

try in playground →

Verified contract ABI (Sourcify)

$0.003 · POST /api/contract-abi

Fetch the verified ABI for a contract address from Sourcify, plus a ready-to-use list of human-readable function signatu…

try in playground →

Solidity heuristic pattern scan

FREE w/ compute · or $0.01 · POST /api/solidity-scan

Deterministic static pattern scan of Solidity smart-contract source text - a fixed ruleset flagging tx.origin authentica…

try in playground →

Calldata decoder (ABI or selector DB)

$0.003 · POST /api/calldata-decode

Decode EVM smart-contract transaction calldata into the function name and typed parameters. Supply an ABI (from /api/con…

try in playground →

Function selector / event topic lookup

$0.002 · POST /api/selector-lookup

Resolve a 4-byte function selector or a 32-byte event topic hash to its known human-readable Solidity signatures, via th…

try in playground →

Transaction simulation (eth_call + gas)

$0.005 · POST /api/tx-simulate

Dry-run a prospective smart-contract call or transaction without broadcasting it: executes eth_call and eth_estimateGas …

try in playground →

Known-address label lookup

FREE w/ compute · or $0.002 · POST /api/address-label

Label a known EVM address from a curated, committed dataset: major stablecoin + token contracts (USDC on every chain we …

try in playground →

Pyth price (latest)

$0.001 · POST /api/price-pyth

Latest aggregated price for one or more Pyth feeds, sourced live from Pyth's Hermes service. Use when you need an ORACLE…

try in playground →

CoinGecko spot price

$0.001 · POST /api/price-coingecko

Live spot price (and optional 24-hour change) for one or more coins from CoinGecko's public Simple Price endpoint. Ident…

try in playground →

DeFi protocol TVL

$0.001 · POST /api/defi-tvl

Look up the current Total Value Locked (TVL) for a DeFi protocol via DeFiLlama's public API. Identify the protocol by it…

try in playground →

Resolve Uniswap V3 pool address

$0.001 · POST /api/dex-pair

Look up the Uniswap V3 pool address for a token pair + fee tier on Ethereum, Base, Polygon, Arbitrum, or Optimism. Pass …

try in playground →

Read Uniswap V3 pool state

$0.002 · POST /api/dex-pool

Read on-chain state of a Uniswap V3 pool: token0/token1 addresses + decimals, fee tier, current sqrtPriceX96, tick, in-r…

try in playground →

Uniswap V3 spot quote

$0.002 · POST /api/dex-quote

Spot quote for swapping through a Uniswap V3 pool at the current tick. amountIn is in human units (not wei). zeroForOne=…

try in playground →

Top DEX pools by TVL

$0.001 · POST /api/dex-top-pools

Top DEX pools (Uniswap, Sushi, Curve, Aerodrome, etc.) ranked by current TVL - filterable by chain and project. Sourced …

try in playground →

Polymarket search

$0.002 · POST /api/polymarket-search

Search active Polymarket markets by keyword. Returns the top matches sorted by 24h volume, with question, current outcom…

try in playground →

Polymarket market detail

$0.002 · POST /api/polymarket-market

Get full detail for a single Polymarket market by slug or id. Returns question, description, outcome prices (implied pro…

try in playground →

Polymarket orderbook

$0.002 · POST /api/polymarket-orderbook

Live CLOB orderbook for a Polymarket outcome token. Returns top N bids (highest first), top N asks (lowest first), best …

try in playground →

Polymarket price history

$0.002 · POST /api/polymarket-price-history

Historical odds (implied probabilities) for a Polymarket outcome token. Returns timestamped price samples with first/las…

try in playground →

Kalshi markets list

$0.002 · POST /api/kalshi-markets

List Kalshi markets (CFTC-regulated US event contracts). Filter by status (open/closed/settled/unopened) or by event tic…

try in playground →

Kalshi event detail

$0.002 · POST /api/kalshi-event

Get full detail for a single Kalshi event with all its nested markets. Mutually-exclusive flag tells you whether the mar…

try in playground →

MEV recent blocks

$0.002 · POST /api/mev-recent-blocks

Last N MEV-Boost-built blocks via the Flashbots relay. For each block: slot, block number/hash, builder pubkey, proposer…

try in playground →

MEV builder share

$0.002 · POST /api/mev-builder-share

Builder market share aggregated over the last N MEV-Boost blocks via the Flashbots relay. Returns per-builder block coun…

try in playground →

MEV block payment lookup

$0.002 · POST /api/mev-block-payment

Look up the MEV-Boost payment for a specific slot or block number via the Flashbots relay. Returns the builder, proposer…

try in playground →

L2 TVL ranking

$0.002 · POST /api/l2-tvl

Top L2s by Total Value Locked (TVL) via DeFiLlama. Returns each L2 with TVL in USD, native token symbol, and CoinGecko/C…

try in playground →

L2 gas comparison

$0.002 · POST /api/l2-gas-comparison

Current gas snapshot across Ethereum + supported L2s (Base, Polygon, Arbitrum, Optimism), sorted cheapest-first. Returns…

try in playground →

ENS bulk reverse resolver

$0.002 · POST /api/ens-bulk-resolve

Reverse-resolve a batch of Ethereum addresses to ENS primary names + avatar URLs (up to 50 per call). Returns one row pe…

try in playground →

Farcaster profile

$0.002 · POST /api/farcaster-profile

Lookup a Farcaster profile by username or FID. Returns FID, username, display name, bio, profile picture URL, follower/f…

try in playground →

Farcaster by Ethereum address

$0.002 · POST /api/farcaster-by-address

Reverse-lookup an Ethereum address to its Farcaster account (via verified address). Returns FID, username, display name,…

try in playground →

EAS attestations

$0.002 · POST /api/eas-attestations

List EAS (Ethereum Attestation Service) attestations for an address as recipient, attester, or either, on mainnet/Base/O…

try in playground →

NFT collection metadata

$0.002 · POST /api/nft-collection

Fetch NFT collection (ERC-721 / ERC-1155) metadata by contract address on Ethereum, Base, Polygon, Arbitrum, or Optimism…

try in playground →

NFT floor price

$0.002 · POST /api/nft-floor

Get the current floor price for an NFT collection across OpenSea + LooksRare (Ethereum). Returns per-marketplace floor (…

try in playground →

NFT recent sales

$0.002 · POST /api/nft-sales

Recent sales for an NFT collection (or specific token) on any of 5 chains, ordered descending by block. Returns buyer, s…

try in playground →

PBKDF2 key derivation

FREE w/ compute · or $0.001 · POST /api/pbkdf2

Derive a cryptographic key from a password using PBKDF2 (RFC 8018). Returns the hex-encoded derived key along with all p…

try in playground →

scrypt key derivation

FREE w/ compute · or $0.001 · POST /api/scrypt-derive

Derive a cryptographic key from a password using scrypt (RFC 7914). Memory-hard by design, making it more resistant to G…

try in playground →

HKDF extract-and-expand

FREE w/ compute · or $0.001 · POST /api/hkdf-expand

HKDF extract-then-expand (RFC 5869) - derive output keying material from initial keying material, an optional salt, and …

try in playground →

Constant-time compare

FREE w/ compute · or $0.001 · POST /api/constant-compare

Compare two strings in constant time using node:crypto timingSafeEqual, preventing timing side-channel attacks. Returns …

try in playground →

Multi-digest checksum

FREE w/ compute · or $0.001 · POST /api/checksum

Compute MD5, SHA-1, SHA-256, SHA-512, and CRC32 checksums of a string in a single call. Useful for verifying file or pay…

try in playground →