GoatCounter · Authentication Profile
Goatcounter Authentication
Authentication
GoatCounter authenticates the JSON API with a per-site API key. The primary documented scheme is an HTTP bearer token in the Authorization header; HTTP Basic is also accepted with an empty username and the API key as the password, which the docs describe as mostly useful for testing from a browser. Note that the provider-published OpenAPI 2.0 document declares only basicAuth under securityDefinitions, so the bearer scheme — the one the docs lead with — is documented in prose but absent from the machine-readable contract. Both are recorded here.
GoatCounter secures its APIs with http across 2 declared security schemes, as derived from its OpenAPI definitions.
AnalyticsPage ViewsPrivacyStatisticsWeb AnalyticsOpen-SourceSelf-HostedEventData ExportDeveloper Tools
Methods: http
Schemes: 2
OAuth flows:
API key in: header
Security Schemes
bearerAuth http
basicAuth http