PirateCraft application programming interface allowing access to data of the PirateCraft ecosystem. This API has been created from scratch by GodsDead for the website https://piratemc.com

API is NOT currently public, this page has been created as a placeholder

Why?Edit

To bring player statistics back to the website live, I needed a new way to get data between the live server and the web-server, so I made a JSON API, since these calls will be public anyway, I thought it best to write up how to use the APIs.

Players APIEdit

You can query players data by username or UUID using:


curl https://api.piratemc.com/pirate/<username>

Crews APIEdit

This pulls overall data for all crews


curl https://api.piratemc.com/crews/<username>

Crew APIEdit

This pulls a specific crews data


curl https://api.piratemc.com/crew/<username>