---
title: "Get aggregated location count for specified studio IDs. 
If date range is not specified, it defaults to today's date. 
If endDate is not specified, it will be set to startDate vice versa.
Time part of the date range will be ignored."
method: GET
path: "/Subscribers/LocationCounts"
tags: ["Rest"]
---

# Get aggregated location count for specified studio IDs. 
If date range is not specified, it defaults to today's date. 
If endDate is not specified, it will be set to startDate vice versa.
Time part of the date range will be ignored.

`GET /Subscribers/LocationCounts`

## Query parameters

- `request.studioIds` integer[]
- `request.startDate` string, date-time
- `request.endDate` string, date-time

## Response `200`

OK

- MindbodyRestApiDtoModelsSubscribersLocationCountControllerStudioLocationCount[]
  - `StudioId` integer — ID of a studio
  - `LocationCountDate` string, date-time — Date the count is calculated
  - `LocationCount` integer — Location count value

## Other responses

- `400` — BadRequest
- `401` — Unauthorized

---

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