---
title: "Get facilities"
method: GET
path: "/facilities"
tags: ["Reference & Metadata"]
---

# Get facilities

`GET /facilities`

## Request

- Base URL: `https://api.unravelcarbon.com/api/v1`
- URL: `https://api.unravelcarbon.com/api/v1/facilities`
- Auth: HTTP bearer

Retrieve the organizational structure and facilities for your company.

This endpoint returns a hierarchical view of your organization's facilities, including:

- **Facility hierarchy**: Parent-child relationships between facilities
- **Facility metadata**: Names, categories, and organizational details
- **Company structure**: Complete organizational tree for your company

Use this data to understand your organizational structure and filter emissions data by specific facilities.

## Headers

- `Authorization` string, required

## Response `200`

List of facilities

- FacilityResponse
  - `data` Facility[]
    - `id` string
    - `name` string
    - `category` string
    - `parent` string, nullable
    - `location` string, nullable: Set on business facilities only. Holds either a country name or an internal ID, depending on when the facility was created, so read `country` instead.
    - `country` string, nullable: Country from the facility's country record. `null` when none is set (company, subsidiary and location nodes).
    - `city` string, nullable: The capital city of the facility's country, taken from the country record. It is not the facility's own city, and this endpoint does not return that today. `null` when no country is set (company, subsidiary and location nodes).
    - `description` string: Facility description. Never `null`; an empty string when unset.
    - `is_active` boolean: Whether the node is active. - On a business facility, `false` means a company admin deactivated it. - On a parent node (company, subsidiary, location), `false` only when it has at least one facility and all of them are inactive. A parent with no facilities is `true`. Inactive facilities are still returned, and their data still counts. Use `is_active` to filter them out in your integration.
    - `children` Facility[]

## Other responses

- `401`: Authentication failed

## Changes

- **2026-11-23** `310d3bb09dbe`: 5 info
  - added the optional property `data/items/city` to the response with the `200` status
  - added the optional property `data/items/country` to the response with the `200` status
  - added the optional property `data/items/description` to the response with the `200` status
  - added the optional property `data/items/is_active` to the response with the `200` status
  - …1 more

[Operation history](https://skmtc.dev/unravelcarbon/apis/unravel-carbon-public-api/changes/facilities/get.md)

---

[API](https://skmtc.dev/unravelcarbon/apis/unravel-carbon-public-api.md) - [All operations](https://skmtc.dev/unravelcarbon/apis/unravel-carbon-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/unravelcarbon/apis/unravel-carbon-public-api/revisions/310d3bb09dbe?raw)
