This is the main page for the API for DevilDaggers.info. All API functions currently available can be found here.

I mainly set this up so I could easily communicate with the website through external environments, such as within DevilDaggersSurvivalEditor or Discord bots. However, this is a public API; feel free to use it for any tool or application you've made yourself.

This table is automatically generated and will always be up to date.

List of functions

Here is the list containing all currently available API functions, including all their parameters.

The type for each parameter is also shown below, and optional parameters have their default value listed as well.

Name
Description
Returns the list of all available custom leaderboards on the site.
Returns the Death object for the given deathType and gameVersion. Returns all Death objects if no deathType parameter was specified. Returns the unknown (N/A) Death object if an invalid deathType was specified. Returns the Death object found in V3 if no gameVersion parameter was specified or if the gameVersion parameter was incorrect.
Returns the Enemy object for the given enemyName and gameVersion. Returns all Enemy objects if no enemyName parameter was specified. Returns null if the Enemy object could not be found. Returns the Enemy object found in V3 if no gameVersion parameter was specified or if the parameter was incorrect.
Returns all game versions and their release dates.
Returns 100 leaderboard entries from the current leaderboard starting at the rank parameter.
Returns the spawnset file corresponding to the given fileName parameter. Returns to this page if the spawnset could not be found.
Returns the list of available spawnsets on the site. Optional filtering can be done using the searchAuthor and searchName parameters.
Returns the latest version of the tool corresponding to the given toolName parameter as a zip file. Returns to this page if the tool could not be found.
Returns the list of available tools on the website.
Returns the current user data corresponding to the given userID parameter.
Returns the user data for all users with a username that contains the username search parameter. Returns to this page if the username parameter has less than 3 characters.
Returns the user progression found in the leaderboard history section of the site corresponding to the given userID parameter.
Returns the world record found in the leaderboard history section of the site at the time of the given date parameter. Returns all the world records if no date parameter was specified or if the parameter was incorrect.

Data types

This website is written in ASP.NET Core, so all data types used in the API are correspondent to the System types from .NET. These are very basic types however, and should be familiar to all languages.

Data type
Explanation
Case-sensitive
String
Represents text as a sequence of UTF-16 code units.
Yes
Int32
Represents a 32-bit signed integer.
N/A
Boolean
Represents a boolean (true or false).
No
DateTime
Represents a date in the format yyyy-MM-dd.
N/A

Examples

Here are some example calls to the API. You can click the links to test them and see what they return.

Example
Result
Returns the spawnsets that contain "Sorath" in the spawnset's author and "V" in the spawnset's name.
Returns the Death object for the deathType 10 which is ANNIHILATED, and also formats the JSON.
Returns the spawnset with the name "V3_Sorath".
Returns all Enemy objects found in V2.