# TBS Crypto & DeFi API — Market Data

> TBS Crypto & DeFi API — Market Data is a paid API for AI agents from x402.tbs-digital.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-10).

Returns USD-denominated market capitalization, 24h trading volume, 24h percent change, circulating and total supply, and market-cap rank for any cryptocurrency by Coinpaprika ID or ticker symbol.

## Facts

- Endpoint: GET https://x402.tbs-digital.com/crypto/market?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tbs-crypto-defi-api-market-data-942f3702
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_58uHJHHdO4ceFm7aBf6ey

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tbs-crypto-defi-api-market-data-942f3702
```

Example prompt: What's the current market cap, 24-hour trading volume, and percent change for Ethereum right now — just pull the full market stats for ETH?

## When to prefer this

Choose this endpoint when you need a single, comprehensive market data snapshot for one coin — covering cap, volume, supply, rank, and 24h change — in one keyless call at $0.002 per query. Prefer it over spot-price-only endpoints when you need more than just a price, and over full DeFi snapshot endpoints when you only need market-level (not DeFi pool) data. Ideal for lightweight agents, trading bots, and research tools that need fast, USD-denominated fundamentals without API key management.

## Known failure modes

- Unknown coin ID or ticker returns an error or empty result
- Ambiguous ticker (e.g. multiple coins sharing a symbol) may return unexpected results — prefer Coinpaprika ID for precision
- Stale data if upstream Coinpaprika feed is delayed
- Payment failure via x402 protocol blocks the request
- Missing required query parameter (no id or symbol provided) returns a validation error

## How this service works

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.

## Output

A JSON object containing USD-denominated market data for the queried coin, including market capitalization, 24-hour trading volume, 24-hour percent price change, circulating supply, total supply, and market-cap rank, along with metadata such as request ID, generation timestamp, and payer network info.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "id": {
       "type": "string",
       "description": "Coinpaprika id, e.g. btc-bitcoin"
      },
      "symbol": {
       "type": "string",
       "description": "Common ticker, e.g. btc, eth, sol"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "payer": {
       "type": "object",
       "properties": {
        "address": {
         "type": "string",
         "nullable": true
        },
        "network": {
         "type": "string"
        }
       }
      },
      "market": {
       "type": "object"
      },
      "source": {
       "type": "string"
      },
      "request_id": {
       "type": "string"
      },
      "generated_at": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tbs-crypto-defi-api-market-data-942f3702/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.tbs-digital.com](https://www.zero.xyz/host/x402.tbs-digital.com/llms.txt)
