82trust / 100

Crypto Market

by TBS Crypto & DeFi API in Markets & finance

x402 APIPassing, checked 10 min ago

Crypto market data for AI agents: market capitalization, 24-hour trading volume, 24h percent change, circulating and total supply, and market-cap rank for any coin. Query by Coinpaprika id (btc-bitcoin) or common ticker (btc, eth, sol). One call, USD-denominated, keyless.

GET https://x402.tbs-digital.com/crypto/market

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
169 ms typical, 169 ms slowest 5%
Last check
10 min ago
Next check
in 19 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.tbs-digital.com/crypto/market?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%2Fx402.tbs-digital.com%2Fcrypto%2Fmarket
const res = await pay("https://x402.tbs-digital.com/crypto/market?symbol=btc");
console.log(await res.json());

Example input

{
  "symbol": "btc"
}

Example output

{
  "generated_at": "2026-08-11T12:00:00.000Z",
  "market": {
    "circulating_supply": 19720000,
    "id": "btc-bitcoin",
    "market_cap_usd": 1281000000000,
    "name": "Bitcoin",
    "observed_at": "2026-08-11T12:00:00.000Z",
    "percent_change_24h": 1.24,
    "price_usd": 64980.12,
    "rank": 1,
    "symbol": "BTC",
    "total_supply": 21000000,
    "volume_24h_usd": 25400000000
  },
  "payer": {
    "address": "0x0000000000000000000000000000000000000000",
    "network": "base"
  },
  "request_id": "0b21c0e6-6a3f-4e2a-8b1e-2f9d4c7a1e55",
  "source": "coinpaprika"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
10 min agoPassed402169 ms$0.002
3 h agoPassed402192 ms$0.002
9 h agoPassed40297 ms$0.002