Skip to content
Fourohtwo

Current prices in USD from Chainlink Data Feeds on Base mainnet

verifylite.hydratinghealingtouch.workers.dev/chain/price

Current prices in USD from Chainlink Data Feeds on Base mainnet: ETH, BTC, cbBTC, SOL, USDC, DAI, and EUR. One pair or all at once, each with the feed's last update time, age in seconds, and a stale flag, read straight from the oracle contracts (the same prices DeFi protocols use). Useful for valuing balances, converting USDC amounts, and checking a stablecoin peg. Not charged for an unknown pair

BaseArcPolygonUnchecked
POSThttps://verifylite.hydratinghealingtouch.workers.dev/chain/price

UptimeNot checked yet

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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://verifylite.hydratinghealingtouch.workers.dev/chain/price", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"pair":"ETH/USD"}),
});
console.log(await res.json());

Example input

{
  "pair": "ETH/USD"
}

More from VerifyLite