Skip to content

General Usage

The main intended use of the API is to allow 3rd party tools to integrate with Load Order Library. An example - though a first party tool - is the MO2 Plugin that uploads the current profile to the site.

A few things to keep in mind when using the API:

Testing Domains

When testing a program/tool, please make use of these routes.

Base route: https://testingapi.loadorderlibrary.com/v1.

To view how lists will look on the website itself, use either:

Production Domains

When your tool is ready to go to production itself, use these routes.

Base route: https://api.loadorderlibrary.com/v1

And the main site is https://loadorderlibrary.com

For example:

async function getUser() {
const resp = await fetch(`${baseUrl}/user`, {
headers: {
Accept: "application/json",
Authorization: "Bearer <your-api-token>"
},
});
console.log(await resp.json());
}