Wallet balance (Base)
$0.002/call
Wallet balance and ERC-20 token balance on Base: live ETH, USDC and up to 5 ERC-20 balances of any address, read from Base mainnet. Pre-flight funding check before a payment or a swap. No API key.
GET /x402/base/wallet
Example request
curl 'https://api.zkrobotics.fr/x402/base/wallet?address=0x60fd97850059dF9600C4E26f09aC58EF51561963'
Without payment this returns 402 with the payment terms; an x402 client pays and retries.
ERC-20 token info
$0.003/call
ERC-20 token info on Base: name, symbol, decimals and total supply of any token contract, read live on-chain. Check a token before you trade or accept it.
GET /x402/base/token
Example request
curl 'https://api.zkrobotics.fr/x402/base/token?token=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
Without payment this returns 402 with the payment terms; an x402 client pays and retries.
ERC-20 allowance
$0.003/call
ERC-20 allowance and token approval check on Base: how much a spender contract is approved to move from an owner wallet, with unlimited-approval detection. Run it before a swap, a bridge or a transferFrom.
GET /x402/base/allowance
Example request
curl 'https://api.zkrobotics.fr/x402/base/allowance?owner=0x60fd97850059dF9600C4E26f09aC58EF51561963&spender=0x0000000000000000000000000000000000000001&token=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
Without payment this returns 402 with the payment terms; an x402 client pays and retries.
Transaction status
$0.004/call
Transaction status and receipt on Base: success / failed / pending / not found, block, confirmations, from, to, value, gas used and real fee. Payment and settlement verification for agents.
GET /x402/base/tx
Example request
curl 'https://api.zkrobotics.fr/x402/base/tx?tx_hash=0x80d9d834b819b7eb6e3876ad984ee569ba608879702a74bce34d686fc49555db'
Without payment this returns 402 with the payment terms; an x402 client pays and retries.
Base gas price
$0.002/call
Gas price on Base right now: gas price, base fee and priority fee in gwei, plus the cost of a simple ETH transfer. Decide whether to transact now or wait. No input needed.
GET /x402/base/gas
Example request
curl 'https://api.zkrobotics.fr/x402/base/gas'
Without payment this returns 402 with the payment terms; an x402 client pays and retries.
Basename resolver
$0.003/call
Basename and ENS resolver on Base: resolve name.base.eth to an address, or an address to its primary Basename (reverse names returned only when verified).
GET /x402/base/name
Example request
curl 'https://api.zkrobotics.fr/x402/base/name?name=jesse.base.eth'
Without payment this returns 402 with the payment terms; an x402 client pays and retries.
Contract or wallet?
$0.003/call
Is this address a contract or a wallet? Checks any Base address: EOA, EIP-7702 delegated wallet or smart contract, bytecode size, ETH balance and ERC-20 symbol. Cheap safety check before sending funds.
GET /x402/base/contract
Example request
curl 'https://api.zkrobotics.fr/x402/base/contract?address=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
Without payment this returns 402 with the payment terms; an x402 client pays and retries.
Base swap quote
$0.003/call
Swap quote and best DEX price on Base: live quotes from Uniswap v3 (all fee tiers) and Aerodrome (stable/volatile) for any ERC-20 pair, ranked best first, with a low-liquidity flag. ETH, USDC, cbBTC, DAI or any token address. Read-only, no swap executed.
GET /x402/base/swap-quote
Example request
curl 'https://api.zkrobotics.fr/x402/base/swap-quote?token_in=ETH&token_out=USDC&amount_in=1'
Without payment this returns 402 with the payment terms; an x402 client pays and retries.
Wallet balance (ETH)
$0.003/call
ERC20 token balance and wallet balance on Ethereum: live ETH, USDC and up to 5 ERC-20 balances (USDT, DAI or any token) of any Ethereum address, read from mainnet. No API key.
GET /x402/eth/wallet
Example request
curl 'https://api.zkrobotics.fr/x402/eth/wallet?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045'
Without payment this returns 402 with the payment terms; an x402 client pays and retries.
ERC-20 info (ETH)
$0.003/call
ERC-20 token info on Ethereum: name, symbol, decimals and total supply of any token contract on Ethereum mainnet, read live via eth_call.
GET /x402/eth/token
Example request
curl 'https://api.zkrobotics.fr/x402/eth/token?token=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48'
Without payment this returns 402 with the payment terms; an x402 client pays and retries.
ERC-20 allowance (ETH)
$0.003/call
ERC20 allowance and token approval check on Ethereum: how much a spender (Permit2, a router, a bridge) is approved to move from an owner wallet, with unlimited-approval detection.
GET /x402/eth/allowance
Example request
curl 'https://api.zkrobotics.fr/x402/eth/allowance?owner=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045&spender=0x000000000022D473030F116dDEE9F6B43aC78BA3&token=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48'
Without payment this returns 402 with the payment terms; an x402 client pays and retries.
Tx status (Ethereum)
$0.004/call
Transaction receipt and status on Ethereum: success / failed / pending / not found, block, confirmations, from, to, value, gas used and fee, via eth_getTransactionReceipt.
GET /x402/eth/tx
Example request
curl 'https://api.zkrobotics.fr/x402/eth/tx?tx_hash=0x873fa9b25af0218783beafe08158b22354f01fb917d34a8a14479c7fbab169c0'
Without payment this returns 402 with the payment terms; an x402 client pays and retries.
Ethereum gas price
$0.002/call
Gas price on Ethereum right now: gas price, base fee and priority fee in gwei, plus the cost of a simple ETH transfer. Decide whether to transact now or wait. No input needed.
GET /x402/eth/gas
Example request
curl 'https://api.zkrobotics.fr/x402/eth/gas'
Without payment this returns 402 with the payment terms; an x402 client pays and retries.
ENS resolve on Ethereum: turn a .eth name into an address, or an address into its primary ENS name (reverse names returned only when verified). Forward and reverse lookup.
GET /x402/eth/ens
Example request
curl 'https://api.zkrobotics.fr/x402/eth/ens?name=vitalik.eth'
Without payment this returns 402 with the payment terms; an x402 client pays and retries.
Contract check (ETH)
$0.003/call
Is this Ethereum address a contract or a wallet? EOA, EIP-7702 delegated wallet or smart contract, bytecode size, ETH balance and ERC-20 symbol. Safety check before sending funds.
GET /x402/eth/contract
Example request
curl 'https://api.zkrobotics.fr/x402/eth/contract?address=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48'
Without payment this returns 402 with the payment terms; an x402 client pays and retries.
Token price (USD)
$0.002/call
Crypto token price in USD: live price of ETH, BTC (cbBTC), DAI, AERO or any Base token address, from on-chain DEX pools (Uniswap v3, Aerodrome), best route direct or via WETH. No API key, read-only.
GET /x402/crypto/price
Example request
curl 'https://api.zkrobotics.fr/x402/crypto/price?token=ETH'
Without payment this returns 402 with the payment terms; an x402 client pays and retries.