API documentation


Keep in mind that this is very unfinished and that breaking changes are bound to happen.

GET /api/v1/counts/

Returns the statistics returned on the homepage.

GET /api/v1/level/{level_id}/ or GET /api/v1/level/{level_id}/{mode}

Returns informations about the level and its level records. Do note that for some fields it is not consistent between records whether they return Null for their default values or the actual values themselves.
Returns {"success": false} if the given level does not have any records.
Mode can be brief to hide all level records (recommended if you dont need them) or dupes to enable duplicate records (not recommended).

GET /api/v1/user/{user_id}/ or GET /api/v1/user/{user_id}/brief

Returns informations about the user and its user records.
Returns {"success": false} if the given user does not have any records.

GET /api/v1/date/level/{level_id}/

Returns the closest available date estimations for a given level ID.

GET /api/v1/search/level/advanced/

Uses the following GET parameters (all optional):
query: The search query text
limit: Amount of levels per page, max is 1000
offset: Amount of levels to offset search results by - usually recommended to be a multiple of limit
sort: Sort parameters separated by , - example: cache_difficulty:asc,cache_downloads:desc
filter: Filters in SQL-like format - example: online_id < 1000 AND (cache_filter_difficulty = 5 OR cache_likes >= 100)
AND/OR clauses must be uppercase, see search output or level brief output to see filterable/sortable parameters.