---
title: "Location package count"
method: GET
path: "/locations/package-count"
tags: ["Locations"]
---

# Location package count

`GET /locations/package-count`

## Request

- Base URL: `https://api.synup.com/api/v4`
- URL: `https://api.synup.com/api/v4/locations/package-count`
- Auth: none required
- TypeScript: <https://skmtc.dev/synup/apis/synup-api/docs/locations/package-count/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the number of locations in the filtered set by package tier — freemium vs premium. Scope the set with `filterInput`/`selectionType`/`locationIds`, identical to Filter locations.

## Query parameters

- `filterInput` string
- `selectionType` 'ALL_ITEMS' | 'SELECTED_ITEMS'
- `locationIds` string[]
- `archived` boolean
- `approved` boolean
- `archivalScheduledAt` boolean

## Headers

- `Synup-Version` string, required
- `Authorization` string, required

## Response `200`

Successful response

- object
  - `data` object
    - `locationPackageCount` LocationPackageCount
      - `freemiumCount` integer: Number of freemium-tier locations.
      - `premiumCount` integer: Number of premium-tier locations.

## Other responses

- `401`: Unauthorized - Invalid or missing API key

---

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