Docs / API Reference Developers
API Reference A read-focused REST API for building integrations. The planned base URL is https://api.lnrs.dev. Protected routes authenticate with a Bearer token, rate-limited to 120/min .
Not available yet
None of the endpoints below are live, and keys are not being issued yet. This page documents the planned shape so you can design against it. Join the waitlist and we’ll message you when it ships.
Authentication
Authorization header Copycurl https://api.lnrs.dev/v1/stats \
-H "Authorization: Bearer lnrs_sk_live_..."GET /v1/health PlannedPublic Health
Public health probe. No authentication required, use it for status checks and uptime monitoring.
curl https://api.lnrs.dev/v1/health \
-H "Accept: application/json"{
"status": "operational" ,
"uptime": 1209600 ,
"shards": 1 ,
"version": "3.0.0"
}GET /v1/stats Planned BearerGlobal statistics
Aggregate counts across every shard.
curl https://api.lnrs.dev/v1/stats \
-H "Authorization: Bearer lnrs_sk_live_..."{
"guilds": 4021 ,
"users": 812043 ,
"channels": 58210 ,
"commandsRun": 9847123
}GET /v1/guilds/{id} Planned BearerGuild overview
Configuration summary and recent activity for a guild you manage.
Parameters
idsnowflake REQUIRED The Discord guild ID.
curl https://api.lnrs.dev/v1/guilds/927174149873795122 \
-H "Authorization: Bearer lnrs_sk_live_..."{
"id": "927174149873795122" ,
"name": "Lunaris HQ" ,
"memberCount": 2681 ,
"modules": { "leveling": true , "tickets": true },
"prefix": "l?"
}GET /v1/guilds/{id}/leaderboard Planned BearerXP leaderboard
Top members ranked by XP.
Parameters
idsnowflake REQUIRED The Discord guild ID.
limitinteger Rows to return (1–100, default 10).
curl https://api.lnrs.dev/v1/guilds/927174149873795122/leaderboard \
-H "Authorization: Bearer lnrs_sk_live_..."{
"leaderboard": [
{ "userId": "712989..." , "level": 42 , "xp": 176400 , "rank": 1 },
{ "userId": "548102..." , "level": 39 , "xp": 152100 , "rank": 2 }
]
}GET /v1/guilds/{id}/cases Planned BearerModeration cases
Recent moderation cases for a guild.
Parameters
idsnowflake REQUIRED The Discord guild ID.
curl https://api.lnrs.dev/v1/guilds/927174149873795122/cases \
-H "Authorization: Bearer lnrs_sk_live_..."{
"cases": [
{ "caseId": 184 , "type": "ban" , "userId": "..." , "moderatorId": "..." , "reason": "raiding" }
]
}Sign in with Discord to join the waitlist. Keys aren’t being issued yet, we’ll DM you once the API is live. Every request is reviewed by hand, and keys will be read-scoped by default.
Sign in with Discord