$---
Subnet API
Endpoints for interacting with Bittensor subnets
GET
/api/v1/subnetsList Subnets
Get a list of all available subnets
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| page | number | No | Page number for pagination |
| limit | number | No | Number of items per page |
Examples
Fetch Subnets
const response = await fetch('https://api.bittensor.com/v1/subnets');
const subnets = await response.json();