83trust / 100

Crypto Bundle

by TBS Crypto & DeFi API in Onchain & crypto

x402 APIPassing, checked 4 h ago

Complete crypto and DeFi snapshot in ONE call for AI agents: spot prices for your tokens, full market data (market cap, 24h volume, supply, 24h change) for the lead token, top-10 chains by TVL, and the best yield pools by APY. Prices, market, TVL and yields together — the most complete crypto+DeFi call per request.

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

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.tbs-digital.com/crypto/bundle?symbols=btc%2Ceth"
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.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.tbs-digital.com%2Fcrypto%2Fbundle
const res = await pay("https://x402.tbs-digital.com/crypto/bundle?symbols=btc%2Ceth");
console.log(await res.json());

Example input

{
  "symbols": "btc,eth"
}

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"
  },
  "prices": [
    {
      "coin": "coingecko:ethereum",
      "confidence": 0.99,
      "observed_at": "2026-08-11T12:00:00.000Z",
      "price_usd": 3542.18,
      "symbol": "ETH"
    }
  ],
  "request_id": "0b21c0e6-6a3f-4e2a-8b1e-2f9d4c7a1e55",
  "source": "defillama+coinpaprika",
  "top_chains": [
    {
      "name": "Ethereum",
      "tvl_usd": 52100000000
    }
  ],
  "top_yields": [
    {
      "apy": 5.21,
      "apy_base": 5.02,
      "chain": "Ethereum",
      "project": "aave-v3",
      "stablecoin": true,
      "symbol": "USDC",
      "tvl_usd": 452000000
    }
  ]
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402232 ms$0.001