API

API Information

To access the API all requests need to be authenticated via a server secret key.
Supply the secret key by setting the X-MCStatistics-Secret header in all requests to the API.

GET https://api.mcstatistics.org/v1/information
Response
GET https://api.mcstatistics.org/v1/performance
Response
GET https://api.mcstatistics.org/v1/players
Response
GET https://api.mcstatistics.org/v1/player/{UUID/USERNAME}
Response
GET https://api.mcstatistics.org/v1/player/{ID}/sessions
Response
GET https://api.mcstatistics.org/v1/player/{ID}/ip_history
Response
GET https://api.mcstatistics.org/v1/player/{UUID}/reports
Response