Skip to content
Fourohtwo

pagetext.yashil.workers.dev/tokenprice

Price of any ERC-20 token by contract address, read on-chain from DEX pools (Uniswap v3 on Base, Ethereum, Arbitrum, OP, Polygon; Aerodrome on Base): USD price, deepest pool, its liquidity, and other pools. Read-only.

BaseAnswering
GEThttps://pagetext.yashil.workers.dev/tokenprice

Uptime100% 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://pagetext.yashil.workers.dev/tokenprice?chain=base&token=0x940181a94A35A4569E4529A3CDfB74e38FD98631");
console.log(await res.json());

Example input

{
  "chain": "base",
  "token": "0x940181a94A35A4569E4529A3CDfB74e38FD98631"
}

More from PageTextProvider status