Noxyr now ships a free, per-server REST API so you can pull live Discord data — member counts, ticket analytics, activity metrics, sales, reviews and giveaways — into your website, dashboard, mobile app or another bot. One key per server, generated from the dashboard, secured with SHA-256 hashing and gated by scope toggles you control.

Why a server-scoped API?

Most Discord bots either expose zero data or expect you to grind through the raw Discord API with intents, gateway connections and rate-limit math. The Noxyr Server API is the opposite: send a header, get JSON. Six endpoints cover the questions server owners actually ask — how many members, how many tickets this week, revenue per currency, average review rating, running giveaways, daily activity trend.

What you can read today

  • GET /api/v1/server — server name, icon URL, live member count, online count, boosts, creation date.
  • GET /api/v1/tickets — total / open / closed, tickets opened in the last 7 and 30 days, closed in the last 7, average rating and rating count.
  • GET /api/v1/activity?days=30 — daily messages, joins and leaves for up to 90 days, zero-filled so every date is present.
  • GET /api/v1/invoices — invoice counts, 7 / 30 day volume and revenue per currency plus a payment-status breakdown.
  • GET /api/v1/reviews — total posted reviews, average rating, 1–5 star breakdown and the latest 5 reviews (product, rating, short text, author).
  • GET /api/v1/giveaways — active / ended counts, total entries and the 5 next-ending running giveaways.

Security model

Keys start with nxr_ and carry 192 bits of entropy. Only a SHA-256 hash is stored on the server — the raw key is shown once at generation time and cannot be recovered. Every response is gated by two checks: is the key enabled, and is this endpoint's scope turned on? Toggling a scope off returns a 403 instantly; disabling or revoking a key kills all access without a redeploy. Rate limiting is per key at 60 requests per minute.

Getting started (60 seconds)

  • 1. Open the dashboard, pick your server and go to API Access.
  • 2. Click Generate API Key and copy the value — this is the only time it's shown.
  • 3. Turn scopes on or off. Every scope has its own toggle.
  • 4. Call curl https://noxyrbot.com/api/v1/server -H "Authorization: Bearer nxr_YOUR_KEY" and you're live.

Common integrations

Show a live member counter on your landing page. Post a weekly ticket digest in a private staff channel. Build a public leaderboard of top giveaway participation. Wire sales data into a spreadsheet or your own admin panel. Because responses are plain JSON with permissive CORS, you can call the API from a browser without any proxy.

What's next

Related reading: Discord API vs the Noxyr Server API, a step-by-step tutorial, the design principles behind these endpoints and how we handle Discord API errors.