# TokenGuard Crypto Category Market Data

> TokenGuard Crypto Category Market Data is a paid API for AI agents from eltociear-tokenguard.hf.space, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Returns a list of cryptocurrency market categories with aggregate market cap, 24h volume, and price change metrics

## Facts

- Endpoint: POST https://eltociear-tokenguard.hf.space/categories
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tokenguard-crypto-category-market-data-b7ea1d5c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nds0BTmJBBYpJ8yhQoNZg

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 tokenguard-crypto-category-market-data-b7ea1d5c -d '<json body>'
```

Example prompt: What crypto market categories exist right now and which ones have the biggest market cap and 24-hour volume — like smart contract platforms, DeFi, layer 2s?

## When to prefer this

Use this endpoint when you need a high-level overview of crypto market sectors and their aggregate performance metrics, rather than data on individual tokens. Ideal for portfolio sector analysis, market trend dashboards, or determining which crypto verticals are gaining or losing momentum. Prefer over individual token endpoints when the user's question is sector- or category-level.

## Known failure modes

- Payment failure via x402 micropayment if USDC balance is insufficient
- Rate limiting or quota exceeded returning 429
- Service unavailable on HuggingFace Spaces cold start returning 503
- Malformed POST body returning 400 validation error

## How this service works

Top coin categories ranked by market cap: DeFi, NFTs, L1, L2, gaming, etc. 24h change, volume, top 3 coins per category (CoinGecko, free, no key).

## Output

A JSON object containing a count of categories and an array of category objects, each with an ID, human-readable name, total market cap in USD, 24h trading volume in USD, and 24h market cap change percentage.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "integer",
   "description": "Max categories to return 1-50 (default 10)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 10,
  "categories": [
   {
    "id": "smart-contract-platform",
    "name": "Smart Contract Platform",
    "market_cap_usd": 1700000000000,
    "volume_24h_usd": 50000000000,
    "market_cap_change_24h_pct": 1.5
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tokenguard-crypto-category-market-data-b7ea1d5c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from eltociear-tokenguard.hf.space](https://www.zero.xyz/host/eltociear-tokenguard.hf.space/llms.txt)
