Skip to content
Fourohtwo

api.sitecheck-api.workers.dev/api/crypto/convert

Convert an amount between a crypto and a fiat currency, or between two crypto assets, at the current spot price: the rate, the converted amount, the pair path used (direct, or through USD) and the time of the rate. Spot prices from Coinbase, Kraken as the fallback. A spot rate, not an executable quote: no fees or slippage. Fiat to fiat is refused; use the FX tool for that. Information only, not fi

BaseSolanaArcPolygonArbitrumWorld Chain+1Answering
GEThttps://api.sitecheck-api.workers.dev/api/crypto/convert

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

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.sitecheck-api.workers.dev/api/crypto/convert?amount=1&from=BTC&to=EUR");
console.log(await res.json());

Example input

{
  "amount": "1",
  "from": "BTC",
  "to": "EUR"
}

More from SiteCheckProvider status