Two data families for AI agents: live Ethereum mainnet, Sepolia testnet, and Robinhood Chain RPC reads, plus Deepstate on-chain market data (order books, trades, candles, and analytics). Pay per call or use batch/session mode: USDC on Base via x402, or pathUSD/USDC.e on Tempo via MPP. No API key required to start; a flat-rate monthly subscription is also available.
Price
from $0.0010
up to $0.0200 per request
Network
base
Category
ai
On-chain txns
414
Uptime
100%
Avg latency
663ms
Checks
64
Status
Healthy
Discovered from on-chain x402 payment activity. Prices shown are per-call in USDC.
ERC20 allowance via allowance (eth_call) - how much a spender is approved to move from an owner's wallet
Latest Ethereum block height - current chain tip via eth_blockNumber
Fetch an Ethereum block header and transaction hashes by number, tag, or hex via eth_getBlockByNumber
Simulate a read-only Ethereum contract call via eth_call - no transaction sent
Ethereum chain ID (EIP-155) via eth_chainId - confirm which chain a network is on
Check if an Ethereum address is a contract via eth_getCode - returns deployed bytecode
Best-effort contract introspection via batched RPC - bytecode presence, token metadata, and ERC20-like/ERC721/ERC1155 classification
ENS resolve - turn a .eth name into an address, or an address into its primary .eth name, via eth_call on OneSource live Ethereum RPC
ERC1155 token balance via balanceOf (eth_call) - how many copies of a token_id a wallet holds
ERC20 token balance for any Ethereum wallet - USDC, USDT, DAI, or any token - via balanceOf (eth_call) on OneSource live Ethereum RPC
ERC20 Transfer logs via eth_getLogs - raw Transfer events for a token or wallet
List every ERC721 NFT token_id a wallet owns in a collection via tokenOfOwnerByIndex (eth_call)
Estimate the gas a transaction will consume via eth_estimateGas before signing it
Query Ethereum contract event logs via eth_getLogs - filter by contract, topic, and block range
Live wallet balance - native ETH plus up to 20 caller-supplied ERC20 tokens in one bounded RPC batch
EVM network info - chain ID, block height, gas price, chain head age, and chain characteristics in one batched RPC call (eth_chainId + eth_blockNumber + eth_gasPrice + latest block header)
NFT metadata for ERC721 or ERC1155 tokens via eth_call, with IPFS, Arweave, data URI, and public HTTP(S) resolution
Look up the current owner of an ERC721 NFT by token_id via ownerOf (eth_call)
Next transaction nonce for any Ethereum wallet via eth_getTransactionCount - how many txs it has sent
Pending block - transactions not yet mined, via eth_getBlockByNumber("pending")
Detect upgradeable proxy patterns (EIP-1967, UUPS, Transparent) via eth_getStorageAt - returns the implementation address behind a proxy
Transaction receipt via eth_getTransactionReceipt - status, gas, and event logs for a mined Ethereum transaction
Read a raw storage slot from any Ethereum contract via eth_getStorageAt
Total supply of an ERC20 or ERC721 token contract via totalSupply (eth_call)
Full Ethereum transaction details by hash via eth_getTransactionByHash - from, to, value, calldata, block
Gas spent resting and cancelling orders for a Deepstate market
Deepstate depth heatmap - resting order size by price level over time for a market
Per-maker time-at-top, notional rested, fills, and DEEP rewards earned for a Deepstate market
Deepstate order-book snapshot for a market - bids descending, asks ascending
Deepstate OHLCV candles for a market
The Deepstate markets this service serves, with their token layout
Deepstate rolling 24h / 7d / 30d volume and price change for a market
Deepstate trade tape for a market, newest first
# one-time setup
npx @apihubio/cli register
npx @apihubio/cli topup 10
# call it
npx @apihubio/cli call https://api.onesource.io \
-X POST \
-d '{ /* check provider docs for input */ }'
# or save it to Claude/Cursor/Codex
npx @apihubio/cli install
npx @apihubio/cli add https://api.onesource.ioimport { wrapFetchWithPayment } from "@x402/fetch";
import { createWalletClient, http } from "viem";
import { privateKeyToAccount } from "viem/accounts";
import { base } from "viem/chains";
const account = privateKeyToAccount("0xYOUR_PRIVATE_KEY");
const client = createWalletClient({ account, chain: base, transport: http() });
const x402Fetch = wrapFetchWithPayment(client);
const res = await x402Fetch("https://api.onesource.io", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ /* check provider docs for input */ }),
});
const data = await res.json();This is an external service not operated by APIHub. Listing data is sourced from public on-chain records and third-party indexes. Payment goes directly to the service provider via the x402 protocol. APIHub does not guarantee availability, accuracy, or quality of external services.