SUBNEτMETRICS
The Subnet Metrics API

Subnet data.
In your code.

Burns, history and the evidence behind them. Bring the data behind Explore into your own research and tools.

Public summaries and seven-day history are free. No key required.

One API plan

$99/ month

10,000 requests per billing month

90 / 365-day history and CSV exports

3 revocable keys · no automatic overages

Read-only accessDaily collectionJSON + CSVSources & method ↗
01 / Start with a request

A few lines to get going.

Use a public endpoint to explore the response. Add a paid API key when your integration needs 90-day or one-year history, or CSV downloads.

No authentication needed
curl 'https://subnetmetrics.com/api/v1/subnets/64/history?days=7'

Go further with your API key

Create a key in your API account, store it in an environment variable, and send it in the authorization header.

Authenticated · 90-day history
curl 'https://subnetmetrics.com/api/v1/subnets/64/history?days=90' \
  -H "Authorization: Bearer $SUBNET_METRICS_API_KEY"

Keys grant read access only. They cannot manage billing, watchlists or other keys. Existing daily-feed browser sessions retain their history and CSV access.

02 / The endpoints

One dataset. A few useful views.

GET/api/v1/subnetsPublic

Latest subnet names, 24h/7d/30d burn totals in alpha and TAO, activity changes and dated published claims.

GET/api/v1/subnets/{netuid}Public

The latest summary for one subnet, including its published claim when available.

GET/api/v1/subnets/{netuid}/historyJSON

Daily alpha, burn counts and TAO at each day’s panel price. Choose ?days=7, 90 or 365. Seven days are public; longer windows require paid access.

GET/api/v1/subnets/{netuid}/history.csvPaid

The same daily history as a CSV download. Every window length requires paid access.

03 / Read the context, too

Numbers you can inspect.

A burn establishes an on-chain action. It does not establish revenue funding, a preceding market purchase or team attribution. Dated published buyback claims are not verified revenue.

as_of
The end of the calculation window.
burns_checked_at
The most recent completed collection, or null when unknown.
freshness
current, stale or unknown. Collection runs daily; this is not a live transaction stream.
tao
Summary totals use the latest panel price. Daily history uses each day’s panel price. Neither is an execution price or revenue figure.
null ≠ 0
Missing valuations and percentage changes stay null. Zero observed alpha means no burns in our index; it does not certify complete historical coverage.

Today’s UTC day is partial. History follows the subnet number, which may have been reused after deregistration. Read the full method ↗

04 / A predictable allowance

Usage, without surprise overages.

The API plan is $99 per month, separate from the daily feed. It includes 10,000 successful requests per Stripe billing month, shared across up to 3 active keys. Failed requests do not consume the allowance.

A hard cap. No automatic extra charges.

At the cap, requests return 429 until the next paid billing period. Cancel anytime; access continues until the paid period ends. Revoked keys stop working immediately.

Authenticated responses include these usage headers:

X-RateLimit-Limit
The billing-period request allowance.
X-RateLimit-Remaining
Successful requests remaining in the period.
X-RateLimit-Reset
The reset time as a UTC Unix timestamp.

The plan covers internal use in your own tools. Contact us for redistribution or a different allowance. No service-level commitment is included.

05 / Keep your integration in sync

Refresh daily. Handle gaps.

Collection runs daily and summary responses are cached for five minutes. Poll no more often than every five minutes and cache results. Check freshness before treating a missing observation as a change in activity.

Errors use {"detail":"…"}.

401Missing CSV subscription or invalid API key
403Restricted history
404Unknown subnet
422Invalid request parameter
429Billing-period allowance exhausted
503Source data temporarily unavailable

Download the OpenAPI specification ↗

Build on what you can inspect

Your next tool starts here.

Use the public data, or unlock a year of history for your own integration.