API Documentation

Integrate mclo.gs directly into your server panel, your hosting software or anything else. This platform was built for high performance automation and can easily be integrated into any existing software via our HTTP API.

Paste a log file

POST https://api.mclo.gs/1/log application/x-www-form-urlencoded
Field Type Description
content string The raw log file content as string. Maximum length is around 10MB, will be shortened if necessary.

Success

{
    "success": true,
    "id": "8FlTowW",
    "url": "https://mclo.gs/8FlTowW",
    "raw": "https://api.mclo.gs/1/raw/8FlTowW"
}

Error

{
    "success": false,
    "error": "Required POST argument 'content' is empty."
}

Get the raw log file content

GET https://api.mclo.gs/1/raw/[id]
Field Type Description
[id] string The log file id, received from the paste endpoint or from a URL (https://mclo.gs/[id]).

Success

[18:25:33] [Server thread/INFO]: Starting minecraft server version 1.16.2
[18:25:33] [Server thread/INFO]: Loading properties
[18:25:34] [Server thread/INFO]: Default game type: SURVIVAL
...

Error

{
    "success": false,
    "error": "Log not found."
}

Notes

The API has currently a rate limit of 60 requests per minute per IP address. This is set to ensure the operability of this service. If you have any use case that requires a higher limit, feel free to contact us.