Skip to content
Sprax2013 edited this page Apr 30, 2019 · 6 revisions

Api.Sprax2013.de

This API is publicly hosted on Api.Sprax2013.de. The API uses its own cache and that of CloudFlare. For the best performance, you should pay attention to the expiry headers.

Routes

Route Description
/ (root) Things related to this API, e.g. its status
/Mojang Like the original Mojang-API (for Minecraft) but with a cache to prevent rate limiting
/SkinDB The API used for SkinDB.net
/HEMS This route is for my school projects and could be poorly documented

General Information

This API always sends and receives JSON formatted bodies, unless specified. If your request was blocked by CloudFlare, you're likely to get HTML instead of JSON.

Errors

The API makes use of HTTP Status Codes. You can get detailed information from the response body.

Example:

{
  "status": 400,
  "msg": "The parameter 'User' is invalid"
}

https://api.sprax2013.de/mojang/profile/:user

Rate Limiting

This API currently is not rate limited but is protected by CloudFlare that may block your request.

Contents

Routes

Clone this wiki locally