81trust / 100

Bidask BTC USD

by mcp.blocksize.info in Onchain & crypto

x402 APIPassing, checked 11 min ago

Real-time shared bid/ask snapshot data, including crypto pairs and supported equity tickers, from Blocksize Capital.

GET https://mcp.blocksize.info/v1/bidask/BTC-USD

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
570 ms typical, 570 ms slowest 5%
Last check
11 min ago
Next check
in 18 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://mcp.blocksize.info/v1/bidask/BTC-USD"
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%2Fmcp.blocksize.info%2Fv1%2Fbidask%2FBTC-USD
const res = await pay("https://mcp.blocksize.info/v1/bidask/BTC-USD");
console.log(await res.json());

Example input

{}

Example output

{
  "data": {
    "ask": 101,
    "bid": 99,
    "pair": "BTC-USD",
    "source": "blocksize",
    "spread": 2,
    "spread_pct": 2,
    "timestamp": "2020-01-01T00:00:00Z"
  },
  "meta": {
    "example_only": true,
    "provider": "Blocksize Capital"
  },
  "status": "ok"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
11 min agoPassed402570 ms$0.002
3 h agoPassed402622 ms$0.002
9 h agoPassed402562 ms$0.002