Website guide

Website API

Show your shop, server status, leaderboards, events and support tickets on your own website. This page covers what the API offers and how to ask for access.

Time
3 minutes
You need
Owner (to ask for access)
Applies to
Per Rust server

Overview

The RustyWorks API lets a community show live information from its server on its own website, so players do not have to open Discord to see it. It is read only: nothing can be changed through it, and it never shows private details such as Discord IDs, IP addresses, individual balances or console output.

Access is by a private API key that only works from your website address and only for the features you ask for. The RustyWorks team sets keys up, so you do not need to do anything technical on the dashboard.

What the API offers

Feature What your website can show What it needs
Shop Your Rusty4Serv products with prices, pictures and descriptions, a basket, and a checkout that finishes on the RustyWorks shop page. Buyers sign in with Discord there, and the items are delivered in game as normal A connected Rusty4Serv store
Server status Whether the server is online or offline, and the player count, for example 45 / 100 The bot connected to your server
Leaderboards PvP Kills, PvP K/D, PvE Kills, PvE K/D, Richest, Gambled, Purchases, Time Played and Battle Pass. Gamertags and scores only Players who have linked their account
Events The next Auto-Event and how long until it starts, any event running now, and the latest Event Feed items Auto-Events or the Event Feed switched on
Support tickets A way for your visitors to open a ticket from your website The ticket system set up first

How a ticket from your website works

A visitor chooses a ticket category on your website, signs in with Discord, and describes the problem. The bot then opens the ticket in your Discord, the same as one from the ticket panel. Signing in is required so the ticket always belongs to a real member of your Discord.

Getting access

Open a support ticket in the RustyWorks support Discord and tell the team:

  • which Rust server it is for,
  • your website address,
  • which of the features above you want.

The team will talk through what you need and set up your key. Keep the key for your own website, and ask for a new one if it is ever shared by mistake.

Good to know

  • The data is slightly behind the game: server status refreshes about every 30 seconds, and leaderboards and events within about a minute.
  • If the bot is offline for a few minutes, server status shows as unknown rather than offline.
  • A key only shows the features you asked for, and can be switched off at any time.

Troubleshooting

Problem Cause Fix
The leaderboards are empty No linked players have stats yet Players link with /user link and play
The ticket button does not appear The ticket system is not set up, or the feature is not on your key Set up Support Tickets, or ask the team to switch tickets on for your key
The shop does not load The Rusty4Serv store is not connected Connect it on the Rusty4Serv page
Server status shows unknown The bot has not reported for a few minutes Wait a minute. If it stays unknown, tell the team in your support ticket

Checked against RustyWorks on 3 Nov 2026.

Stuck on this step?

Tell us which setting you are on and what the bot said, and paste a screenshot if you can. Staff in the support Discord can usually fix it in a minute.