> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fexmetrics.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Authentication

> Authenticate Fexmetrics requests through RapidAPI with X-RapidAPI-Key.

Authenticate through RapidAPI with this header on every request:

* `X-RapidAPI-Key`: your RapidAPI key

Get a key by [subscribing on RapidAPI](https://rapidapi.com/datafex-datafex-default/api/fexmetrics-fivem-redm-server-analytics-api3/pricing), then copy it from the [Developer Dashboard](https://rapidapi.com/developer/dashboard).

```bash theme={null}
curl --request GET \
  --url 'https://fexmetrics-fivem-redm-server-analytics-api3.p.rapidapi.com/rapid/v1/servers/public-fivem' \
  --header 'X-RapidAPI-Key: YOUR_API_KEY'
```

Keep the key private. If it is exposed, rotate it in RapidAPI.
