# SperaxOS Get Category Tokens

> SperaxOS Get Category Tokens is a paid API for AI agents from chat.sperax.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-28).

Returns a list of crypto tokens belonging to a specified category (e.g. layer-1, DeFi, meme, AI tokens)

## Facts

- Endpoint: POST https://chat.sperax.io/api/x402/tools/token-categories/getCategoryTokens?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/speraxos-get-category-tokens-34ce0e0f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Du2yJopfwNkEM-oIvwa7A

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 speraxos-get-category-tokens-34ce0e0f -d '<json body>'
```

Example prompt: Show me the top 20 tokens in the decentralized-finance-defi category on SperaxOS.

## When to prefer this

Use this endpoint when you need to enumerate or browse tokens within a specific crypto category (e.g. layer-1, DeFi, meme, AI) and want a curated, categorized list rather than a generic token search. Prefer this over general token search endpoints when the user knows the category slug and wants to explore tokens within that domain.

## Known failure modes

- Invalid or unrecognized categoryId slug returns empty results or an error
- Missing categoryId parameter may return an error or default category
- Limit exceeding allowed maximum may be clamped or rejected
- Payment failure (insufficient USDC) blocks the request with a 402 response
- Network timeout if the on-chain data source is slow

## How this service works

SperaxOS is an AI-powered DeFi operating system — track portfolios, execute swaps, analyze on-chain data, and collaborate with intelligent agents that manage your crypto workflow.

## Output

A list of crypto tokens belonging to the specified category, including token names, symbols, and relevant metadata, up to the requested limit.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "number",
   "default": 20,
   "description": "Max tokens to return (default 20)"
  },
  "categoryId": {
   "type": "string",
   "description": "Category slug (e.g. \"layer-1\", \"decentralized-finance-defi\", \"meme-token\", \"artificial-intelligence\")"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/speraxos-get-category-tokens-34ce0e0f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chat.sperax.io](https://www.zero.xyz/host/chat.sperax.io/llms.txt)
