---
title: "GET /api/v1/checks/{pk}/stats/"
method: GET
path: "/api/v1/checks/{pk}/stats/"
tags: ["checks"]
---

# GET /api/v1/checks/{pk}/stats/

`GET /api/v1/checks/{pk}/stats/`

## Request

- Base URL: `https://uptime.com` (the document declares no server; this is the origin it was published from)
- URL: `https://uptime.com/api/v1/checks/{pk}/stats/`
- Auth: none declared
- TypeScript: <https://skmtc.dev/uptime/apis/uptime-com-openapi-schema/docs/api/v1/checks/:pk/stats/get.ts> (a function with typed inputs; its response is checked against the schema)

Shows uptime and response time statistics for this check

## Path parameters

- `pk` string, required

## Query parameters

- `start_date` string
- `end_date` string
- `location` string
- `locations_response_times` boolean
- `include_alerts` boolean
- `download` boolean
- `pdf` boolean

## Response `200`

- CheckStats
  - `start_date` string, date-time: The first day to show statistics for in ISO 8601 (YYYY-MM-DDTHH:MM:SSZ) format.
  - `end_date` string, date-time: The last day to show statistics for in ISO 8601 (YYYY-MM-DDTHH:MM:SSZ) format.
  - `location` string: Show response time for specified location only.
  - `locations_response_times` boolean: Include response time datapoints for all locations.
  - `include_alerts` boolean: Include alert data for each outage in the period.
  - `download` boolean: Set this paramater to download an XLS containing the stats.
  - `pdf` boolean: Set this paramater to download a PDF report.
  - `available_locations` unknown[]
    - unknown
  - `pk` integer
  - `statistics` object[]
  - `totals` object

---

[API](https://skmtc.dev/uptime/apis/uptime-com-openapi-schema.md) - [All operations](https://skmtc.dev/uptime/apis/uptime-com-openapi-schema/llms.txt) - [OpenAPI document](https://skmtc.dev/uptime/apis/uptime-com-openapi-schema/revisions/e1e4a57a60d8?raw)
