---
title: "Lister les établissements"
description: "Liste les établissements, du plus ancien au plus récent, avec SIRET, codes et adresse. Les contrats, avenants et mois de paie y renvoient par `establishmentId`."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.puncto.fr/llms.txt
> Use this file to discover all available pages before exploring further.

Path: API Puncto › Entreprise

`GET /public/v1/establishments`

Liste les établissements, du plus ancien au plus récent, avec SIRET, codes et adresse. Les contrats, avenants et mois de paie y renvoient par `establishmentId`.

## Authentication

- `bearerAuth`, http, header `Authorization`

## Query parameters

- `page` (`listEstablishments.query.page`; integer, optional) — Numéro de page, à partir de 1.
  - min 1; default `1`
- `perPage` (`listEstablishments.query.perPage`; integer, optional) — Nombre d’éléments par page, 200 au plus.
  - min 1; max 200; default `50`

## Code samples

### cURL

```bash
curl --request GET \
  --url https://api.puncto.fr/public/v1/establishments \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.puncto.fr/public/v1/establishments';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.puncto.fr/public/v1/establishments"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

Page d’établissements

#### Example

```json
{
  "data": [
    {
      "establishmentId": "esta_01JB7Q6ZC8V3K9N2M4R5T7W8XY",
      "name": "string",
      "nic": "string",
      "siret": "string",
      "apetCode": "string",
      "urssafCode": "string",
      "healthServiceCode": "string",
      "address": {
        "id": "addr_01JB7Q6ZC8V3K9N2M4R5T7W8XY",
        "address": "string",
        "postalCode": "string",
        "city": "string",
        "addressDetails": "string",
        "countryCode": "FR"
      },
      "isMain": true,
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  ],
  "meta": {
    "total": 0,
    "page": 0,
    "perPage": 0,
    "currentPage": 0,
    "firstPage": 0,
    "lastPage": 0
  }
}
```

- `data` (`listEstablishments.response.200.data`; array<object>, required)
  - `establishmentId` (`listEstablishments.response.200.data.establishmentId`; string, required) — Identifiant Puncto de l'établissement
  - `name` (`listEstablishments.response.200.data.name`; string, required) — Nom de l'établissement
  - `nic` (`listEstablishments.response.200.data.nic`; string, required) — NIC : les 5 derniers chiffres du SIRET
  - `siret` (`listEstablishments.response.200.data.siret`; string, required) — SIRET : SIREN de l'entreprise suivi du NIC
  - `apetCode` (`listEstablishments.response.200.data.apetCode`; string, required) — Code APET de l'établissement
  - `urssafCode` (`listEstablishments.response.200.data.urssafCode`; string, required) — Code Urssaf de l'établissement
  - `healthServiceCode` (`listEstablishments.response.200.data.healthServiceCode`; string | null, required) — Code du service de santé au travail, déclaré dans les DPAE
  - `address` (`listEstablishments.response.200.data.address`; object, required) — Adresse de l'établissement
    - `id` (`listEstablishments.response.200.data.address.id`; string, required) — Identifiant Puncto
    - `address` (`listEstablishments.response.200.data.address.address`; string, required)
    - `postalCode` (`listEstablishments.response.200.data.address.postalCode`; string, required)
    - `city` (`listEstablishments.response.200.data.address.city`; string, required)
    - `addressDetails` (`listEstablishments.response.200.data.address.addressDetails`; string | null, required)
    - `countryCode` (`listEstablishments.response.200.data.address.countryCode`; string, required)
      - one of `"FR"`, `"GP"`, `"BL"`, `"MF"`, `"MQ"`, `"GF"`, `"RE"`, `"PM"`, `"YT"`, `"WF"`, `"PF"`, `"NC"`, `"MC"`, `"AF"`, `"AL"`, `"DZ"`, `"AD"`, `"AO"`, `"AG"`, `"AR"`, `"AM"`, `"AU"`, `"AT"`, `"AZ"`, `"BS"`, `"BH"`, `"BD"`, `"BB"`, `"BY"`, `"BE"`, `"BZ"`, `"BJ"`, `"BT"`, `"BO"`, `"BA"`, `"BW"`, `"BR"`, `"BN"`, `"BG"`, `"BF"`, `"BI"`, `"CV"`, `"KH"`, `"CM"`, `"CA"`, `"CF"`, `"TD"`, `"CL"`, `"CN"`, `"CO"`, `"KM"`, `"CD"`, `"CG"`, `"CR"`, `"CI"`, `"HR"`, `"CU"`, `"CY"`, `"CZ"`, `"DK"`, `"DJ"`, `"DM"`, `"DO"`, `"EC"`, `"EG"`, `"SV"`, `"GQ"`, `"ER"`, `"EE"`, `"SZ"`, `"ET"`, `"FJ"`, `"FI"`, `"GA"`, `"GM"`, `"GE"`, `"DE"`, `"GH"`, `"GR"`, `"GD"`, `"GT"`, `"GN"`, `"GW"`, `"GY"`, `"HT"`, `"HN"`, `"HU"`, `"IS"`, `"IN"`, `"ID"`, `"IR"`, `"IQ"`, `"IE"`, `"IL"`, `"IT"`, `"JM"`, `"JP"`, `"JO"`, `"KZ"`, `"KE"`, `"KI"`, `"KP"`, `"KR"`, `"KW"`, `"KG"`, `"LA"`, `"LV"`, `"LB"`, `"LS"`, `"LR"`, `"LY"`, `"LI"`, `"LT"`, `"LU"`, `"MG"`, `"MW"`, `"MY"`, `"MV"`, `"ML"`, `"MT"`, `"MH"`, `"MR"`, `"MU"`, `"MX"`, `"FM"`, `"MD"`, `"MN"`, `"ME"`, `"MA"`, `"MZ"`, `"MM"`, `"NA"`, `"NR"`, `"NP"`, `"NL"`, `"NZ"`, `"NI"`, `"NE"`, `"NG"`, `"NO"`, `"OM"`, `"PK"`, `"PW"`, `"PS"`, `"PA"`, `"PG"`, `"PY"`, `"PE"`, `"PH"`, `"PL"`, `"PT"`, `"QA"`, `"RO"`, `"RU"`, `"RW"`, `"KN"`, `"LC"`, `"VC"`, `"WS"`, `"SM"`, `"ST"`, `"SA"`, `"SN"`, `"RS"`, `"SC"`, `"SL"`, `"SG"`, `"SK"`, `"SI"`, `"SB"`, `"SO"`, `"ZA"`, `"SS"`, `"ES"`, `"LK"`, `"SD"`, `"SR"`, `"SE"`, `"CH"`, `"SY"`, `"TW"`, `"TJ"`, `"TZ"`, `"TH"`, `"TL"`, `"TG"`, `"TO"`, `"TT"`, `"TN"`, `"TR"`, `"TM"`, `"TV"`, `"UG"`, `"UA"`, `"AE"`, `"GB"`, `"US"`, `"UY"`, `"UZ"`, `"VU"`, `"VE"`, `"VN"`, `"YE"`, `"ZM"`, `"ZW"`
  - `isMain` (`listEstablishments.response.200.data.isMain`; boolean, required) — Établissement siège de l'entreprise
  - `createdAt` (`listEstablishments.response.200.data.createdAt`; string, required) — Date d'enregistrement de l'établissement dans Puncto
    - format `date-time`
  - `updatedAt` (`listEstablishments.response.200.data.updatedAt`; string, required) — Date de dernière modification de l'établissement
    - format `date-time`
- `meta` (`listEstablishments.response.200.meta`; object, required)
  - `total` (`listEstablishments.response.200.meta.total`; integer, required) — Nombre total d’éléments.
  - `page` (`listEstablishments.response.200.meta.page`; integer, required) — Page renvoyée.
  - `perPage` (`listEstablishments.response.200.meta.perPage`; integer, required)
  - `currentPage` (`listEstablishments.response.200.meta.currentPage`; integer, required)
  - `firstPage` (`listEstablishments.response.200.meta.firstPage`; integer, required)
  - `lastPage` (`listEstablishments.response.200.meta.lastPage`; integer, required)

### 401

Clé d’API absente, invalide ou révoquée

#### Example

```json
{
  "error": "Les endpoints de l’API publique sont réservés aux comptes application."
}
```

- `error` (`listEstablishments.response.401.error`; string, required) — Message lisible, en français.
- `errorCode` (`listEstablishments.response.401.errorCode`; string, optional) — Code stable, sur certaines erreurs.

### 403

Opération hors de l’accès de la clé d’API

#### Example

```json
{
  "error": "Opération interdite"
}
```

- `error` (`listEstablishments.response.403.error`; string, required) — Message lisible, en français.
- `errorCode` (`listEstablishments.response.403.errorCode`; string, optional) — Code stable, sur certaines erreurs.

### 422

Paramètres invalides

#### Example

```json
{
  "errors": [
    {
      "message": "Le champ statut de l’absence doit être une valeur autorisée",
      "rule": "enum",
      "field": "status"
    }
  ]
}
```

- `errors` (`listEstablishments.response.422.errors`; array<object>, required)
  - `message` (`listEstablishments.response.422.errors.message`; string, required)
  - `rule` (`listEstablishments.response.422.errors.rule`; string, required) — Règle de validation en échec.
  - `field` (`listEstablishments.response.422.errors.field`; string, required) — Chemin du champ, par exemple `absences.0.type`.


Source: https://docs.puncto.fr/reference/establishments/list/index.md
