---
title: "Get IP Asset Graph"
method: GET
path: "/v1/ip/graph/{ipAssetId}"
tags: ["IP Story Protocol"]
---

# Get IP Asset Graph

`GET /v1/ip/graph/{ipAssetId}`

Get the graph of an IP Asset, by default it will fetch the first level of parents and children (depth = 1). You can customize the depth using the query parameter 'depth' to a maximum of 3. Maximum 100 parents or children will be returned for each level.

The ipAssetId parameter should be the Story Protocol asset ID (not the Crossmint ID). Must start with '0x' followed by hexadecimal characters.

**API scope required**: `nfts.read`

## Path parameters

- `ipAssetId` string, required

## Query parameters

- `depth` string

## Headers

- `X-API-KEY` string, required

## Response `200`

IP Asset Graph found

- IPAssetGraphDto
  - `rootIpId` string, required — The root IP ID for which the graph was generated
  - `parents` IPAssetGraphDtoSchema0[], required — Array of parent IP asset nodes
    - `ipId` string, required — The IP ID of the parent asset
    - `parents` IPAssetGraphDtoSchema0[], required — Array of parent IP asset nodes, empty if no parents are available
  - `children` IPAssetGraphDtoSchema1[], required — Array of child IP asset nodes
    - `ipId` string, required — The IP ID of the child asset
    - `children` IPAssetGraphDtoSchema1[], required — Array of child IP asset nodes, empty if no children are available

---

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