Lantern Servers

Server Owner API

Programmatic access to your server's stats, pings, votes, and uptime data.

Coming Soon

The Owner API is currently under development. When released, it will allow server owners to pull their server's data - including live player counts, ping history, vote totals, and uptime statistics - programmatically, either via API keys or session authentication.

Planned Endpoints

Method Endpoint Description
GET /api/owner/servers List your servers
GET /api/owner/servers/[slug]/stats Server stats overview
GET /api/owner/servers/[slug]/pings Recent ping history
GET /api/owner/servers/[slug]/uptime Daily uptime history

Authentication

The API will support two authentication methods:

  • Session-based - use your existing browser session (for dashboard widgets and internal tools).
  • API keys - generate long-lived API keys from your dashboard for server-to-server integration.

In the Meantime

While the API is being built, you can use the widget generator to embed live status badges on your website, or check your stats from the dashboard statistics page.