# CoinGecko Categories via Locus x402

> CoinGecko Categories via Locus x402 is a paid API for AI agents from coingecko.x402.paywithlocus.com, paid per call via x402, $0.06/call, status unknown (last checked 2026-09-15).

Returns a list of cryptocurrency market categories with market cap and performance data, sortable by various criteria.

## Facts

- Endpoint: POST https://coingecko.x402.paywithlocus.com/coingecko/categories
- Price: $0.06/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coingecko-categories-via-locus-x402-97aa985b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ccb_aIXiTLLd4HPogK0il

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 coingecko-categories-via-locus-x402-97aa985b -d '<json body>'
```

Example prompt: Can you pull the full list of CoinGecko cryptocurrency categories sorted by market cap descending so I can see which sectors are biggest right now?

## When to prefer this

Choose this endpoint when you need a structured, sortable list of all cryptocurrency market categories with associated market cap and performance data, especially in pay-per-call agent workflows using the x402 micropayment protocol. Prefer this over scraping CoinGecko directly or using a subscription API when you need occasional, on-demand category data without a monthly commitment.

## Known failure modes

- Invalid sort order string returns error or default ordering
- Payment failure if USDC balance is insufficient for the $0.06 per-call fee
- Rate limiting or timeout from the upstream CoinGecko API
- Empty or malformed response if CoinGecko data is temporarily unavailable

## How this service works

Cryptocurrency market data — prices, charts, market cap, exchanges, trending coins, global stats, NFTs, derivatives, and on-chain data.

## Output

Returns a JSON array of cryptocurrency categories, each including category id, name, market cap, market cap change percentage, top coin thumbnails, and trading volume — wrapped in a payment-confirmed response envelope with success status and settlement details.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "order": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "payment": {
   "scheme": "exact",
   "settledUsdc": "0.001000",
   "authorizedMaxUsdc": "0.001000"
  },
  "request": {
   "id": "00000000-0000-4000-8000-000000000000",
   "statusUrl": "/requests/00000000-0000-4000-8000-000000000000"
  },
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coingecko-categories-via-locus-x402-97aa985b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coingecko.x402.paywithlocus.com](https://www.zero.xyz/host/coingecko.x402.paywithlocus.com/llms.txt)
