Skip to content
Hardcount
Run it locally
Pre-1.0 · one maintainer · Stripe and cards only · no SDKs (client libraries) yet · no production users yet. Docs describe v0.9.1 (29 Oct 2026) · What’s new →

Prometheus metrics

GET
/metrics
curl --request GET \
--url http://localhost:8080/metrics \
--header 'Authorization: Bearer <token>'

Metrics in the Prometheus text format, for a Prometheus scrape. When METRICS_TOKEN is set, send it as a Bearer token. When it is not set, the route is open, except with APP_ENV=production, where it answers 401. This is not an API key route.

Metrics in the Prometheus text format.

Media typetext/plain
string

The token is missing or wrong, or METRICS_TOKEN is not set in production. The body is the plain text unauthorized.

Media typetext/plain
string