# Overview

> Network tools over HTTPS, each answering JSON

## Calling it

A GET to `https://api.void.enterprises` and the endpoint, its parameters in the query, your key in the `Api-Key` header. Your licence and key are on the [dashboard](https://dash.void.enterprises/api); no licence yet? [Ask support](https://discord.gg/9sWPwc6Eva).

```
curl -H "Api-Key: $KEY" \
  "https://api.void.enterprises/minecraft?host=hypixel.net"
```

## Answers

JSON: `success`, then `result` or `error`. `/screenshot` alone answers in two parts, its own way.

* `200` **Done**: what was asked, in `result`
* `204` **Nothing found**: no record, no reply, no text; an empty body
* `400` **Refused**: `error` says why
* `401` **No key**, or not one we know
* `403` **Licence ended**: support can renew it
* `500` **Our fault**: it's reported to us

## OpenAPI

Every endpoint, parameter and answer as [OpenAPI 3.1](https://docs.void.enterprises/openapi.json), written from the API's own code: import it into Postman, Insomnia or Bruno, or generate a client from it.
