Skip to content
NDL
Developers

Public API

Read-only JSON, no key required. Responses are cached at the edge for a few minutes. Please keep it under one request per second.

Base URL
http://localhost:3000
Format
{ ok, data }
Auth
None
GET/api/public/levels

Ranked and legacy levels in list order. · params: status (ranked | legacy), limit (1 to 200)

GET/api/public/levels/{slug}

One level with all of its records.

GET/api/public/players

The player leaderboard. · params: limit (1 to 200)

GET/api/public/players/{handle}

A player's profile and standing.

GET/api/public/players/{handle}/records

A player's records. · params: limit (1 to 200)

GET/api/public/recent-records

The latest accepted records. · params: limit (1 to 50)

GET/api/public/countries

Country leaderboard.

GET/api/public/stats

Site-wide statistics.

GET/api/public/search

Search levels and players. · params: q (min 2 chars), limit (1 to 25)

GET/api/public/changelog

Latest news posts. · params: limit (1 to 50)

GET/api/public/rules

The current rules document.