Skip to content
Fourohtwo

agent402.tools/api/coin-price-by-contract

Live price, market cap, 24h volume and 24h change for ERC-20 / SPL / other chain tokens looked up by CONTRACT ADDRESS on a named platform (ethereum, base, polygon-pos, arbitrum-one, optimistic-ethereum, binance-smart-chain, solana, avalanche, ...).

BasePolygonArbitrumMonadAvalancheSei+4Answering
GEThttps://agent402.tools/api/coin-price-by-contract

Uptime100% of 2 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://agent402.tools/api/coin-price-by-contract?currency=usd&platform=ethereum&contracts=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48");
console.log(await res.json());

Example input

{
  "currency": "usd",
  "platform": "ethereum",
  "contracts": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
}

More from Token price by contract addressProvider status