---
title: "Get Public Stats"
method: GET
path: "/api/v1/stats/public"
tags: ["stats"]
---

# Get Public Stats

`GET /api/v1/stats/public`

## Request

- Base URL: `https://api.alert.camp` (the document declares no server; this is the origin it was published from)
- URL: `https://api.alert.camp/api/v1/stats/public`
- Auth: none declared

Public, unauthenticated marketing stats for the website.

Figures come from ``compute_public_stats`` (see its docstring for what
is counted). Cached for ``_PUBLIC_STATS_TTL_SECONDS``.

## Response `200`

Successful Response

- PublicStatsResponse: Public marketing stats — safe to expose unauthenticated on the website. All figures are aggregate, contain no user-identifying data, and are intended for headline copy (e.g. "we've sent campers N cancellation alerts").
  - `cancellation_alerts_sent` integer, required
  - `active_alerts` integer, required
  - `campers` integer, required
  - `since` string, date-time, nullable, required
  - `updated_at` string, date-time, required

---

[API](https://skmtc.dev/alert/apis/alertcamp.md) · [All operations](https://skmtc.dev/alert/apis/alertcamp/llms.txt) · [OpenAPI document](https://skmtc.dev/alert/apis/alertcamp/revisions/864c8c9ef833?raw)
