---
title: "Retrieve historical analytics"
method: GET
path: "/api/analytics/historical"
tags: ["analytics"]
---

# Retrieve historical analytics

`GET /api/analytics/historical`

Retrieve historical analytics data graphed over a time range.

### Time Range Formats:
- **start**: Start date (e.g. `2024-01-01`). Required.
- **end**: End date (e.g. `2024-01-31`). Defaults to current date if omitted.

## Query parameters

- `start` string, required
- `end` string
- `article_id` integer
- `organization_id` integer

## Response `200`

successful

---

[API](https://skmtc.net/forem/apis/forem-api-v1.md) · [All operations](https://skmtc.net/forem/apis/forem-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/forem/forem-api-v1/versions/bcdd2cdd127c/schema)
