Source: https://eventregistry.org/documentation?tab=usage

# API Usage

Get your token usage

Retrieve information about the number of tokens available in your data plan and the number of tokens that you have already used this month.

**Endpoint:** GET | POST `https://eventregistry.org/api/v1/usage`

**Headers:** Content-Type: application/json

#### `Parameters`

#### `apiKey`

string (required)

Your API key

## Request examples

### Example 1

Retrieve information about the available tokens.

Request body:

```json
{
  "apiKey": "YOUR_API_KEY"
}
```

## Output schema

```json
{
  "type": "object",
  "properties": {
    "availableTokens": {
      "type": "integer"
    },
    "usedTokens": {
      "type": "integer"
    }
  }
}
```
