api.onesource.io
Latest Ethereum block height - current chain tip via eth_blockNumber
NFT metadata for ERC721 or ERC1155 tokens via eth_call, with IPFS, Arweave, data URI, and public HTTP(S) resolution
GET https://api.onesource.io/api/chain/nft-metadataListed in 3 directories: bazaar, x402-list, x402-new. First seen 5 Sept 2026.
The endpoint answers an unpaid request with an HTTP 402 and a payment challenge. @x402/fetch signs it, pays in USDC, and retries — you get the result back in one call.
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const pay = wrapFetchWithPayment(fetch, account);
const res = await pay("https://api.onesource.io/api/chain/nft-metadata", {
method: "GET",
});
console.log(await res.json());api.onesource.io
Latest Ethereum block height - current chain tip via eth_blockNumber
api.onesource.io
ERC20 token balance for any Ethereum wallet - USDC, USDT, DAI, or any token - via balanceOf (eth_call) on OneSource live Ethereum RPC
api.onesource.io
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
api.onesource.io
Live wallet balance - native ETH plus up to 20 caller-supplied ERC20 tokens in one bounded RPC batch
api.onesource.io
Full Ethereum transaction details by hash via eth_getTransactionByHash - from, to, value, calldata, block
api.onesource.io
Fetch an Ethereum block header and transaction hashes by number, tag, or hex via eth_getBlockByNumber
Uptime and compliance: x402-list.com (CC BY 4.0). Safety scores: x402.direct. Call and payer counts: x402.new. AMNT indexes this endpoint and does not host, operate or vouch for it.