API
We've got a full rich set of endpoints for receiving MCTracker data for completely free of charge
Get Servers List
GET https://mctracker.ir/api/servers
This endpoint allows you to get a complete list of all servers with their id's that would be useful when using other API's.
[
{
"id": 1,
"name": "MadCraft"
},
{
"id": 10,
"name": "TrexMine"
}
]Get Specific Server Data
GET https://mctracker.ir/api/server/:server_id:
This endpoint allows you to get full updated information about specified server
Path Parameters
server_id
number
Server ID [Can be found in website URL in server pages or the endpoint above]
Get Server Last 24h Votes
GET https://mctracker.ir/api/server/:server_id:/votes
This endpoint allows you to get a full list of usernames that voted within 24 hours ago to the specified server
Path Parameters
server_id
number
Server ID [Can be found in website URL in server pages or the endpoint above]
Last updated
Was this helpful?