Bitcoin price now
agent-data-tools.revmesh2074.workers.dev/bitcoin/price
Bitcoin price now: the current BTC spot price in USD, EUR, GBP, CAD, CHF, AUD and JPY, averaged across major exchanges, with satoshis per US dollar and the time of the price; name a currency such as SEK or INR for one more. No input needed. Use to value a Bitcoin or Lightning payment, convert between sats and fiat, or check the BTC price before a trade.
GET
https://agent-data-tools.revmesh2074.workers.dev/bitcoin/priceUptimeNot checked yet
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://agent-data-tools.revmesh2074.workers.dev/bitcoin/price?currency=SEK");
console.log(await res.json());Example input
{
"currency": "SEK"
}