Newon GoogleMake CraftRank a preferred source in Google SearchAdd on Google ›
CraftRank SitesA free website and store for your server Make yours ›AshlarFree server software built on Paper, with DDoS and backdoor protection See Ashlar ›Security RadarA free check of your server's login, anti-bot and proxy settings, only with your OK See how it works ›CommunityAsk questions, share builds and find people to play with Join the forum ›
Servers / Developers

CraftRank API

A free, read-only JSON API for server owners, plugin authors and website builders. Public data needs no key. Responses are cached for 30 seconds; please don't poll more than once a minute per server.

Base URLhttps://craftrank.org/api/v1

GET /servers/{id}

Everything we know about a server: live status, players, rank, votes, uptime, links and awards. The ID is in the server page address (/server/12-name) and in the owner panel.

https://craftrank.org/api/v1/servers/252Try it ›
{
  "id": 12,
  "name": "Example SMP",
  "address": "play.example.net",
  "online": true,
  "players": { "online": 214, "max": 500, "peak": 388 },
  "version": "1.21",
  "rank": 4,
  "votes": { "month": 1203, "total": 18840 },
  "uptime": 99.4,
  "vote_url": "…/vote/12-example-smp",
  "badge_url": "…/badge/12.svg",
  "awards": [ { "period": "2026-09", "place": 2, "votes": 2210 } ]
}

GET /servers/{id}/voted?username={name}

Has this Minecraft username voted for the server in the last 24 hours? Use it to give vote rewards from a plugin or website without Votifier.

ParameterWhat it is
usernameMinecraft username, 2–16 letters, numbers or _
https://craftrank.org/api/v1/servers/252/voted?username=SteveTry it ›
{ "server_id": 12, "username": "Steve", "voted": true,
  "last_vote": "2026-10-12T19:59:54+00:00", "next_vote": "2026-10-13T19:59:54+00:00" }

GET /servers/{id}/votes

The latest votes for your server. Needs the server API key, which the owner creates on Panel → API & integrations. Send it in an X-API-Key header (or Authorization: Bearer). Do not put it in the address: addresses are saved in logs. Only call this from your server or plugin, never from JavaScript in a web page, so the key stays secret.

ParameterWhat it is
X-API-Key (header)Server API key (required)
sinceUnix timestamp, only votes after it (optional)
limit1–500, default 100
https://craftrank.org/api/v1/servers/252/votes?since=0&limit=50Try it ›

GET /top

The current ranking, the same order as the home page.

ParameterWhat it is
limit1–50, default 10
tagGame mode, e.g. survival, skyblock
editionjava or bedrock
languageLanguage code, e.g. en, tr, de
https://craftrank.org/api/v1/top?limit=5Try it ›

GET /stats

Live totals for the whole list: servers listed and online, players online, votes this month, and the biggest game modes and languages. Updated every minute.

https://craftrank.org/api/v1/statsTry it ›
{ "servers": { "listed": 205, "online": 171, "java": 190, "bedrock": 15, "crossplay": 96 },
  "players_online": 48210, "votes_this_month": 3120,
  "game_modes": [ { "slug": "survival", "name": "Survival", "servers": 64, "players_online": 9120, "url": "…/servers/survival" } ],
  "languages": [ { "code": "en", "name": "English", "servers": 120 } ] }

GET /tags

Every game mode with live servers, with how many servers and players it has.

https://craftrank.org/api/v1/tagsTry it ›

GET /versions

Minecraft Java versions and how many listed servers let players of each version join (share in %).

https://craftrank.org/api/v1/versionsTry it ›

GET /stats/history

One snapshot a day: servers listed and online, players online, Java and Bedrock servers, and the share of Java servers that accept each version. Also as CSV at /stats.csv. Free to use under CC BY 4.0 with a link to the statistics page.

https://craftrank.org/api/v1/stats/historyTry it ›

GET /awards

Monthly award winners (top three by votes). Without a period you get the latest month.

ParameterWhat it is
periodMonth as YYYY-MM (optional)
https://craftrank.org/api/v1/awardsTry it ›

AI assistants (MCP)

Ask an AI assistant for a Minecraft server and let it look at the live list. CraftRank runs a free, read-only Model Context Protocol server; no sign-in or key.

https://craftrank.org/api/v1/mcp

Add it as a remote (custom) connector or MCP server in Claude, ChatGPT, Cursor, VS Code and other MCP clients. It has five tools: search_servers, top_servers, get_server, list_game_modes and minecraft_server_stats. The same data is described for other tools in OpenAPI 3.1.

Setup guide for each assistant ›

Errors

Errors use normal HTTP status codes with a JSON body: {"error": "not_found", "message": "…"}. 400 = bad parameter, 401 = missing or wrong API key, 404 = no such server or endpoint. Too many requests from one address are slowed down by RexOS Shield.

For website builders

Website platforms can send owners to a pre-filled “Add server” form. The owner logs in or signs up, checks the details and submits; nothing is listed without them.

https://craftrank.org/panel/add?ref=yoursite&name=Example%20SMP&host=play.example.net&port=25565&edition=java&lang=en&website=https%3A%2F%2Fexample.com&discord=https%3A%2F%2Fdiscord.gg%2Fexample&banner=https%3A%2F%2Fexample.com%2Fbanner.gif
ParameterWhat it is
refYour platform name (letters only), shown to the owner and kept with the listing
name, host, port, editionServer name, address, port and java or bedrock
langMain language of the server: en, tr, de … (optional)
website, discord, descriptionOptional
bannerOptional https link to a 468×60 GIF/PNG/JPG; we download and store a copy