For developers

Public stats of your server for your website, Discord bot or README. No key needed.

JSON request

Returns rank, votes, rating, members, bumps and milestones of a public listing.

GET https://pingguild.com/api/v1/public/server/crimsynmc
{
  "name": "…", "slug": "crimsynmc", "url": "…", "join_url": "…",
  "category": "gaming", "language": "en", "nsfw": false,
  "rank": { "overall": 12, "category": 3 },
  "votes": { "total": 1840, "last_30_days": 212 },
  "rating": { "average": 4.7, "count": 58, "verified": 31 },
  "members": { "total": 15900, "online": 2300, "in_voice": 120, "updated_at": "…" },
  "bumps": { "total": 166, "last_bump_at": "…", "streak_days": 7 },
  "joins_via_pingguild": 412,
  "milestones": [{ "key": "joins_100", "achieved_at": "…" }],
  "archived": false
}

Badge (SVG)

Ready-made badge to embed. Parameter show: rank, votes, rating, members.

rankvotesratingmembers
<a href="https://pingguild.com/server/9/crimsynmc"><img src="https://pingguild.com/api/v1/public/server/crimsynmc/badge.svg?show=votes" alt="PingGuild"></a>
[![PingGuild](https://pingguild.com/api/v1/public/server/crimsynmc/badge.svg?show=rank)](https://pingguild.com/server/9/crimsynmc)

Example (JavaScript)

const res = await fetch("https://pingguild.com/api/v1/public/server/crimsynmc");
const s = await res.json();
console.log(`${s.name}: #${s.rank.overall}, ${s.votes.total} votes`);

Rules

  • Max. 30 requests per minute per IP.
  • Data is cached for up to 60 seconds – polling faster doesn't help.
  • CORS is open, so you can fetch directly from the browser.
  • Only public figures of server listings. Bulk querying the directory is not allowed.