Skip to main content
POST
/
api
/
infogreffe
/
officers
/
search
/infogreffe/officers/search
curl --request POST \
  --url https://api.anysite.io/api/infogreffe/officers/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "query": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "@type": "@infogreffe_officer_search_item",
    "id": "<string>",
    "name": "<string>",
    "first_name": "<string>",
    "last_name": "<string>",
    "birth_year": 123,
    "mandates": [
      {
        "@type": "@infogreffe_officer_mandate",
        "role": "<string>",
        "role_code": "<string>",
        "company_id": "<string>",
        "company_name": "<string>",
        "siren": "<string>"
      }
    ]
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
query
string
required

Search query — director or officer name

Minimum string length: 1
Examples:

"dupont"

"bernard arnault"

count
integer
required

Max number of results to return

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

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

@type
string
default:@infogreffe_officer_search_item
id
string | null
name
string | null
first_name
string | null
last_name
string | null
birth_year
integer | null
mandates
InfogreffeOfficerMandate · object[] | null