> For the complete documentation index, see [llms.txt](https://docs.antivpn.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.antivpn.io/developers/rest-api.md).

# Rest-API

Before start, you need the **SERVER\_TOKEN**, to generate it you can go to [Installation](/getting-started/installation.md). It's the same **SERVER\_TOKEN** used for the **Minecraft Plugin**.

#### Using CURL via Bash terminal.

```sh
curl --request GET \
  --url 'https://api.antivpn.io/api/check?ip=1.1.1.1' \
  --header 'Authorization: Bearer SERVER_TOKEN'
```
