External link; opens in a new tab.
NEW!Reminders are here! Never miss a server launch.

API

Sro.gg publishes its server directory as JSON so you do not have to crawl the site. Everything here is public, needs no key, and may be reused under the terms on the data methodology page: attribute sro.gg and link to the page you took the data from.

IPv4 and IPv6 clients are supported, including /data/*.json mirrors. The shared rate limit applies per IPv4 address or IPv6 /64 network. IPv4-mapped IPv6 addresses share their IPv4 address’s limit. Invalid or missing addresses return HTTP 400, error.code: "invalid_client_ip" and A valid IPv4 or IPv6 client address is required.

All endpoints share one limit of 10 requests per minute per IPv4 address or IPv6 /64 network by default, or 60 for clients declaring their purpose. Successful responses carry X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset; going over returns 429 with a Retry-After header. The limit is shared, so spreading requests across endpoints does not raise it.

Identifying yourself

Send a User-Agent header that says who you are and why you are calling. This matters most for AI agents and scripts: without it you arrive as an anonymous request, and we cannot tell a research tool from a scraper.

Name/version (+contact; purpose=what-you-use-it-for)
AcmeBot/1.0 (+https://acme.com/bot; purpose=price-comparison)
ResearchAgent/2.1 (+mailto:you@example.com; purpose=academic research)

The contact is a URL or a mailto: address, prefixed with +. The purpose is a short phrase describing the use, not a sentence. Both parts are required — a name on its own is not a declaration and will still be treated as unidentified.

Clients we cannot identify — curl, bare HTTP libraries, anything with no recognisable agent — receive a notice field at the top of every response asking for this. Declare yourself and the notice disappears. Well-known crawlers such as Googlebot, GPTBot and ChatGPT-User are recognised automatically and never see it, though they may still send a purpose.

Declaring your contact and purpose raises your limit from 10 to 60 requests per minute per IPv4 address or IPv6 /64 network. This is a usage declaration, not authentication or proof of identity; all clients remain subject to rate limits.

Unidentified traffic is the traffic we can least account for. A single IP address sending a sustained volume of anonymous curl-style requests may be throttled or blocked, because from our side it is indistinguishable from scraping. Declared clients are not treated this way: we can see what they are for, and we would reach out before acting. If you are automating anything against this API, sending the header is the cheapest way to stay on the right side of that line.

The server directory

GET https://sro.gg/api/public/servers

Returns every listed server with its level cap, race configuration, player limits, launch dates and last known player count. This is the endpoint to use for questions about population, features or availability.

Each entry carries playersOnline together with playersOnlineAt, the moment that reading was taken. Always publish the timestamp alongside the number. A null count means no counter could be read, not zero players. 0 is a successful zero reading. playersOnlineStale is true when the reading is older than 24 hours or its timestamp is unknown, false for a recent reading, and null when no count is available. Status is derived from listing status and launch dates; it does not confirm game-server reachability.

Each entry also carries playerHistory: { since, last7Days, last30Days, url }, or null when nothing has been recorded. last7Days and last30Days are { average, peak, samples } over the periodic readings in that window (null when the window holds none), and samples says how many readings each figure is based on. since is when sro.gg began recording the server and url is its history endpoint below. Readings taken before a server launched are excluded.

Filters

  • status — lifecycle states, comma separated. Accepts live, beta, upcoming and inactive. Example: ?status=live,beta

  • cap — one level cap. Example: ?cap=110

  • openedAfter — servers that opened on or after this date. Example: ?openedAfter=2026-07-15

  • openedBefore — servers that opened on or before this date

  • sort — playersOnline, opensAt or likes

  • locale — en or tr. Picks the language of name and description, and points url at that locale. urls always carries every locale regardless.

Closed servers are excluded unless you ask for them with status=inactive or includeInactive=true. They stay listed for reference and are never places to play.

Combining filters covers the site's own listing pages: ?status=upcoming&sort=opensAt is the upcoming calendar, and ?openedAfter= with a date a month back is the new-servers page.

Invalid parameters

A known parameter carrying a value outside its allowed set returns 400 — it is never silently ignored, and you never receive an unfiltered list by mistake:

{
  "error": {
    "code": "invalid_query_parameter",
    "parameter": "status",
    "received": "invalid",
    "allowed": "live, beta, upcoming, inactive (comma separated)",
    "documentation": "https://sro.gg/en/page/api"
  }
}

A parameter we do not recognise returns 400 as well, so a typo like staus=live fails loudly instead of quietly returning the unfiltered directory:

{
  "error": {
    "code": "unknown_query_parameter",
    "parameter": "staus",
    "allowed": ["status", "cap", "openedAfter", "openedBefore", "sort", "includeInactive", "locale"],
    "documentation": "https://sro.gg/en/page/api"
  }
}

Nothing outside that list is accepted — tracking parameters such as utm_source or ref are rejected too. If you get a 200, your filters were applied as written.

Player count history

GET https://sro.gg/api/public/servers/{slug}/online-history

Returns the recorded player count history of one server. {slug} is the server's slug from the directory; an old slug of a renamed server resolves too.

  • range — 24h, 7d, 30d or all. Defaults to 30d. Example: ?range=7d

The response carries:

  • server — { id, slug, name, url }
  • range — the range that was applied
  • granularity — how to read the points: one reading per successful scrape for the last 30 days, one daily average per day before that
  • since — when sro.gg began recording this server, ISO 8601
  • stats — { average, peak, latest, samples } over the returned points, or null when the range holds no readings
  • points — [{ at, playersOnline }], oldest first, at in ISO 8601
  • license, disclaimer and generatedAt

Readings taken before the server launched are excluded, and failed reads are not stored, so gaps are possible. The counts are the server's own published figures and are not independently verified.

An unknown slug, or a server that is not listed, returns 404 with a not_found error. An invalid range returns 400 like any other invalid parameter. The same data is available on each server's page, and the endpoint has no mirror under /data/.

GET https://sro.gg/api/public/trending

Servers ranked by how many times their sro.gg page was viewed over the last seven days, with growthPercent comparing that against the seven days before.

Hype

GET https://sro.gg/api/public/hype

Servers ranked by how many people are reading their sro.gg page right now, measured over a 30 minute window.

Guides

GET https://sro.gg/api/public/guides?locale=en
GET https://sro.gg/api/public/guides/{slug}?locale=en
GET https://sro.gg/data/guides.json?locale=en

Only published guides are returned, even when the request has a moderator session. locale accepts en or tr and defaults to en; use the slug for that language. Invalid locales and unknown query parameters return 400. Hidden, deleted and unknown guides return 404 from the detail endpoint.

The list returns { schemaVersion, generatedAt, locale, total, guides }. Each guide has slug, title, description, category, featured, locale, url, markdownUrl, apiUrl, alternates, publishedAt and updatedAt. The detail response returns { schemaVersion, generatedAt, locale, guide }, with a markdown field containing the full article. Links keep the requested locale. Images use their ALT text and absolute URLs.

Raw Markdown is available at /en/guide/{slug}.md and /tr/rehber/{slug}.md, with Content-Type: text/markdown. Guide pages advertise it with a Markdown alternate link. /llms.txt lists published guides in both languages, and /llms-full.txt includes their full Markdown text.

JSON uses the shared public API rate limit, CORS and response metadata. Guide data is cached internally for up to five minutes with keys tied to the guide change tag; edits, hiding, renaming and deletion invalidate it. Guide JSON, Markdown and LLM exports send Cache-Control: no-store so downstream caches cannot retain a hidden guide. This differs from the timed public caches on server-data endpoints.

PvP Arena

GET https://sro.gg/api/public/arena
GET https://sro.gg/api/public/arena/weeks/{week}
GET https://sro.gg/api/public/arena/duels/{slug}

PvP Arena is a weekly competition between SRO.GG listings of Silkroad private servers opening that week, separate from in-game PvP. The draw is Monday at 00:00 Istanbul time (UTC+3). Scheduled elimination rounds run 20:00–00:00, with the final on Thursday. Several duels can share a round window; smaller brackets need fewer rounds. There are 4–16 entrants; no tournament is held with fewer than 4 eligible listings. All three accept locale (en or tr, default en), which picks the language of server names and the locale of every url. A parameter outside that list returns 400 with an unknown_query_parameter error.

/api/public/arena returns:

  • schemaVersion, name, description, generatedAt, locale
  • measures and disclaimer — what the score is and is not, see below
  • rules — { timezone, draw, matchWindow, finalDay, minEntrants, maxEntrants, eligibility, format, metrics, tieBreak, votes, comments }, where metrics is [{ metric, weight }]
  • currentWeek — the week summary of the running tournament, or null when this week has none
  • nextWeekStart — when the next week begins, ISO 8601
  • lobbyUrl — the PvP Arena page
  • weeks — every tournament, newest first, as week summaries

A week summary is { week, weekStart, weekEnd, status, entrants, champion, url, detailUrl }. week is the Istanbul calendar date of the Monday (2026-11-02), status is upcoming, active or completed, and champion is { slug, name, url, levelCap } or null until the final ends. detailUrl points at the week endpoint and preserves locale; duel apiUrl links also preserve it.

/api/public/arena/weeks/{week} returns the week summary plus rounds, each { key, status, startsAt, endsAt, matches } with key one of r16, quarter, semi or final. A week that is not a YYYY-MM-DD Monday returns 400; a valid week without a tournament returns 404 with a not_found error.

/api/public/arena/duels/{slug} returns { week, round, duel }. It returns 404 for an unknown duel and for one that is not revealed yet — a round is revealed when the previous round ends.

A duel is { slug, url, status, startsAt, endsAt, bye, winner, score, left, right, apiUrl }. winner is a server slug or null, score is { left, right } (two numbers adding up to 100) or null, and url is the duel page. A bye has no slug, url, score or apiUrl. Each side is null until its participant is revealed, otherwise { slug, name, url, levelCap, seed, stats, points }:

  • stats — { votes, comments, trendPercent, hypeAverage, boosts, adTier, sponsored }, the live values while the duel runs and the final ones after it
  • points — { views, votes, comments, trend, hype, boosts, ads }, the points earned per metric, rounded to one decimal

For an upcoming duel and for a bye, stats and points are null, not zeros. Raw view counts are never published; views appear only as points.views.

Weights: views 20, votes 20, comments 15, trend 15, hype 10, boosts 10 and ad investment 10, for a total of 100 points.

For each category, a listing receives weight × own value / (own value + opponent value) points; a zero combined value splits that category equally. Trend growth is rounded to a whole percentage and clamped to -100..300; if the previous window has zero views, growth is 300 when the current window has views and 0 otherwise. The trend scoring value is max(0, 100 + trendPercent). Ad units are Elite 1, Legend 2 and other tiers 0, plus 2 for active sponsorship overlapping the match. These are inputs to the weighted share, not direct additions to the total. The left total is rounded to one decimal and the right total is 100 minus the rounded left total. Category points are rounded independently, so their sum can differ slightly from the displayed total. Ties go to more votes, then the better seed.

Arena combines listing engagement with promotional investment: boosts, paid advertising, Elite/Legend tiers and sponsorship. SRO.GG treats that investment as a signal that an operator takes the launch seriously and respects its players. A championship is not an in-game population ranking, quality certification or reliability guarantee.

Weekly Polls

GET https://sro.gg/api/public/polls
GET https://sro.gg/api/public/polls/current
GET https://sro.gg/api/public/polls/{slug}

The Weekly Poll asks sro.gg users which Silkroad private server they are starting this week. Voting opens Thursday at 20:00 and closes Friday at 20:00 Istanbul time (UTC+3). Only logged-in users can vote, one vote each, changeable until the poll closes. Vote counts are hidden while a poll is open and public after it closes. All three accept locale (en or tr, default en), which picks the language of server names, the slug and the locale of every url. A parameter outside the allowed list returns 400 with an unknown_query_parameter error.

/api/public/polls returns closed polls, newest first, with schemaVersion, name, description, generatedAt, locale, rules, pageUrl, page, limit, total and polls. It accepts page (1-based) and limit (default 20, maximum 52); an invalid value returns 400 with an invalid_query_parameter error. Only the latest 52 closed polls are listed. Each poll is { issue, slug, url, apiUrl, startsAt, endsAt, totalVotes, winner }, where winner is { name, serverSlug, votes, percent } or null when nobody voted.

/api/public/polls/current returns { rules, pageUrl, poll }. poll is the open poll, or the latest closed poll when none is open, or null before the first poll. rules is { timezone, opens, closes, options, votes, results }.

/api/public/polls/{slug} accepts the slug of either locale and returns { poll }, or 404 with a not_found error. A poll is { issue, status, slug, slugs, url, apiUrl, startsAt, endsAt, totalVotes, options }. status is OPEN or CLOSED. For a closed poll options are ranked, each { position, name, serverSlug, url, tier, rank, votes, percent }; for an open poll options carry no rank, votes or percent, and totalVotes is null. serverSlug and url are null when the server no longer exists.

Options are the Legend servers, then Elite servers, then the servers opening that week, each group ordered by all-time views; the total is always even, at most 12, and frozen when the poll opens. A poll result shows what sro.gg voters chose, not players in the game.

Changelog

GET https://sro.gg/api/public/changelog?locale=en
GET https://sro.gg/data/changelog.json?locale=en

Every user-facing sro.gg update, newest first. locale accepts en or tr and defaults to en; invalid locales and unknown query parameters return 400.

The response is { schemaVersion, name, description, locale, url, markdownUrl, latestVersion, count, releases }. url is the changelog page and markdownUrl its raw Markdown. Each release is { version, date, items }, where version looks like v0.67-BETA, date is YYYY-MM-DD and each item is { title, text } (title can be null). Links inside text are absolute sro.gg URLs.

The response is cached for one hour and uses the shared public API rate limit, CORS and response metadata.

Both endpoints measure traffic on sro.gg, not players in the game. They answer "which servers are people looking at", never "which servers are the biggest". A server can trend because it just launched, because it was mentioned somewhere, or because it closed.

Do not republish these figures as player counts. For population use the directory endpoint, where every number carries the timestamp of its reading.

Mirrors outside /api/

Some fetchers and agent tools refuse to open any path beginning with /api/, regardless of what robots.txt allows. The following list endpoints are also served from plain .json paths:

GET https://sro.gg/data/servers.json
GET https://sro.gg/data/trending.json
GET https://sro.gg/data/hype.json
GET https://sro.gg/data/arena.json
GET https://sro.gg/data/polls.json
GET https://sro.gg/data/guides.json
GET https://sro.gg/data/changelog.json

These are the same handlers, so the payload, the filters, the rate limit and the cache headers are identical — https://sro.gg/data/servers.json?status=live&cap=110 behaves exactly like the /api/public/servers equivalent. Use whichever your client can open; there is no reason to prefer one over the other otherwise.

Caching

The directory, player count history and trending are cached for 15 minutes, hype and the PvP Arena for 60 seconds. The whole directory arrives in a single request and changes slowly, so caching one response beats polling. If you need a higher limit, get in touch before working around this one.

Markdown

Every page under /page/ is also served as raw markdown by appending .md to its URL — for example /page/api.md. That is the source these pages are rendered from, without navigation or markup around it.