This document covers the live chain-RPC family only: Ethereum mainnet, Sepolia testnet, and Robinhood Chain data for AI agents, returned fresh from OneSource-operated nodes rather than an index. Some endpoints proxy one RPC method; composite endpoints issue bounded RPC batches, decode contract calls, combine related results, or resolve off-chain NFT metadata. OneSource also serves Deepstate on-chain market data (order books, trades, candles, stats, and analytics) on this same host under /deepstate/v1/* — a separate family with its own spec at https://api.onesource.io/deepstate/openapi.yaml, not merged into this document. No API key or account is required to start: pay per call or use batch/session mode — USDC on Base via x402 (per-call `exact` scheme or batch-settlement `x402-batch` scheme), or pathUSD/USDC.e on Tempo via MPP (per-call or `tempo.session`). A flat-rate monthly subscription is also available via an API key, for callers who need volume or whose environment cannot custody a wallet or settle on-chain: https://onesource.io/rest-api#pricing.
/api/chain/allowance
$0.003/api/chain/block-number
$0.001/api/chain/block/{number}
$0.003/api/chain/chain-id
$0.001/api/chain/code/{address}
$0.003/api/chain/contract/{address}
$0.005/api/chain/ens/{input}
$0.005/api/chain/erc1155-balance
$0.003/api/chain/erc20-balance
$0.003/api/chain/erc20-transfers
$0.005/api/chain/erc721-tokens
$0.008/api/chain/events
$0.005/api/chain/live-balance
$0.003/api/chain/network-info
$0.001/api/chain/nft-metadata
$0.008/api/chain/nft-owner
$0.003/api/chain/nonce/{address}
$0.003/api/chain/pending
$0.01/api/chain/proxy/{address}
$0.005/api/chain/receipt/{hash}
$0.005/api/chain/storage
$0.005/api/chain/total-supply
$0.003/api/chain/tx/{hash}
$0.008/api/chain/call
$0.005/api/chain/estimate-gas
$0.004/deepstate/v1/analytics/cost-to-quote
$0.02/deepstate/v1/analytics/depth-history
$0.02/deepstate/v1/analytics/makers
$0.02/deepstate/v1/book/{book}
$0.005/deepstate/v1/candles/{book}
$0.005/deepstate/v1/markets
$0.005/deepstate/v1/stats/{book}
$0.005/deepstate/v1/trades/{book}
$0.005Install on Your Agent
Add OneSource - Blockchain Data API for AI Agents skills to any client
npx agentcash add https://api.onesource.io