Skip to content
Fourohtwo

Price of any token by contract address -- not just the 21 majors

www.x402financialdata.com/token-price/:chain/:contract

Price of any token by contract address -- not just the 21 majors: pass a chain (ethereum, base, solana, arbitrum, bsc, polygon, ...) and a token contract address and get the current USD price, symbol, decimals, and price confidence, live from DeFiLlama's free coins API. For agents that just saw a token in a wallet, transfer, or contract and need its price now. $0.005/call.

BaseSolanaAnswering
GEThttps://www.x402financialdata.com/token-price/:chain/:contract

Uptime100% of 4 checks 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://www.x402financialdata.com/token-price/:chain/:contract");
console.log(await res.json());