IsMcServer.online API is a free-to-use API, that allows checking any Minecraft Server status. To generate API token join our Discord server and navigate to #generate-token text channel. Use /generatetoken command to get your new private token!
To use the api, enter your generated token into Authorization header, like shown on example below. It is important to note that API tokens should be kept secure and not shared with unauthorized users.
"Authorization": "d8d93fcd-0035-48f1-a6f3-a0813c47cadf" // insert your token here
}
}).then(res => res.json())
In short:
Obtain an API token: You need to get an API token in order to use the API. This token is used to authenticate your API requests and ensure that your usage is authorized.
Include the token in the request header: Once you have the API token, you need to include it in the "Authorization" header of your API request. This header is used to pass along your API token, so that the API server can verify your authorization.
Send the API request: After you have included the API token in the request header, you can send the API request to the server and receive a response. The response will contain the data you requested, as well as any other relevant information.
Keep your token secure: It is important to keep your API token secure and not share it with unauthorized users.
See the example below to know what should be right API response.