---
title: "/participants/{unit_number}/path/{other_unit_number}"
method: GET
path: "/v1/participants/{unit_number}/path/{other_unit_number}"
tags: ["Participants"]
---

# /participants/{unit_number}/path/{other_unit_number}

`GET /v1/participants/{unit_number}/path/{other_unit_number}`

## Request

- Base URL: `https://api.companydata.dk` (the document declares no server; this is the origin it was published from)
- URL: `https://api.companydata.dk/v1/participants/{unit_number}/path/{other_unit_number}`
- Auth: HTTP bearer

Netværkssøgning: find the shortest relation path between two persons.

Persons are connected through companies where they hold (or held)
management/board roles or registered ownership. Searches up to 3 degrees
(companies on the path) and returns up to 8 parallel shortest paths as a
nodes/edges graph plus the node-id sequence of each path.

- `degrees=1`: the two persons share a company
- `degrees=2`: connected through one intermediate person
- `degrees=3`: connected through two intermediate persons
- `path_found=false`: no connection within 3 degrees

## Path parameters

- `unit_number` integer, required
- `other_unit_number` integer, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/companydata/apis/companydata-dk-api.md) · [All operations](https://skmtc.dev/companydata/apis/companydata-dk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/companydata/apis/companydata-dk-api/revisions/1cc6c361ae64?raw)
