---
title: "Fetch Adjacent Entities*"
method: GET
path: "/entities/{entity_id}/adjacent"
tags: ["Data access"]
---

# Fetch Adjacent Entities*

`GET /entities/{entity_id}/adjacent`

***Beta:** This endpoint is released for wider testing and is not yet recommended
for production use. We welcome feedback. Its interface may change without announcement.

Retrieve entities adjacent to a given entity e.g. passports, sanctions, associates.

This endpoint offers the same information as adjacent entities nested in
[`/entities/{entity_id}`](#tag/Data-access/operation/fetch_entity_entities__entity_id__get),
but offers pagination for cases where the number of results is potentially very large.

## Path parameters

- `entity_id` string, required — ID of the entity whose graph context was requested

## Query parameters

- `sort` string[]
- `limit` integer
- `offset` integer

## Response `200`

Successful Response

- EntityAdjacentResponse
  - `entity` EntityResponse, required
    - `id` string, required
    - `caption` string, required
    - `schema` string, required
    - `properties` object, required
    - `datasets` string[]
    - `referents` string[]
    - `target` boolean
    - `first_seen` string
    - `last_seen` string
    - `last_change` string
  - `adjacent` object, required

## Other responses

- `308` — The entity was merged into another ID
- `404` — Entity not found
- `422` — Validation Error
- `500` — Server error

---

[API](https://skmtc.net/opensanctions/apis/opensanctions-api.md) · [All operations](https://skmtc.net/opensanctions/apis/opensanctions-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opensanctions/opensanctions-api/versions/8261f1aa0d2c/schema)
