---
title: "Get Sub-Accounts"
method: GET
path: "/defi/v1/derivative/getsubaccounts"
tags: ["derivative"]
---

# Get Sub-Accounts

`GET /defi/v1/derivative/getsubaccounts`

## Request

- Base URL: `https://svc.blockdaemon.com`
- URL: `https://svc.blockdaemon.com/defi/v1/derivative/getsubaccounts`
- Auth: API key in header `X-API-Key`

Retrieves details for sub-accounts linked to a given address.

> 💡 
**Compute Unit Value:** `25` (Fixed)

## Query parameters

- `address` string, required: The dYdX wallet address of the user.
- `derivativeId` '1000': The unique identifier for dYdX V4.

## Response `200`

Successful response

- object
  - `status` integer
  - `msg` string
  - `data` object

---

[API](https://skmtc.dev/blockdaemon/apis/blockdaemon-defi-api.md) - [All operations](https://skmtc.dev/blockdaemon/apis/blockdaemon-defi-api/llms.txt) - [OpenAPI document](https://skmtc.dev/blockdaemon/apis/blockdaemon-defi-api/revisions/ec053b7c8041?raw)
