---
title: "Get accounts for an entity"
method: GET
path: "/v1/{id}/accounts"
tags: ["Entity Endpoints"]
---

# Get accounts for an entity

`GET /v1/{id}/accounts`

Returns a list of all the subaccounts this entity owns.

## Path parameters

- `id` string, required

## Response `200`

- EntitySubAccountsResponseDto
  - `accounts` SubAccountDto[], required
    - `id` string, required — The id of this subaccount
    - `type` 'default' | 'subAccount', required — The type of subaccount
    - `name` string, required — The name of the subaccount
    - `address` string, required — The onchain address for this subaccount
    - `ownerId` string, required — The id of the entity that owns this subaccount

---

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