API Reference

Public REST endpoints for Minerva Network Data

Rate Limits & Caching

Responses are cached on the server for up to 5 minutes (until the next scrape arrives), so requesting the same endpoint repeatedly returns the same result. No API key is needed for GET requests. Each client may make 100 requests a minute; beyond that the API answers 429 with a Retry-After header.

All timestamps are UTC, as YYYY-MM-DD HH:MM:SS. seeders and leechers are integers and never null. A torrent's name, link and category_group can be null, and torrents the archive does not carry appear as "Unknown External" with size_bytes 0.

GET /v1/api/dashboard/latest

Returns the full metadata block alongside an array of every torrent in the most recent scrape. previous_metadata is null until there are two scrapes.

{ "metadata": { "total_torrents": 1050, "global_seeders": 15402, ... }, "previous_metadata": { "total_torrents": 1048, "global_seeders": 15100, ... }, "torrents": [ { "info_hash": "a1b2c3d4...", "name": "MINERVA - EXAMPLE", "size_bytes": 4123456789, "seeders": 142, "leechers": 5 } ] }

GET /v1/api/dashboard/stats

A lightweight version of latest. Returns only the metadata and previous_metadata blocks without the heavy torrent payload. Ideal for lightweight widgets.

GET /v1/api/dashboard/rank?type={type}

Returns pre-sorted ranking subsets without needing to parse the entire torrent list. Valid types are positive (Most seeds/peers), negative (Least seeds/peers), and low_ratio (Bottom 5 ratio per group). Any other value is treated as positive.

Each torrent carries a numeric ratio of seeders per leecher: 0 when it has no seeders (whatever its leechers), 9999 when it has seeders and no leechers (shown as ∞ on the site), otherwise rounded to two decimals.

GET /v1/api/dashboard/history?days={days}

Returns chronological timeline data of the entire network's health. Used to render graphs. days is optional: default 7, at most 365.

GET /v1/api/dashboard/torrent/{info_hash}?days={days}

Returns the chronological seeder/leecher timeline for a specific torrent. info_hash is the 40-character hex hash from /latest; anything else is refused with 400. days as for /history.