API CacheAlabama Roleplay

One fast cache for every ALBM integration

A single aggregated ERLC V2 request feeds every server endpoint, Bloxlink lookups run on a daily budget with MongoDB fallbacks, and Roblox APIs are proxied with smart caching. Fine-grained tokens keep access tight.

One upstream call

Players, vehicles, logs and calls all come from one V2 fetch. Polls every 5s while players are online, 60s when empty.

Budgeted Bloxlink

1,800 regular / 2,000 priority lookups per UTC day, stored-mapping fallbacks, and inDiscord membership on every response.

Scoped tokens

Each key carries exact permissions like erlc.players or wildcards like erlc.*, plus opt-in fresh and high_priority.

Public statistics No auth

Plain-text numbers, cached for 10 minutes and limited to 20 requests/min per IP. Drop them straight into widgets, bots or badges.

PathDescriptionMethod
/stats/playercountCurrent ERLC player countGET
/stats/ALBM/membercountAlabama Roleplay DiscordGET
/stats/AHP/membercountAlabama Highway PatrolGET
/stats/AFD/membercountAlabama Fire DepartmentGET
/stats/APD/membercountAlabama Police DepartmentGET
/stats/FBI/membercountFBIGET
/stats/DOT/membercountDepartment of TransportationGET

Endpoints X-API-Token

Live registry. Interval shows the online poll cadence; when the server is empty, polling slows to 60s and the TTL becomes 65s.

PathPermissionMethodCacheTTLInterval
Loading endpoints…

Examples

Send your token in the X-API-Token header. Full reference at docs.api.albm.fun.


          
        

Need API access?

Join the Alabama Roleplay Discord and open an access request. Tell us what you're building and which endpoints you need.

Join Discord & request access

Admin sign in

Tokens

Permissions

Edit token

Token
Permissions
Wildcards like erlc.*, plus all, fresh, high_priority.

Usage statistics

Requests by endpoint

Roblox ID history Recent

Discord↔Roblox mappings recorded on successful Bloxlink lookups. A history row is added when a Discord user links a different Roblox account; stored mappings serve as fallbacks when upstream quota runs out.

Upstream rate limits