23trust / 100

Convert Crypto

by Aayat AI in Onchain & crypto

x402 APIFailing, checked 2 h ago

Convert between crypto and fiat at live rates: BTC, ETH, SOL, USDC and hundreds more against USD, GBP, EUR and 150+ currencies, either way, or crypto to crypto. Pass ?amount=0.5&from=BTC&to=GBP. Rate from Coinbase, cross-checked against Kraken's last trade where Kraken lists the pair, with the gap shown.

GET https://aayatai.com/convert/crypto

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
6.7%
Response time
859 ms typical, 859 ms slowest 5%
Last check
2 h ago: Expected HTTP 402, got 410
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://aayatai.com/convert/crypto?amount=0.5&from=BTC&to=GBP"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Faayatai.com%2Fconvert%2Fcrypto
const res = await pay("https://aayatai.com/convert/crypto?amount=0.5&from=BTC&to=GBP");
console.log(await res.json());

Example input

{
  "amount": 0.5,
  "from": "BTC",
  "to": "GBP"
}

Example output

{
  "amount": 0.5,
  "at": "2026-09-29T09:10:00Z",
  "crossCheck": {
    "differencePct": 0,
    "rate": 63295.1,
    "source": "Kraken last trade"
  },
  "from": "BTC",
  "inverseRate": 0.000015798762,
  "note": "Indicative mid-market rate, not a quote you can trade at; exchanges add spreads and fees.",
  "rate": 63296.1,
  "result": 31648.05,
  "sources": [
    "Coinbase exchange rates",
    "Kraken"
  ],
  "to": "GBP"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoExpected HTTP 402, got 41041042 ms-
6 h agoExpected HTTP 402, got 410410256 ms-
11 h agoExpected HTTP 402, got 41041056 ms-
15 h agoExpected HTTP 402, got 410410156 ms-
19 h agoExpected HTTP 402, got 410410205 ms-
23 h agoExpected HTTP 402, got 41041031 ms-
27 h agoExpected HTTP 402, got 41041034 ms-
31 h agoExpected HTTP 402, got 410410170 ms-
35 h agoExpected HTTP 402, got 410410135 ms-
40 h agoExpected HTTP 402, got 41041070 ms-
43 h agoExpected HTTP 402, got 410410134 ms-
2 days agoExpected HTTP 402, got 410410110 ms-
2 days agoExpected HTTP 402, got 410410165 ms-
2 days agoExpected HTTP 402, got 410410339 ms-
2 days agoPassed402859 ms$0.001