Get corporate graph for a company
Changed onReturn a graph centered on a company admitted by company_public_v2. Each GLEIF parent/child candidate is independently batch-admitted and its public identity is overlaid from the same sidecar; absent, personal or ambiguous candidates are omitted. SEC external nodes remain withheld until they have an external corporate-identity projection. Source-specific license metadata prevails.
Request
- Base URLhttps://openmercantil.es
- Auth
- none
- or API key in header X-API-Key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Company slug.
Query parameters
Maximum number of children entities returned.
Headers
Optional RFC 9110 entity-tag validator. Weak validators, comma-separated validator lists and * are accepted.
Response
Company corporate graph
Example response
{
"schema_version": "1",
"parents": [
{
"slug": "endesa-sa",
"name": "ENDESA SA",
"rel_type": "IS_DIRECTLY_CONSOLIDATED_BY"
}
],
"children": [
{
"slug": "endesa-sa",
"name": "ENDESA SA",
"rel_type": "IS_DIRECTLY_CONSOLIDATED_BY"
}
],
"as_of": "2026-05-18"
}Changes
- breaking
removed the required property
from the response with the status - warning
the optional response header
Linkremoved for the status200 - warning
removed the optional property
from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
from the response with the status - info
api operation id
getGrafoBySlugwas added - info
the endpoint scheme security
apiKeywas added to the API - info
the endpoint scheme security
bearerAuthwas added to the API - info
added the new optional
headerrequest parameterIf-None-Match - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the
response property const value0was added for the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking