USD token price (POST wrapper, body
api.anchor-x402.com/v1/price/token
USD token price (POST wrapper, body: {symbol} or {chain, contract}) — $0.001 USDC
POST
https://api.anchor-x402.com/v1/price/tokenUptimeNot checked yet
30 days agoToday
Call it from an agent
curl -i -X POST -H 'content-type: application/json' "https://api.anchor-x402.com/v1/price/token" \
-d '{"symbol":"ETH"}'
# 402 Payment Required comes back with the price and where to pay.Example input
{
"symbol": "ETH"
}