API Overview
Access ERM data programmatically via the REST API.
The ERM REST API allows you to read data from your server programmatically — integrations, dashboards, bots, or any tool that speaks HTTP.
Base URL
https://api.ermdev.xyzAll endpoints are prefixed with this base URL.
Authentication
All API requests require a UniqueToken header with your server's API key. See Authentication for full details.
Rate Limits
The API is rate-limited per API key:
| Tier | Requests | Window |
|---|---|---|
| Default | 60 requests | 60 seconds |
| Premium | 300 requests | 60 seconds |
When you exceed the rate limit, the API returns a 429 Too Many Requests response with a Retry-After header indicating how many seconds to wait.
Response Format
All responses are JSON. Successful responses follow this shape:
{
"success": true,
"data": { ... }
}Error responses:
{
"success": false,
"error": "Human-readable error message"
}HTTP Status Codes
| Code | Meaning |
|---|---|
200 | Success |
400 | Bad request — check your parameters |
401 | Unauthorised — missing or invalid API key |
403 | Forbidden — your key doesn't have access to this resource |
404 | Not found |
429 | Rate limited |
500 | Internal server error |
Getting Started
- Generate an API key from Dashboard → Integrations → API Keys
- Read the Authentication docs
- Browse Endpoints to find what you need