---
title: "Retrieve Daily Stats"
method: GET
path: "/v2/company/{company_id}/location/{location_id}/daily_stats"
tags: ["Reports"]
---

# Retrieve Daily Stats

`GET /v2/company/{company_id}/location/{location_id}/daily_stats`

## Request

- Base URL: `https://api.7shifts.com`
- URL: `https://api.7shifts.com/v2/company/{company_id}/location/{location_id}/daily_stats`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://app.7shifts.com/oauth2/authorize`
    - Client credentials
    - Password
    - Token URL: `https://app.7shifts.com/oauth2/token`
  - API key in cookie `7session`

## Path parameters

- `company_id` integer, required
- `location_id` integer, required

## Query parameters

- `department_id` integer
- `date` string, date, required
- `include_future` boolean

## Headers

- `x-api-version` string: An API version
- `x-company-guid` string, uuid

## Response `200`

OK

- object
  - `data` object, required
    - `summary` object
      - `current_actual_sales` integer: The current actual sales in cents
      - `current_projected_sales` integer: The current projected sales in cents
      - `past_actual_sales` integer: The past actual sales in cents
      - `past_projected_sales` integer: The past projected sales in cents
      - `current_actual_labor` integer: The current actual labor in cents
      - `current_projected_labor` integer: The current projected labor in cents
      - `past_actual_labor` integer: The past actual labor in cents
      - `current_labor_ratio` number: The current labor ratio
      - `current_labor_target` number: The current labor target
      - `past_labor_ratio` number: The current labor ratio
      - `current_spmh` number: The current sales per man hour
      - `past_spmh` number: The past sales per man hour
    - `intervals` object[]
      - `day` string, date
      - `start` string, date-time
      - `end` string, date-time
      - `actual_sales` integer: The actual sales in cents
      - `projected_sales` integer: The projected sales in cents
      - `past_actual_sales` integer: The past actual sales in cents
      - `past_projected_sales` integer: The past projected sales in cents
      - `actual_labor` integer: The actual labor in cents
      - `projected_labor` integer: The projected labor in cents
      - `projected_labor_minutes` number: The projected labor minutes
      - `labor_ratio` number: The current labor ratio
      - `projected_labor_ratio` number: The projected labor ratio
      - `actual_spmh` number: The actual sales per man hour
      - `projected_spmh` number: The projected sales per man hour
  - `object` 'daily_stats', required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `500`: Server Error

---

[API](https://skmtc.dev/7shifts/apis/7shifts-api.md) - [All operations](https://skmtc.dev/7shifts/apis/7shifts-api/llms.txt) - [OpenAPI document](https://skmtc.dev/7shifts/apis/7shifts-api/revisions/40e0ef40dfcd?raw)
