---
title: "Get Data Range"
method: GET
path: "/api/reports/data-range"
tags: ["reports"]
---

# Get Data Range

`GET /api/reports/data-range`

## Request

- Base URL: `https://demo.usesecuro.com` (the document declares no server; this is the origin it was published from)
- URL: `https://demo.usesecuro.com/api/reports/data-range`
- Auth: OAuth 2
  - Password
  - Token URL: `/api/auth/login`
- TypeScript: <https://skmtc.dev/usesecuro/apis/securo/docs/api/reports/data-range/get.ts> (a function with typed inputs; its response is checked against the schema)

The span of transaction data this workspace actually has.

The Reports page builds its year picker from these bounds (issue #765).
Opening balances are excluded: their dates are synthetic. Both bounds
are null when the workspace has no reportable transactions.

## Headers

- `X-Workspace-Id` string, nullable

## Response `200`

Successful Response

- ReportDataRange: Oldest and newest transaction dates the workspace has (issue #765).
  - `min_date` string, nullable
  - `max_date` string, nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-05** `416a7752fec4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/usesecuro/apis/securo/changes/api/reports/data-range/get.md)

---

[API](https://skmtc.dev/usesecuro/apis/securo.md) - [All operations](https://skmtc.dev/usesecuro/apis/securo/llms.txt) - [OpenAPI document](https://skmtc.dev/usesecuro/apis/securo/revisions/416a7752fec4?raw)
