Skip to content
Fourohtwo

x402.santyvv.com/api/crypto/token-price

Spot price in USD for up to 20 tokens identified by contract address, on Base, Ethereum, Arbitrum, Optimism or Polygon, with decimals and confidence. No API key, no rate limit surprises: useful to value a wallet, a treasury or an invoice in tokens that an exchange price endpoint cannot resolve.

BaseAnswering
GEThttps://x402.santyvv.com/api/crypto/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://x402.santyvv.com/api/crypto/token-price?chain=Red+EVM%3A+base%2C+ethereum%2C+arbitrum%2C+optimism%2C+polygon+%28por+defecto%3A+base%29+Ejemplo%3A+base&tokens=Uno+o+varios+contratos+separados+por+coma+%28maximo+20%29+%28obligatorio%29+Ejemplo%3A+0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913");
console.log(await res.json());

Example input

{
  "chain": "Red EVM: base, ethereum, arbitrum, optimism, polygon (por defecto: base) Ejemplo: base",
  "tokens": "Uno o varios contratos separados por coma (maximo 20) (obligatorio) Ejemplo: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
}

More from santyvv-dataProvider status