85trust / 100

Price

by api.eucompliance.tools in Markets & finance

x402 APIPassing, checked 2 h ago

Crypto spot price that attempts three independent public exchange tickers (Binance, Coinbase, Kraken) and takes the median of the live replies. Every delivered quote, the spread and the timestamp are disclosed. Refuses to answer from fewer than two live sources. Query: symbol (BTC, ETH, SOL, ...). $0.001 per call, signed receipt included.

GET https://api.eucompliance.tools/x402/price

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
212 ms typical, 285 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.eucompliance.tools/x402/price?symbol=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.eucompliance.tools%2Fx402%2Fprice
const res = await pay("https://api.eucompliance.tools/x402/price?symbol=BTC");
console.log(await res.json());

Example input

{
  "symbol": "BTC"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402335 ms$0.001
5 h agoPassed402177 ms$0.001
9 h agoPassed402269 ms$0.001
12 h agoPassed402207 ms$0.001
16 h agoPassed402205 ms$0.001
20 h agoPassed402228 ms$0.001
23 h agoPassed402250 ms$0.001
28 h agoPassed402212 ms$0.001
31 h agoPassed402194 ms$0.001
34 h agoPassed402202 ms$0.001
39 h agoPassed402285 ms$0.001