Open data · v1 · JSON
Statistics API Documentation
Programmatic access to Minecraft server statistics. No key needed; read-only and rate-limited.
Endpoints
| GET | Description | Parameters |
|---|---|---|
| /api/v1/istatistikler | Live summary: server and player totals, votes, platform, game mode, version and software breakdown. | — |
| /api/v1/istatistikler/gecmis | Historical series (avg./max players, active and listed servers, platform) + daily votes, new servers and peaks. | ?aralik=24s|7g|30g|90g|tum or ?baslangic=YYYY-MM-DD&bitis=YYYY-MM-DD (up to 366 days) · page, per_page (up to 2000) |
| /api/v1/istatistikler/kategoriler | Per game mode: servers, active, players, average, daily/monthly votes, activity and 7-day change. | — |
| /api/v1/sunucular/{slug} | A single server's public status: online, players, version, addresses, today's/monthly votes. CORS enabled (for widgets and server sites), 60 s cache. | slug: the address on the server page |
| /api/v1/istatistikler/siralamalar | Organic rankings (players, votes today/week/month, growth, uptime, new, game mode leaders). | ?liste=oyuncu|oy-bugun|oy-hafta|oy-ay|buyume|kayip|erisilebilirlik|yeni|kategori · page, per_page when a list is chosen |
Response format
Every response contains meta and data ; paginated endpoints also return pagination (page, per_page, total, last_page). meta contains the data update time (updated_at, ISO 8601, UTC+3), a scope description, methodology, source and license links.
curl -s https://www.minecraftlibrary.com/api/v1/istatistikler
{
"meta": { "source": "MinecraftTürkSunucuları — Türkiye Minecraft Sunucu İstatistikleri",
"source_url": "https://www.minecraftlibrary.com/en/statistics", "methodology_url": "https://www.minecraftlibrary.com/en/statistics/methodology",
"license": "CC BY 4.0", "updated_at": "2026-…T…+03:00", "coverage": "…" },
"data": { "servers": { "total": …, "active": …, "offline": …, "unqueried": …, "stale": …, "activity_rate": … },
"players": { "online_reported": …, "capacity": …, "peak_24h": …, "peak_all_time": … },
"votes": { "today": …, "week": …, "month": … },
"platforms": { "java_only": …, "bedrock_only": …, "java_and_bedrock": … },
"game_modes": [ … ], "versions": { … } }
}
Values not yet measured return null (e.g. while peak data is being collected); unknown values are never estimated.
Cache, ETag and rate limit
- Responses may be cached for up to 60 s (
Cache-Control: public, max-age=60). Data is cached server-side for 1–10 min. - Every response includes an
ETagheader.If-None-Match— if you send it and the data hasn't changed, a bodiless304is returned. - Rate limit: 60 requests per minute and 1000 per hour per IP. When exceeded,
429andRetry-Afteris returned. Please don't poll more often than every 5 minutes; data is aggregated every 5 minutes anyway. - CORS is enabled (
Access-Control-Allow-Origin: *); you can use it directly from the browser.
Privacy
The API returns only aggregated measurements and public listing information (server name, page URL). User IP addresses, emails, voter player names, tokens or private server settings such as Votifier never appear in any endpoint.
Terms of use and attribution
Aggregated statistics may be used under CC BY 4.0 . Please attribute as follows: Source: Minecraft Library — Minecraft Server Statistics, measured on, https://www.minecraftlibrary.com/en/statistics. Server names and brands belong to their owners. For measurement methods and limits, see the methodology page.
For CSV/JSON files: the download section on the statistics page.