16trust / 100

Crypto Convert

by Vextorium in Onchain & crypto

x402 APIFailing, checked 4 h ago

Convert an amount between cryptocurrencies and currencies (0.5 BTC to ETH, 100 USDC to EUR, 1000 EUR to SOL) with live DefiLlama prices and ECB rates.

POST https://api.vextorium.com/v1/crypto-convert

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
0.0%
Response time
- typical, - slowest 5%
Last check
4 h ago: Amount "0.003" is not in atomic token units
Next check
any minute now

How to call it

# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X POST 'https://api.vextorium.com/v1/crypto-convert' \
  -H 'content-type: application/json' \
  --data-raw '{"a":"ETH","amount":0.5,"from":"BTC"}'
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%2Fapi.vextorium.com%2Fv1%2Fcrypto-convert
const res = await pay("https://api.vextorium.com/v1/crypto-convert", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: "{\"a\":\"ETH\",\"amount\":0.5,\"from\":\"BTC\"}",
});
console.log(await res.json());

Example input

{
  "a": "ETH",
  "amount": 0.5,
  "from": "BTC"
}

Example output

{
  "a": "ETH",
  "amount": 0.5,
  "date": "2026-10-02T20:20:20+00:00",
  "from": "BTC",
  "result": 15.8135598412,
  "type": 31.627119682335,
  "value_usd": 42177.2199
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
4 h agoAmount "0.003" is not in atomic token units40278 ms$0.003
9 h agoAmount "0.003" is not in atomic token units40280 ms$0.003
13 h agoAmount "0.003" is not in atomic token units40299 ms$0.003
17 h agoAmount "0.003" is not in atomic token units402281 ms$0.003
21 h agoAmount "0.003" is not in atomic token units40284 ms$0.003
26 h agoAmount "0.003" is not in atomic token units40275 ms$0.003
30 h agoAmount "0.003" is not in atomic token units402258 ms$0.003
33 h agoAmount "0.003" is not in atomic token units40280 ms$0.003
38 h agoAmount "0.003" is not in atomic token units40287 ms$0.003
41 h agoAmount "0.003" is not in atomic token units402137 ms$0.003
46 h agoAmount "0.003" is not in atomic token units40282 ms$0.003
2 days agoAmount "0.003" is not in atomic token units40278 ms$0.003
2 days agoAmount "0.003" is not in atomic token units40282 ms$0.003
2 days agoAmount "0.003" is not in atomic token units40278 ms$0.003
3 days agoAmount "0.003" is not in atomic token units40281 ms$0.003