Live spot ticker for any OKX <SYMBOL>-USDT pair (hundreds of coins)
cryptofeed402.site/spot/BTC
Live spot ticker for any OKX <SYMBOL>-USDT pair (hundreds of coins): last price, best bid/ask and spread in bps, 24h open/high/low and change, UTC-day change, 24h volume in base and USDT, with as_of. Use it for a quick cross-venue spot check of an asset that has no perp. Unknown pair 404, no charge. JSON. Free sample at /samples/spot. $0.002 USDC per call on Base.
GET
https://cryptofeed402.site/spot/BTCUptime100% 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://cryptofeed402.site/spot/BTC");
console.log(await res.json());Example input
{}