Skip to content
Fourohtwo

Spot USD prices

kr-x402-mvp.kgy5612.workers.dev/api/usd-price

Spot USD prices: median of Coinbase, Kraken, Bybit, Binance, CoinGecko (whichever respond) with n_sources, dispersion_bps, with 24h change/volume. symbols=BTC,ETH,SOL default; also BNB,XRP,DOGE,ADA,AVAX,LINK,SUI.

BaseAnswering
GEThttps://kr-x402-mvp.kgy5612.workers.dev/api/usd-price

Uptime100% 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://kr-x402-mvp.kgy5612.workers.dev/api/usd-price?symbols=BTC%2CETH%2CSOL");
console.log(await res.json());

Example input

{
  "symbols": "BTC,ETH,SOL"
}

More from Crypto Microdata for Agents