Skip to main content
The ER:LC Russia API gives access to project data and features: ER:LC game servers, violation points, the economy, webhooks, the CDN, short links and AI models.
1

Get a key

Sign in with Discord on the keys page. It shows the permissions and keys issued to your account. Contact project administrators in Discord if access is missing; view commands do not grant new permissions.
2

Choose an API

The main one is API V3 in the “API documentation” tab. For AI models use the AI API, compatible with the OpenAI SDK. For real-time events use the WebSocket and the event webhook.
3

Make your first request

Send the key in the erlcrussia-api-key header:
4

Handle errors and limits

An error has code and message; all codes are in Error codes. Watch the limit headers; see Rate limits.
Older versions. API V2 still works. API V1 is deprecated: all its routes except GET /v1/erlc/server/bans respond with error 5028. Build new integrations on V3.
Not a developer? Check the partner services: they already work with the API.