ERC-20 token balances for a wallet on a chain (Alchemy Token API)
api.cortexcloud.org/v1/data/token-balances
ERC-20 token balances for a wallet on a chain (Alchemy Token API). x402-paid, USDC on Base.
POST
https://api.cortexcloud.org/v1/data/token-balancesUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.cortexcloud.org/v1/data/token-balances", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"address":"0x0000000000000000000000000000000000000000","chain":"ethereum"}),
});
console.log(await res.json());Example input
{
"address": "0x0000000000000000000000000000000000000000",
"chain": "ethereum"
}More from CortexCloudProvider status
- api.cortexcloud.org/v1/aggregate/balancesBatch ERC-20 balances for many addresses (Alchemy). x402-paid, USDC on Base.0.004
- api.cortexcloud.org/v1/data/cross-chain-compareCompare one contract across chains (price, activity, deployment) in one call (Alchemy + CoinGecko). x402-paid.0.04
- api.cortexcloud.org/v1/data/gas-oracleCurrent base fee + priority fee (gas price) for a chain (Alchemy). x402-paid, USDC on Base.0.004
- api.cortexcloud.org/v1/data/market-snapshotOne-call market snapshot: token intelligence, whale activity, and risk verdict fanned out in parallel and merged under token/whale_activity/risk with a snapshot_at timestamp. Partial failures return an error key per section instead of failing the whole response. x402-paid, USDC on Base.0.07
- api.cortexcloud.org/v1/data/nft-ownershipNFTs owned by a wallet on a chain (Alchemy NFT API). x402-paid, USDC on Base.0.004
- api.cortexcloud.org/v1/data/token-intelFlagship token intelligence: deployment, metadata, spot price, 24h change, optional age/liquidity/market-cap, and recent activity. Each fact carries its source, a checked_at timestamp, and explicit missing-data indicators. Alchemy + CoinGecko. x402-paid, USDC on Base.0.03
- api.cortexcloud.org/v1/data/token-priceSpot USD price for a token/coin (CoinGecko where free tier suffices, else Alchemy). x402-paid.0.004
- api.cortexcloud.org/v1/data/token-riskToken risk verdict (age, liquidity, contract checks, suspicious-transfer scan) with per-claim evidence. x402-paid.0.02
- api.cortexcloud.org/v1/data/tx-historyNormalized transactions for an address on a chain (Alchemy Transfers API). x402-paid, USDC on Base.0.004
- api.cortexcloud.org/v1/data/wallet-intelWallet profile: balances, holdings, recent activity, counterparty relationships (Alchemy). x402-paid.0.006
- api.cortexcloud.org/v1/data/whale-alertsLarge-transfer / accumulation alerts for a wallet with tx hashes + timestamps (Alchemy). x402-paid.0.05
