---
title: "Get total number of offices"
method: GET
path: "/offices/count"
tags: ["Offices", "Search"]
---

# Get total number of offices

`GET /offices/count`

## Query parameters

- `phrase` string — Full text search across country, city, address and estate owner fields
- `countries` string — Comma-separated list of country codes to filter by
- `amenities` string — Comma-separated list of amenity codes to filter by
- `amenitiesFiltering` 'ANY' | 'ALL' — If more than one amenity is passed, return either offices with any of the amenities (`ANY`) or with all of them (`ALL`)

## Response `200`

Successful operation

- integer

## Other responses

- `500` — An internal server error occurred.
- `503` — The service is temporarily unavailable. Maybe there is maintenance?

## Changes

> 28 revisions in range; 1 could not be searched.

- **2025-01-17** `4573748c6338` — 2 info
  - added the optional property `errorGUID` to the response with the `500` status
  - added the optional property `errorGUID` to the response with the `503` status
- **2025-01-13** `027398d45de5` — 1 info
  - api tag `Search` added
- **2025-01-09** `a59b7402c514` — 2 breaking, 1 info
  - the response property `code` became optional for the status `500`
  - the response property `code` became optional for the status `503`
  - added the new optional `query` request parameter `amenitiesFiltering`
- **2025-01-09** `29074eeb2bb5` — 2 info
  - added the non-success response with the status `500`
  - added the non-success response with the status `503`
- **2025-01-07** `659ddbe31a58` — 1 warning, 3 info
  - deleted the `query` request parameter `amenitiesFiltering`
  - api tag `Search` removed
  - removed the non-success response with the status `500`
  - removed the non-success response with the status `503`

[Change history](https://skmtc.dev/ducin-public/apis/itcorpo-api/changes/offices/count/get.md)

---

[API](https://skmtc.dev/ducin-public/apis/itcorpo-api.md) · [All operations](https://skmtc.dev/ducin-public/apis/itcorpo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ducin-public/itcorpo-api/revisions/80675117301b/schema)
