SPAWNIX

Public API

Read your guild's events, roster, raid points, attendance, news and loot from your own website, bot or spreadsheet with an API key.

The public API lets your own tools read your guild's data: show upcoming raids on your own website, post raid points standings from a Discord bot, or pull attendance into a spreadsheet. It's read-only: nothing you do with it can change your guild.

The API is part of the Commander and Admiral plans. On Recruit the API section of Settings shows locked.

Make a key

  1. Open Settings → API (under Connections). Only the owner and admins can see it.
  2. Click New key and give the key a name that says what uses it, such as "Website" or "Raid bot".
  3. Tick what the key can read (its scopes):
Scope What it reads
Events Upcoming and past public events, sign-up counts per role, and who signed up
Members-only events Members-only events too (tick Include members-only events under Events)
Roster Members' usernames, ranks, roles and characters
Raid points Points standings and the points history (needs the Raid Points add-on)
Attendance Each member's attendance rate and the raids attendance was taken for (needs the Raid Points add-on)
News Forum threads marked as news in public categories
Loot Loot hauls, their items, and who got what once a haul is finalized
  1. Select Make key, then Copy the key. It looks like spx_abcdefgh_ followed by 52 more letters and digits.

A guild can have up to 10 keys at a time. The list shows when each key was made and by whom, when it was last used, and how many requests it made today.

Members-only events

A key with Events reads only your public events, the ones on your guild's website. To let it read members-only events as well, tick Include members-only events under Events. It's off unless you tick it, so a key for a public website can't show members-only events by mistake. Without it, a members-only event never shows up anywhere: not in /events (asking for ?visibility=private gets 403 insufficient_scope), not by its id (404), and raids, the points history and loot show no event for it.

Keep your key secret

An API key reads your guild's data without signing in, so treat it like a password:

  • Use it only on a server: your website's back end, a bot, a script. Don't put it in a web page's JavaScript, a mobile app or a public repository, where anyone could copy it. The API doesn't allow calls from web pages in a browser for this reason.
  • Give each tool its own key with only the scopes it needs.
  • If a key leaks, select Revoke next to it. It stops working at once and can't be turned back on.

Use the API

Send the key in an Authorization header with every request. The address of every endpoint starts with https://app.spawnix.gg/api/v1.

curl -H "Authorization: Bearer spx_abcdefgh_..." \
  https://app.spawnix.gg/api/v1/guild

/guild works with any key: it returns your guild's name, game and plan, the key's name and scopes, and your limits. It's a good first call to check a key.

Endpoints

Endpoint Scope What it returns
GET /guild any Your guild, the key and its limits
GET /events Events Events that haven't ended, soonest first. ?status=past for ended events, most recent first. ?visibility=public or private to filter (private needs members-only events), ?chapter= for one game's events
GET /events/{id} Events One event, with who signed up (going, maybe, declined), their role, bench and character
GET /members Roster Active members by username, with rank, role and characters
GET /points Raid points Standings, most points first. ?chapter= for one game's points (see below)
GET /points/history Raid points The points history, newest first. ?member={id} for one member, ?chapter= for one game
GET /attendance Attendance Each member's attendance over the last 90 days. ?days= from 1 to 365, ?chapter= for one game
GET /attendance/raids Attendance Raids attendance was taken for, newest first, with who was there. ?chapter= for one game
GET /news News News threads in public forum categories, newest first
GET /loot Loot Loot hauls with their items and their game, newest first. ?status=open, closed or finalized

The full description, with every field, is an OpenAPI 3.1 document at https://app.spawnix.gg/api/v1/openapi.json. Tools such as Postman and Insomnia can import it.

Raid points in several games

A guild with game chapters keeps raid points and attendance per game. GET /guild lists your chapters, each with its id, game and pointsName (null when that game keeps no points). Add ?chapter= to the points and attendance endpoints with a chapter's id or its game, like ?chapter=old-school-runescape. Without it you get your main points: the game the Raid Points add-on was installed for, usually your primary game. A guild that plays one game never needs it.

GET /events takes ?chapter= the same way, for one game's events. Without it you get every event: each game's and the ones for the whole guild.

Examples

Upcoming events:

curl -H "Authorization: Bearer $SPAWNIX_KEY" \
  "https://app.spawnix.gg/api/v1/events?limit=5"
{
  "data": [
    {
      "id": "6f1c2b0e-...",
      "title": "Raid night",
      "startsAt": "2026-11-05T19:00:00Z",
      "endsAt": "2026-11-05T22:00:00Z",
      "visibility": "public",
      "game": "world-of-warcraft",
      "signups": { "going": 18, "bench": 2, "maybe": 3, "declined": 1 },
      "roles": [{ "role": "Tank", "label": "Tanks", "capacity": 2, "filled": 2, "bench": 1 }]
    }
  ],
  "next_cursor": null
}

One member's points history:

curl -H "Authorization: Bearer $SPAWNIX_KEY" \
  "https://app.spawnix.gg/api/v1/points/history?member=8c3e...&limit=20"

Every member, page by page, in a shell script:

cursor=""
while :; do
  page=$(curl -s -H "Authorization: Bearer $SPAWNIX_KEY" \
    "https://app.spawnix.gg/api/v1/members?limit=100&cursor=$cursor")
  echo "$page" | jq -r '.data[].username'
  cursor=$(echo "$page" | jq -r '.next_cursor // empty')
  [ -z "$cursor" ] && break
done

Pages, times and errors

  • Lists come back as {"data": [...], "next_cursor": "..."}. Ask for up to 100 items with limit (50 if you don't say). When next_cursor isn't null, pass it back as cursor, with the same filters, for the next page.
  • Times are ISO 8601 in UTC, such as 2026-11-05T19:00:00Z.
  • Errors come back as {"error": {"code": "...", "message": "..."}}:
Status Code What it means
400 invalid_request, invalid_cursor A parameter is wrong
401 missing_key, invalid_key, key_revoked No key, a key that isn't right, or a revoked key
403 insufficient_scope The key can't read that; make a key with that scope
403 plan_required Your guild is on Recruit (see below)
403 guild_inactive Your guild is closed
404 not_found, feature_unavailable No such thing, or your guild doesn't have that feature (such as the Raid Points add-on)
429 rate_limited, daily_limit Too many requests; wait as long as the Retry-After header says

Rate limits

Commander Admiral
Requests a minute, per key 60 300
Requests a day, all keys together 10,000 100,000

A key can use its minute's allowance in a burst; it refills evenly over the minute. The daily count resets at midnight UTC. Every response tells you where you stand:

  • X-RateLimit-Limit: requests a minute for this key.
  • X-RateLimit-Remaining: requests left right now.
  • X-RateLimit-Reset: seconds until the full minute's allowance is back.
  • X-RateLimit-Daily-Limit and X-RateLimit-Daily-Remaining: the same for the day.

Over a limit, you get 429 with a Retry-After header in seconds.

What the API never shares

The API gives only what's safe to show outside your guild:

  • No emails, Discord or Steam IDs, IP addresses, or sign-in details. Profile pictures from Discord are left out (their address contains the Discord ID); pictures uploaded to Spawnix or picked from its gallery are included.
  • A member's display name (the in-game name on their profile) only when they've made their profile public.
  • No characters a member has hidden from your guild.
  • No notes members add when signing up, notes on loot claims, or loot hauls' notes.
  • Who got which item only once the haul is finalized.
  • Members-only events, unless the key has Include members-only events.
  • Nothing from forum categories that aren't public, and only threads marked as news.
  • Guests, suspended members and Spawnix staff aren't listed.

When your plan changes

If your guild moves to Recruit, its keys stop working: every request gets 403 with the code plan_required. The keys aren't deleted. When the guild is back on Commander or Admiral, they work again as they were. Moving between Commander and Admiral changes the limits at once.

The audit log

The audit log records when a key is made or revoked, and who did it. It also records each key's first request of the day (UTC), so you can see which keys are in use without one entry per request.