---
title: "Get Subgraph"
method: GET
path: "/v1/graph/subgraph/{actor}"
tags: ["graph"]
---

# Get Subgraph

`GET /v1/graph/subgraph/{actor}`

## Request

- Base URL: `https://api.bitpoort.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.bitpoort.com/v1/graph/subgraph/{actor}`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Get the subgraph around an actor (wallet address or node_id).

## Path parameters

- `actor` string, required

## Query parameters

- `chain` string: Chain filter (e.g. 'ETH')
- `depth` integer: Hop depth (1 or 2)
- `hours` integer: Time window in hours
- `limit` integer: Max edges

## Response `200`

Successful Response

- SubgraphResponse
  - `actor_node` object, nullable
  - `edges` object[]
  - `nodes` object
  - `summary` object

## Other responses

- `422`: Validation Error

---

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