# Bittensor Subnet Registration API

> Bittensor Subnet Registration API is a paid API for AI agents from golf-evm-math.x402-evm-math.workers.dev, paid per call via x402, $0.008/call, status unknown (last checked 2026-10-28).

Returns registration cost (burn in TAO), free slot counts, prune risk, and incentive thresholds for all Bittensor subnets, refreshed every 30 minutes.

## Facts

- Endpoint: GET https://golf-evm-math.x402-evm-math.workers.dev/bittensor/subnets?utm_source=zero.xyz
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bittensor-subnet-registration-api-6f5877bf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_W7ZVUQy5V6J-DZIZlBnYP

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-registration-api-6f5877bf
```

Example prompt: Pull the current registration burn costs and prune risk for all Bittensor subnets — I want to know which ones have free slots and what incentive I need to survive on each.

## When to prefer this

Use this endpoint when you need a comprehensive, low-latency snapshot of registration economics across all Bittensor subnets simultaneously — burn costs, free slots, and prune thresholds in one call. Prefer this over on-chain queries when you don't need real-time precision and want to avoid RPC overhead. Ideal for agents making registration decisions, monitoring subnet health, or comparing subnet economics programmatically.

## Known failure modes

- Stale data: cache may be up to 30 minutes old, real-time registration windows may differ
- Network outage: if Bittensor Finney network is unreachable, endpoint may return error or empty subnet list
- Payment failure: x402 payment of $0.015 USDC not fulfilled results in 402 response
- Missing subnet: newly created subnets may not appear until next cache refresh
- Rate limiting: excessive calls may be throttled by the Cloudflare Worker

## How this service works

Exact EVM address, calldata, Uniswap V2/V3 and impermanent-loss math. Pay per call in USDC on Base via x402.

## Output

Returns a JSON object with the network name (bittensor-finney), an array of subnet objects each containing: netuid, total UIDs, burn cost in TAO, max UIDs, number of protected slots, prune bar incentive threshold, blocks until next unprotect, and median miner incentive. Also includes age_seconds indicating how old the cached data is (refreshed every 30 minutes).

## 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": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "network": "bittensor-finney",
  "subnets": [
   {
    "uids": 256,
    "netuid": 1,
    "burn_tao": 0.0036,
    "max_uids": 256,
    "protected": 21,
    "prune_bar_incentive": 0,
    "next_unprotect_blocks": 843,
    "median_miner_incentive": 0
   }
  ],
  "age_seconds": 600
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bittensor-subnet-registration-api-6f5877bf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from golf-evm-math.x402-evm-math.workers.dev](https://www.zero.xyz/host/golf-evm-math.x402-evm-math.workers.dev/llms.txt)
