---
title: "Get corporate graph for a company"
method: GET
path: "/api/v1/grafo/{slug}"
tags: ["Graph"]
---

# Get corporate graph for a company

`GET /api/v1/grafo/{slug}`

Return 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.

## Path parameters

- `slug` string, required

## Query parameters

- `max_children` integer

## Headers

- `If-None-Match` string

## Response `200`

Company corporate graph

- CompanyGraphResponse
  - `schema_version` string, required
  - `canonical_url` string, uri, required
  - `center` object, required
    - `slug` string
    - `name` string
    - `cif` string
  - `parents` GraphEdge[], required
    - `slug` string, nullable
    - `name` string
    - `rel_type` string
    - `source_slug` string — Canonical dataset slug authorized by the active source policy.
  - `children` GraphEdge[], required
    - `slug` string, nullable
    - `name` string
    - `rel_type` string
    - `source_slug` string — Canonical dataset slug authorized by the active source policy.
  - `counts` object
    - `parents` integer
    - `children` integer
  - `coverage` object, required
  - `_source_catalog` SourceCatalogEnvelope
    - `catalog_version` string, required
    - `policy_fingerprint` string, required
    - `policy_effective_date` string, date
    - `sources` object, required
  - `as_of` string, date, required
  - `ttl_seconds` 0

## Other responses

- `304` — The admitted graph projection has not changed.
- `400` — Invalid request
- `404` — Resource not found
- `422` — The query is lexically valid but outside a documented numeric or length bound, or uses an unsupported indexed combination.
- `429` — Rate limit exceeded
- `503` — Controlled fail-closed denial: the required dataset or legal layer is absent, invalid, unsupported or not authorized for this public surface.

---

[API](https://skmtc.net/openmercantil/apis/openmercantil-public-api.md) · [All operations](https://skmtc.net/openmercantil/apis/openmercantil-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openmercantil/openmercantil-public-api/revisions/996f96a11758/schema)
