Breaking news: Use of Google Analytics illegal in France (read more) and Austria (read more)

API Documentation

This is the documentation for the available API endpoints, which are built around the REST architecture. All the API endpoints will return a JSON response with the standard HTTP response codes and need a Bearer Authentication via an API Key.

Authentication

All the API endpoints require an API key sent by the Bearer Authentication method.

curl --request GET \
--url 'https://www.fairanalytics.de/api/{endpoint}' \
--header 'Authorization: Bearer {api_key}' \
User
Websites
Website statistics
Custom domains
Payments
Logs