USD price of any Arc token in one call
apexfaucet.xyz/api/x402/arc-price
USD price of any Arc token in one call. Pass ?token=0x.... Read live from the Uniswap v4 pool state on Arc mainnet (StateView slot0 + liquidity) across the token's USDC pools from our index of every v4 pool (updated every 5 minutes), the deepest hookless one preferred. Returns usdPrice, the pool used, liquidityUsdEstimate, block, block time and warnings (pool has a hook, thin under $50). A token w
GET
https://apexfaucet.xyz/api/x402/arc-priceUptime100% of 5 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/arc-price?token=0x59933F316417C89d9dC5107B30f08C99b774Ea9D");
console.log(await res.json());Example input
{
"token": "0x59933F316417C89d9dC5107B30f08C99b774Ea9D"
}