> ## Documentation Index
> Fetch the complete documentation index at: https://docs.darkbloom.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Network stats — /v1/stats, /v1/leaderboard

> Public endpoints for Darkbloom network statistics. No auth required. Returns active providers, token totals, leaderboard rankings, and network-wide totals.

These endpoints expose public, read-only statistics about the Darkbloom network. No authentication is required. They power the network dashboard on [console.darkbloom.dev](https://console.darkbloom.dev) and are suitable for external monitoring or status pages.

## GET /v1/stats

Returns aggregate statistics for the attested, trusted public fleet: hardware totals, token counts, provider rows, model counts, earnings and a time series. The core body refreshes every 30 seconds and a successful body is retained for up to 5 minutes during a refresh failure; a failed read with no unexpired success returns `503 service_unavailable`. `snapshot_at` is the UTC source observation time.

### Response

**snapshot\_at** `string`

UTC source observation time (RFC 3339 with nanoseconds).

**total\_requests** `integer`

Cumulative number of inference requests served across the network lifetime.

**total\_prompt\_tokens** `integer`

Cumulative input tokens consumed across all requests.

**total\_completion\_tokens** `integer`

Cumulative output tokens generated across all requests.

**total\_tokens** `integer`

Sum of prompt and completion tokens.

**last\_24h\_requests** `integer`

Requests in the last 24 hours. `last_24h_prompt_tokens`, `last_24h_completion_tokens` and `last_24h_total_tokens` accompany it.

**verification\_counts** `object`

Public-fleet verification counts: `connections`, `authorized`, `app_attest`, `legacy` and `overlap`.

**avg\_tokens\_per\_request** `number`

Average token count per request.

**active\_providers** `integer`

Number of providers currently connected.

**total\_gpu\_cores** `integer`

Total GPU cores across all connected providers.

**total\_cpu\_cores** `integer`

Total CPU cores across all connected providers.

**total\_memory\_gb** `integer`

Total unified memory in GB across all connected providers.

**total\_bandwidth\_gbs** `number`

Total memory bandwidth in GB/s across all connected providers.

**providers** `object[]`

Array of per-provider hardware and stats snapshots.

**provider fields**

**providers\[].id** `string`

Internal provider identifier.

**providers\[].chip** `string`

Apple Silicon chip name, e.g. `"Apple M3 Max"`.

**providers\[].chip\_family** `string`

Chip family, e.g. `"M3"`.

**providers\[].memory\_gb** `integer`

Unified memory size in GB.

**providers\[].gpu\_cores** `integer`

GPU core count.

**providers\[].status** `string`

Provider status. `"online"` when available for requests.

**providers\[].trust\_level** `string`

Legacy trust level: `"none"`, `"self_signed"` or `"hardware"`. Read the row's `verification` object for the serving method.

**providers\[].decode\_tps** `number`

Most recently observed decode throughput in tokens per second.

**providers\[].requests\_served** `integer`

Requests served by this provider in the current session.

**providers\[].tokens\_generated** `integer`

Tokens generated by this provider in the current session.

**providers\[].models** `string[]`

Model IDs this provider is serving.

**providers\[].current\_model** `string`

The model currently loaded on this provider.

**models** `object[]`

Aggregated per-model provider counts.

**model fields**

**models\[].id** `string`

Model ID.

**models\[].providers** `integer`

Number of providers currently serving this model.

**time\_series** `object[]`

Per-minute request and token counts for the last 30 minutes.

**time series fields**

**time\_series\[].timestamp** `string`

ISO 8601 UTC timestamp for the minute bucket.

**time\_series\[].requests** `integer`

Requests completed in this minute.

**time\_series\[].prompt\_tokens** `integer`

Input tokens consumed in this minute.

**time\_series\[].completion\_tokens** `integer`

Output tokens generated in this minute.

**time\_series\[].total\_tokens** `integer`

Total tokens in this minute.

***

## GET /v1/leaderboard

Returns up to the top 200 providers ranked by earnings, tokens generated, or jobs completed. Provider identities are pseudonymized; raw account IDs are never exposed. Cached for 5 minutes per metric and canonical window. After a successful fill, a later failure serves the last ranking with its own `updated_at`; with no success yet it returns `503 service_unavailable` with `Retry-After`.

### Query parameters

**metric** `string` (default: earnings)

The ranking metric. One of `"earnings"`, `"tokens"`, or `"jobs"`.

**window** `string` (default: all)

The time window for rankings. One of `"24h"`, `"7d"`, `"30d"`, or `"all"`.

**limit** `integer` (default: 50)

Maximum number of entries to return. Between 1 and 200.

### Response

**metric** `string`

The metric used for ranking.

**window** `string`

The time window used.

**entries** `object[]`

Ranked list of providers.

**entry fields**

**entries\[].rank** `integer`

Position in the leaderboard (1-indexed).

**entries\[].pseudonym** `string`

Pseudonymized provider identifier derived deterministically from the account ID.

**entries\[].earnings\_micro\_usd** `integer`

Total earnings in micro-USD for the selected window.

**entries\[].tokens** `integer`

Total tokens generated for the selected window.

**entries\[].jobs** `integer`

Total inference jobs completed for the selected window.

**updated\_at** `string`

ISO 8601 timestamp of when this response was generated.

***

## GET /v1/network/totals

Returns aggregate network metrics (earnings, tokens, jobs, active accounts) for a given time window. Refreshed every 5 minutes and cached for 15 minutes; a failed refresh serves the last success with its own `updated_at`; `503 service_unavailable` only with no success yet.

### Query parameters

**window** `string` (default: all)

The time window. One of `"24h"`, `"7d"`, `"30d"`, or `"all"`.

### Response

**window** `string`

The time window used.

**earnings\_micro\_usd** `integer`

Total provider earnings in micro-USD for the window.

**tokens** `integer`

Total tokens generated for the window.

**jobs** `integer`

Total inference jobs completed for the window.

**active\_accounts** `integer`

Number of distinct accounts active in the window.

**updated\_at** `string`

ISO 8601 timestamp of when this response was generated.

## Examples

```bash GET /v1/stats theme={null}
curl https://api.darkbloom.dev/v1/stats
```

```bash GET /v1/leaderboard theme={null}
curl "https://api.darkbloom.dev/v1/leaderboard?metric=earnings&window=7d&limit=10"
```

```bash GET /v1/network/totals theme={null}
curl "https://api.darkbloom.dev/v1/network/totals?window=24h"
```

```bash GET /v1/network/models theme={null}
curl "https://api.darkbloom.dev/v1/network/models?window=24h"
```

```bash GET /v1/network/series theme={null}
curl "https://api.darkbloom.dev/v1/network/series?window=24h"
```

### Example /v1/stats response

```json theme={null}
{
  "snapshot_at": "2026-11-16T15:00:00.123456789Z",
  "total_requests": 142893,
  "total_prompt_tokens": 89234120,
  "total_completion_tokens": 31047880,
  "total_tokens": 120282000,
  "avg_tokens_per_request": 841.7,
  "active_providers": 12,
  "total_gpu_cores": 480,
  "total_cpu_cores": 192,
  "total_memory_gb": 768,
  "total_bandwidth_gbs": 9828.0,
  "providers": [...],
  "models": [
    {"id": "gemma-4-26b", "providers": 4},
    {"id": "qwen3.5-35b-a3b", "providers": 5}
  ],
  "time_series": [...],
  "model_earnings": [...],
  "network_utilization": {...}
}
```

### Example /v1/leaderboard response

```json theme={null}
{
  "metric": "earnings",
  "window": "7d",
  "entries": [
    {
      "rank": 1,
      "pseudonym": "SwiftFalcon",
      "earnings_micro_usd": 8420000,
      "tokens": 91234567,
      "jobs": 4821
    },
    {
      "rank": 2,
      "pseudonym": "IronHawk",
      "earnings_micro_usd": 6150000,
      "tokens": 67012345,
      "jobs": 3640
    }
  ],
  "updated_at": "2026-11-16T15:00:00Z"
}
```

### Example /v1/network/totals response

```json theme={null}
{
  "window": "24h",
  "earnings_micro_usd": 12480000,
  "tokens": 148203450,
  "jobs": 7923,
  "active_accounts": 38,
  "updated_at": "2026-11-16T15:01:00Z"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.