---
title: "Company connection graph (auth required)"
method: GET
path: "/v1/companies/{ico}/graph"
tags: ["graph"]
---

# Company connection graph (auth required)

`GET /v1/companies/{ico}/graph`

## Request

- Base URL: `https://api.orsf.sk`
- URL: `https://api.orsf.sk/v1/companies/{ico}/graph`
- Auth: API key in cookie `__Secure-orsf.session_token`

Returns nodes + edges for a company-centric graph (Sigma.js / graphology compatible). 1° = persons in this company; 2° = other companies those persons hold roles in. Depth 1-3.

## Path parameters

- `ico` string, required

## Query parameters

- `depth` integer

## Response `200`

Nodes + edges (graphology-compatible JSON)

## Other responses

- `401`: Not authenticated — sign in via /api/auth/sign-in/email on orsf.sk to obtain session cookie

---

[API](https://skmtc.dev/orsf/apis/orsf-api-open-register-of-slovak-companies.md) · [All operations](https://skmtc.dev/orsf/apis/orsf-api-open-register-of-slovak-companies/llms.txt) · [OpenAPI document](https://skmtc.dev/orsf/apis/orsf-api-open-register-of-slovak-companies/revisions/21d1be487652?raw)
