Skip to content
Fourohtwo

Token Price Check on Base by Agentropolis

seenly-token-preflight.vercel.app/api/token-price

Token Price Check on Base by Agentropolis: USD price of a Base ERC-20 from on-chain DEX pools (Uniswap, Aerodrome), liquidity-weighted, with per-pool prices, total liquidity, spread, confidence and thin-liquidity or divergence warnings. $0.02. Not investment advice.

BaseAnswering
POSThttps://seenly-token-preflight.vercel.app/api/token-price

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://seenly-token-preflight.vercel.app/api/token-price", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"chain":"base","symbol":"AERO"}),
});
console.log(await res.json());

Example input

{
  "chain": "base",
  "symbol": "AERO"
}