Skip to content
Fourohtwo

apexfaucet.xyz/api/x402/crypto-price

Crypto token price in USD, read on chain from Chainlink price feeds on Ethereum: pass ?symbols=ETH,BTC,SOL (up to 5) and get each price with its feed address, round id and how old the round is, so the number can be checked. Feeds are found by their public ENS names; a retired or unknown feed is refused before any charge.

BaseArcSolanaBNB ChainRobinhood ChainAnswering
GEThttps://apexfaucet.xyz/api/x402/crypto-price

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://apexfaucet.xyz/api/x402/crypto-price?symbol=ETH&symbols=ETH%2CBTC");
console.log(await res.json());

Example input

{
  "symbol": "ETH",
  "symbols": "ETH,BTC"
}

More from Crypto priceProvider status