Skip to content

Every on-chain identity, in one response

GET
/identities/

Every coldkey with an on-chain identity, keyed by address: its name, links and logo, plus the subnet it owns and its validator take when it has them. access_map maps each hotkey of those coldkeys to its coldkey, so a hotkey resolves to an identity. Unpaginated.

Rate limit: 300 requests per minute per IP (scope explore).

  • None

Every identity keyed by coldkey, with the index from hotkey to coldkey.

Media typeapplication/json

The whole identity table in one response, keyed by coldkey, plus the hotkey index.

object
results
required

Keyed by coldkey SS58.

object
key
additional properties
object
ss58_address
required
string
name
required

Never null here: rows with no name are filtered out.

string
image
required

Absolute URL for a curated logo, else the raw on-chain value.

string
nullable
image_thumb
required

Absolute URL of image fit within 64 px, as WebP, for small renderings; null when image is not a raster logo Taoswap hosts (an SVG, an on-chain URL, empty) or its thumbnail is not written yet.

string
nullable
url
required

Website, as published on chain; empty or null when unset.

string
nullable
github
required

Code repository, as published on chain; empty or null when unset.

string
nullable
discord
required

Discord contact, as published on chain; empty or null when unset.

string
nullable
x_id
required

The X (Twitter) handle, without @. Curated by Taoswap, not on chain.

string
nullable
subnet

Absent when the coldkey owns no subnet.

object
id
required

Netuid.

integer
name
required

Null when the subnet has no name.

string
nullable
symbol
required

The subnet token’s symbol.

string
price
required

In TAO per alpha. The spot price of the subnet token.

number format: double
emission_value
required

In TAO per block. What the subnet receives each block: the pool injection plus the chain’s alpha buys.

number format: double
registration_cost
required

In TAO. The current burn to register a neuron on this subnet.

number format: double
blocks_since_epoch
required

In blocks. Blocks since the subnet’s last epoch, the chain’s count stopping at tempo plus one.

integer
tempo
required

In blocks. Blocks between two epochs.

integer
modality
required

Legacy field, always 0.

integer
validator

Absent when the coldkey owns no validator hotkey.

object
take
required

A fraction from 0 to 1, not a percent: the delegate take of hotkeys, the highest when they differ.

number format: double
hotkeys
required

The coldkey’s validator hotkeys, sorted. Its other hotkeys resolve through access_map.

Array<string>
access_map
required

Every coldkey mapped to itself, and every hotkey mapped to its owning coldkey. Lets a client resolve either key to a results row.

object
key
additional properties
string

Example generated

{
"results": {
"additionalProperty": {
"ss58_address": "example",
"name": "example",
"image": "example",
"image_thumb": "example",
"url": "example",
"github": "example",
"discord": "example",
"x_id": "example",
"subnet": {
"id": 1,
"name": "example",
"symbol": "example",
"price": 1,
"emission_value": 1,
"registration_cost": 1,
"blocks_since_epoch": 1,
"tempo": 1,
"modality": 1
},
"validator": {
"take": 1,
"hotkeys": [
"example"
]
}
}
},
"access_map": {
"additionalProperty": "example"
}
}

Rate limit exceeded (300/minute, per IP). Retry-After carries the seconds to wait.

Media typeapplication/json

The error envelope every 4xx and 5xx response carries. The introduction lists the code values.

object
error
required

Always true. Lets a client branch without reading the status code.

boolean
code
required

Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.

string
message
required

One human-readable sentence.

string
detail
required

Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.

nullable

Examples

ExampleRATELIMITED

RATE_LIMITED

{
"error": true,
"code": "RATE_LIMITED",
"message": "Request was throttled",
"detail": {
"retry_after": 12
}
}
Retry-After
integer

Seconds before the next request is accepted.

QUERY_TIMEOUT: the query exceeded its budget. detail carries budget_ms, elapsed_ms, path and query.

Media typeapplication/json

The error envelope every 4xx and 5xx response carries. The introduction lists the code values.

object
error
required

Always true. Lets a client branch without reading the status code.

boolean
code
required

Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.

string
message
required

One human-readable sentence.

string
detail
required

Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.

nullable

Examples

ExampleQUERYTIMEOUT

QUERY_TIMEOUT

{
"error": true,
"code": "QUERY_TIMEOUT",
"message": "query exceeded the 12000 ms budget; retry, or narrow the requested range",
"detail": {
"budget_ms": 12000,
"elapsed_ms": 12004,
"path": "/trades/summary/",
"query": "coldkey=5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY&resolution=day"
}
}