Skip to main content
POST
/
api
/
infogreffe
/
companies
/
establishments
/infogreffe/companies/establishments
curl --request POST \
  --url https://api.anysite.io/api/infogreffe/companies/establishments \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "siren": "<string>",
  "count": 2,
  "timeout": 300,
  "include_closed": true
}
'
[
  {
    "id": "<string>",
    "@type": "@infogreffe_establishment",
    "siren": "<string>",
    "nic": 123,
    "siret": "<string>",
    "establishment_type": "<string>",
    "status": "<string>",
    "opening_date": "<string>",
    "closing_date": "<string>",
    "sign": "<string>",
    "trade_name": "<string>",
    "declared_activity": "<string>",
    "greffe": {
      "@type": "@infogreffe_greffe",
      "code": "<string>",
      "label": "<string>"
    },
    "activity": {
      "@type": "@infogreffe_naf_activity",
      "code": "<string>",
      "label": "<string>"
    },
    "address": {
      "@type": "@infogreffe_address",
      "line_1": "<string>",
      "line_2": "<string>",
      "line_3": "<string>",
      "postal_code": "<string>",
      "city": "<string>",
      "country": "<string>"
    }
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
siren
string
required

French company SIREN (9-digit registration number) or SIRET

Minimum string length: 1
Examples:

"652014051"

"542051180"

count
integer
required

Max number of establishments to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
include_closed
boolean
default:true

Include closed (former) establishments

Response

Successful Response

id
string
required
@type
string
default:@infogreffe_establishment
siren
string | null
nic
integer | null
siret
string | null
establishment_type
string | null
status
string | null
opening_date
string | null
closing_date
string | null
sign
string | null
trade_name
string | null
declared_activity
string | null
greffe
InfogreffeGreffe · object
activity
InfogreffeNafActivity · object
address
InfogreffeAddress · object