Skip to main content
API referenceRegistry

Compare

Last updated

GET
/api/v1/compare

Compare several subnets side by side across the registry structure (completeness + surface counts), the live economics tier, and the live per-subnet health rollup — one call, requested order. netuids is a required comma-separated list of 1-128 subnet ids; dimensions selects a subset of structure,economics,health (default all). Composed live (no static file); for choosing between subnets without N separate detail/economics/health fetches.

Query Parameters

netuids?string
Match^\d{1,5}(,\d{1,5}){0,127}$
Lengthlength <= 767
dimensions?string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/compare"
{  "data": {    "dimensions": [      "example"    ],    "observed_at": "2026-06-01T00:00:00.000Z",    "requested_netuids": [      7    ],    "schema_version": 1,    "source": "live-cron-prober",    "subnets": [      {        "found": false,        "name": "Example Subnet",        "netuid": 7,        "slug": "example-subnet"      }    ]  },  "meta": {    "artifact_path": "example",    "cache": "short",    "contract_version": "2026-06-29.1",    "generated_at": "2026-06-01T00:00:00.000Z",    "pagination": {      "collection": "example",      "cursor": 1,      "limit": 1,      "next_cursor": 1,      "order": "asc",      "returned": 1,      "sort": "example",      "total": 1    },    "published_at": "2026-06-01T00:00:00.000Z",    "source": "live-cron-prober",    "stale_contract": {      "built_under": "example",      "live": "example"    }  },  "ok": true,  "schema_version": 1}