82trust / 100

Tickers Markets

by x402.coinstats.app in Markets & finance

x402 APIPassing, checked 3 h ago

CoinStats ticker market data — live prices across exchanges for a trading pair

GET https://x402.coinstats.app/tickers/markets

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.coinstats.app/tickers/markets?coinId=bitcoin&exchange=binance&fromCoin=BTC&limit=100&onlyVerified=False&page=1&toCoin=USDT"
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%2Fx402.coinstats.app%2Ftickers%2Fmarkets
const res = await pay("https://x402.coinstats.app/tickers/markets?coinId=bitcoin&exchange=binance&fromCoin=BTC&limit=100&onlyVerified=False&page=1&toCoin=USDT");
console.log(await res.json());

Example input

{
  "coinId": "bitcoin",
  "exchange": "binance",
  "fromCoin": "BTC",
  "limit": "100",
  "onlyVerified": "False",
  "page": "1",
  "toCoin": "USDT"
}

Example output

[
  {
    "meta": {
      "hasNextPage": true,
      "hasPreviousPage": false,
      "itemCount": 57072,
      "limit": 20,
      "page": 1,
      "pageCount": 2854
    },
    "result": {
      "_created_at": "2023-04-13T07:34:24.442Z",
      "_updated_at": "2025-08-27T10:56:44.779Z",
      "exchange": "BinanceFutures",
      "from": "BTC",
      "pair": "BTC/USD",
      "pairPrice": 111014.4,
      "pairVolume": 17724613,
      "price": 111014.4,
      "to": "USD",
      "volume": 1967687277427.2
    }
  }
]

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed40230 ms$0.001
8 h agoPassed40215 ms$0.001