API Documentation

Monsters

Vertical columns Url and Description
GET URL https://app.pixelencounter.com/api/basic/monsters/random
Test Get a random SVG monster.
Response type image/svg+xml; charset=utf-8
Vertical columns Url and Description
GET URL https://app.pixelencounter.com/api/basic/monsters/random/{format}?size=int
Test Get a random SVG monster as image.
{format} The value can be png, jpeg or webp.
[size:int] The size in pixels, default is '100'.
Response type image/jpeg, image/png, image/webp
Vertical columns Url and Description
GET URL https://app.pixelencounter.com/api/basic/monsters/{int}
Test Get a SVG monster by ID.
{int} The seed id, must be greater than '0' and lower than or equal to '2147483647'.
Response type image/svg+xml; charset=utf-8
Vertical columns Url and Description
GET URL https://app.pixelencounter.com/api/basic/monsters/{int}/{format}?size=int
Test Get a SVG monster by ID as Image.
{int} The seed id, must be greater than '0' and lower than or equal to '2147483647'.
{format} The value can be png, jpeg or webp.
[size:int] The size in pixels, default is '100'.
Response type image/jpeg, image/png, image/webp
Vertical columns Url and Description
GET URL https://app.pixelencounter.com/api/basic/monsters
Test Get a paged list with SVG monsters.
[page:int] Page number, must be greater than 0 and lower than '44739242'.
[startRange:int] Must be greater than '0' and lower than endRange.
[endRange:int] Must be greater than startRange and lower than or equal to '2147483647'.
Response type application/json