Skip to main content
POST
/
api
/
pappers
/
companies
/
graph
/pappers/companies/graph
curl --request POST \
  --url https://api.anysite.io/api/pappers/companies/graph \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "siren": "<string>",
  "timeout": 300,
  "include_managed_companies": true,
  "include_cited_companies": false,
  "include_sci": true
}
'
[
  {
    "siren": "<string>",
    "@type": "@pappers_graph",
    "companies": [
      {
        "node_id": "<string>",
        "@type": "@pappers_graph_company",
        "siren": "<string>",
        "name": "<string>"
      }
    ],
    "people": [
      {
        "node_id": "<string>",
        "@type": "@pappers_graph_person",
        "first_name": "<string>",
        "last_name": "<string>",
        "level": 123,
        "birth_date": "<string>"
      }
    ],
    "company_person_links": [
      {
        "company_node_id": "<string>",
        "person_node_id": "<string>",
        "@type": "@pappers_graph_company_person_link"
      }
    ],
    "company_company_links": [
      {
        "parent_node_id": "<string>",
        "child_node_id": "<string>",
        "@type": "@pappers_graph_company_company_link"
      }
    ]
  }
]

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 digits) or SIRET (14 digits)

Example:

"652014051"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

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

Include companies managed by the company's directors

include_cited_companies
boolean
default:false

Include companies cited in the company's filings

include_sci
boolean
default:true

Include related real-estate holding companies (SCI)

Response

Successful Response

siren
string
required
@type
string
default:@pappers_graph
companies
PappersGraphCompany · object[]
people
PappersGraphPerson · object[]