Find a token by symbol or name on X1 and Solana
apexfaucet.xyz/api/x402/token-lookup
Find a token by symbol or name on X1 and Solana. Pass ?q= (2-20 letters or digits). Returns up to 10 matches per chain with address, symbol, name, price and liquidity: on X1 the depth of its XNT-paired pools (twice the XNT reserve, summed, as our indexer records it); on Solana Jupiter's liquidity in USD with its verified flag. Plus a collisions list when the same symbol appears with different addr
GET
https://apexfaucet.xyz/api/x402/token-lookupUptime100% 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
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://apexfaucet.xyz/api/x402/token-lookup?q=BONK");
console.log(await res.json());Example input
{
"q": "BONK"
}