/cpro/structures/v1/rechercherSearch structure by SIRET
Search for a structure using its SIRET number or other identifiers. ⚠️ Two traps verified against the production API (spec V5.01): 1) the response NEVER contains a typeStructure field — it only exists as an optional INPUT filter. To find out whether a SIRET is public or private, search WITH structure.typeStructure = "PUBLIQUE": found means public; not found while an unfiltered search finds it means private. 2) Private structures are only returned when attached to your technical account; any other private SIRET returns codeRetour 20000 / GDP_MSG_11.048, exactly like a SIRET that does not exist (never an HTTP 404).
Multiple Authentication Required
ALL REQUIREDThis endpoint requires all of the following authentication methods:
OAuth2 Bearer token
Chorus Pro account credentials
Required Header
cpro-account: base64(login:password)How to authenticate
Include your Bearer token in the Authorization header:
Authorization: Bearer YOUR_API_TOKENYou can obtain your API token from your account dashboard.
How to authenticate
Include the custom header in your request:
cpro-account: base64(login:password)Body Parameters
| Parameter | Required | Description |
|---|---|---|
structure.typeIdentifiantStructure Type: string | Required | Type of identifier (e.g., SIRET, SIREN). |
structure.identifiantStructure Type: string | Required | The structure identifier value. |
structure.typeStructure Type: string | Optional | Optional filter: PUBLIQUE or PRIVEE. This is the ONLY way to learn a structure's public/private type from this endpoint — the response never carries it. Search with PUBLIQUE : a match proves the structure is public. |
restreindreStructuresPrivees Type: boolean | Optional | Defaults to true : private structures are only returned when attached to your technical account. Public structures are always searchable. |
Example Request Body
{
"structure": {
"typeIdentifiantStructure": "SIRET",
"identifiantStructure": "21210383200011",
"typeStructure": "PUBLIQUE"
}
}Headers
| Header | Required | Description |
|---|---|---|
Content-Type | Required | Content type of the request Default: application/json;charset=utf-8 |
Accept | Required | Expected response content type Default: application/json;charset=utf-8 |
Responses
/cpro/structures/v1/rechercherSearch structure by SIRET
Search for a structure using its SIRET number or other identifiers. ⚠️ Two traps verified against the production API (spec V5.01): 1) the response NEVER contains a typeStructure field — it only exists as an optional INPUT filter. To find out whether a SIRET is public or private, search WITH structure.typeStructure = "PUBLIQUE": found means public; not found while an unfiltered search finds it means private. 2) Private structures are only returned when attached to your technical account; any other private SIRET returns codeRetour 20000 / GDP_MSG_11.048, exactly like a SIRET that does not exist (never an HTTP 404).
Multiple Authentication Required
ALL REQUIREDThis endpoint requires all of the following authentication methods:
OAuth2 Bearer token
Chorus Pro account credentials
Required Header
cpro-account: base64(login:password)How to authenticate
Include your Bearer token in the Authorization header:
Authorization: Bearer YOUR_API_TOKENYou can obtain your API token from your account dashboard.
How to authenticate
Include the custom header in your request:
cpro-account: base64(login:password)Body Parameters
| Parameter | Required | Description |
|---|---|---|
structure.typeIdentifiantStructure Type: string | Required | Type of identifier (e.g., SIRET, SIREN). |
structure.identifiantStructure Type: string | Required | The structure identifier value. |
structure.typeStructure Type: string | Optional | Optional filter: PUBLIQUE or PRIVEE. This is the ONLY way to learn a structure's public/private type from this endpoint — the response never carries it. Search with PUBLIQUE : a match proves the structure is public. |
restreindreStructuresPrivees Type: boolean | Optional | Defaults to true : private structures are only returned when attached to your technical account. Public structures are always searchable. |
Example Request Body
{
"structure": {
"typeIdentifiantStructure": "SIRET",
"identifiantStructure": "21210383200011",
"typeStructure": "PUBLIQUE"
}
}Headers
| Header | Required | Description |
|---|---|---|
Content-Type | Required | Content type of the request Default: application/json;charset=utf-8 |
Accept | Required | Expected response content type Default: application/json;charset=utf-8 |