# Bittensor Subnet Pool Metrics by NetUID

> Bittensor Subnet Pool Metrics by NetUID is a paid API for AI agents from api.chainmarket-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-21).

Returns detailed liquidity pool metrics for a single Bittensor subnet identified by netuid, including alpha price in TAO, pool reserves, staked alpha, market cap, and liquidity.

## Facts

- Endpoint: GET https://api.chainmarket-api.workers.dev/api/crypto/tao-subnet?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bittensor-subnet-pool-metrics-by-netuid-81b3f612
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MKE3nI6ShGSDisibx1dkH

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 bittensor-subnet-pool-metrics-by-netuid-81b3f612
```

Example prompt: What are the current pool metrics for Bittensor subnet with netuid 18 — specifically the alpha price in TAO, how much TAO is in the pool, and its market cap?

## When to prefer this

Use this endpoint when you need detailed liquidity pool and token economic metrics for a specific Bittensor subnet identified by its numeric netuid. Prefer this over general crypto price feeds when working specifically with Bittensor subnet alpha tokens and needing pool-level data like staked alpha, TAO reserves, and subnet-specific market cap.

## Known failure modes

- 404 returned for unknown or invalid netuid
- Missing or invalid TAOSTATS_API_KEY results in authentication error
- Network timeout from upstream TAOSTATS API
- Integer out of valid range for netuid parameter

## How this service works

Detailed pool metrics for a single Bittensor subnet by netuid: alpha price in TAO, TAO in pool, total alpha, alpha in pool, staked alpha, market cap, and liquidity. Requires TAOSTATS_API_KEY. Returns 404 for unknown netuid.

## Output

Returns a JSON object with pool metrics for the requested subnet including: alpha price in TAO, amount of TAO in the pool, total alpha supply, alpha currently in the pool, staked alpha amount, market capitalization, and available liquidity. Returns 404 if the netuid does not exist.

## 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",
     "required": [
      "netuid"
     ],
     "properties": {
      "netuid": {
       "type": "integer",
       "minimum": 0,
       "description": "Subnet network UID"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bittensor-subnet-pool-metrics-by-netuid-81b3f612/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.chainmarket-api.workers.dev](https://www.zero.xyz/host/api.chainmarket-api.workers.dev/llms.txt)
