Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Deprecation notice

Blue Mouse585b36358d19
diff --git a/docs/content/docs/api/stats.mdx b/docs/content/docs/api/stats.mdx
index ff336203b..5d2c30bd6 100644
--- a/docs/content/docs/api/stats.mdx
+++ b/docs/content/docs/api/stats.mdx
@@ -4,7 +4,10 @@ slug: /statistics-api
description: "Retrieve website analytics with the Swetrix Statistics API, including request parameters, authentication, filters, and response formats."
---
-A newer, per-dimension [Statistics API v2](/statistics-api-v2) is available — it offers human-readable dimension and metric names, server-side pagination and a consistent response format. This v1 API keeps working as documented below.
+<Callout type="warn" title="Statistics API v1 is deprecated">
+ Use [Statistics API v2](/statistics-api-v2) for new integrations. Existing v1 integrations
+ continue to work as documented below.
+</Callout>
Swetrix provides the ability to retrieve aggregated data not only through the UI, but also programmatically using API queries.