Price impact for an Arc token
apexfaucet.xyz/api/x402/arc-impact
Price impact for an Arc token: what buying and selling $10, $100 and $1,000 would really get, each quoted by the Uniswap v4 Quoter on the token's deepest USDC pool (simulated, nothing spent). Pass ?token=0x.... Returns the mid price, the pool and its fee, and for each size the tokens or USDC out, the effective price and the cost or loss against the mid price (fee and impact included). A pool whose
GET
https://apexfaucet.xyz/api/x402/arc-impactUptime100% of 4 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-impact?token=0x59933F316417C89d9dC5107B30f08C99b774Ea9D");
console.log(await res.json());Example input
{
"token": "0x59933F316417C89d9dC5107B30f08C99b774Ea9D"
}