---
title: "Get Locations' Statistics"
method: GET
path: "/locations/statistics"
tags: ["Locations Data"]
---

# Get Locations' Statistics

`GET /locations/statistics`

## Request

- Base URL: `https://workflows.promorepublic.com/webhook/2637089f-b543-45d0-a83e-2334aada4ead/listings/sandbox/api`
- URL: `https://workflows.promorepublic.com/webhook/2637089f-b543-45d0-a83e-2334aada4ead/listings/sandbox/api/locations/statistics`
- Auth: HTTP bearer

Get statistics about the locations the current user is managing: total and breakdown by status

## Response `200`

Location statistics successfully retrieved

- object: Location statistics response model
  - `count` integer: Total number of locations
  - `countActive` integer: Number of active locations
  - `countInactive` integer: Number of inactive locations
  - `countCancelled` integer: Number of cancelled locations
  - `countClosed` integer: Number of closed locations
  - `countSyncStarted` integer: Number of locations where sync has been started
  - `countSyncNotStarted` integer: Number of locations where sync has not been started
  - `countSyncNeeded` integer: Number of locations where sync is needed
  - `suggestionsAvailable` boolean: true if any suggetions are available

## Other responses

- `400`: Bad Request - The request was invalid or cannot be otherwise served
- `401`: Unauthorized - Authentication credentials are missing or invalid
- `403`: Forbidden - The request is understood, but has been refused or access is not allowed
- `404`: Not Found - The requested resource could not be found

---

[API](https://skmtc.dev/promorepublic/apis/listings-api.md) - [All operations](https://skmtc.dev/promorepublic/apis/listings-api/llms.txt) - [OpenAPI document](https://skmtc.dev/promorepublic/apis/listings-api/revisions/a04c07676a6e?raw)
