> For the complete documentation index, see [llms.txt](https://docs.txn.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.txn.io/accounts/listing-account-addresses.md).

# Listing account addresses

<mark style="color:green;">`GET`</mark> `/api/public/v1/accounts/:id/addresses`

Returns the receiving addresses of a crypto account, newest first by default, with the network of each address in `included[]`. An address created moments ago can still have `value` `null`; poll until it is set. Results are paginated.

**Headers**

| Name          | Value                      |
| ------------- | -------------------------- |
| Content-Type  | `application/vnd.api+json` |
| Authorization | `Bearer <api_key>`         |

**Path Parameters**

| Name | Type   | Description |
| ---- | ------ | ----------- |
| id   | string | Account ID. |

**URL Parameters**

| Name        | Type   | Description                                                                                                                                                                                                                                            |
| ----------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| network\_id | string | Return only addresses on this network. Use the network ID from `included[].type(network).id` on this page or from `relationships.networks` on [Reading account](https://docs.txn.io/accounts/reading-account.md). An unknown ID returns an empty list. |
| order       | string | Field to sort by. Can be `created_at` or `updated_at`. Defaults to `created_at`.                                                                                                                                                                       |
| order\_type | string | Sort direction. Can be either `asc` or `desc`. Defaults to `desc`.                                                                                                                                                                                     |
| page        | number | Page for which you want to return addresses.                                                                                                                                                                                                           |
| per\_page   | number | Number of addresses per page to return.                                                                                                                                                                                                                |

**cURL**

```bash
curl -G "https://api.sandbox.txn.io/api/public/v1/accounts/e289de2b-37bd-4eff-b832-f754c31a2d95/addresses" \
     -H 'Content-Type: application/vnd.api+json' \
     -H 'Authorization: Bearer <api_key>' \
     --data-urlencode 'order=created_at' \
     --data-urlencode 'order_type=desc' \
     --data-urlencode 'per_page=50'
```

**Response**

{% tabs %}
{% tab title="HTTP 200" %}

```json
{
  "data": [
    {
      "id": "138928d2-769d-478f-9508-90b7e4f8942a",
      "type": "addresses",
      "attributes": {
        "label": "Apr 11",
        "value": "TUbHdtAyfeiWTJPzF12gcBnpLtmLo3qgkS",
        "createdAt": "2025-04-11T07:19:09.729Z"
      },
      "relationships": {
        "account": {
          "meta": {
            "included": false
          }
        },
        "network": {
          "data": {
            "type": "network",
            "id": "8ededca3-a1cd-4b46-8c3a-14915f706ab2"
          }
        }
      }
    }
  ],
  "included": [
    {
      "id": "8ededca3-a1cd-4b46-8c3a-14915f706ab2",
      "type": "network",
      "attributes": {
        "currencyCode": "USDT",
        "name": "Tron (TRC20)",
        "code": "ttrx:usdt"
      }
    }
  ],
  "meta": {
    "page": 1,
    "per_page": 1,
    "total": 22
  },
  "jsonapi": {
    "version": "1.0"
  }
}
```

{% endtab %}
{% endtabs %}

**Response Body**

| Name                                               | Type   | Description                                                                                                                                                       |
| -------------------------------------------------- | ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `data[].id`                                        | string | Address ID.                                                                                                                                                       |
| `data[].type`                                      | string | Entity type returned. Always `addresses`.                                                                                                                         |
| `data[].attributes.label`                          | string | Address label, as set at creation.                                                                                                                                |
| `data[].attributes.value`                          | string | The address string. `null` while the address is still being generated — see [Creating account address](https://docs.txn.io/accounts/creating-account-address.md). |
| `data[].attributes.createdAt`                      | string | ISO 8601 timestamp of when the address was created.                                                                                                               |
| `data[].relationships.account`                     | object | Not expanded (`meta.included` is `false`). The account in the path.                                                                                               |
| `data[].relationships.network`                     | object | The network the address belongs to. `data.type` is `network`; the entity is returned in `included[]`.                                                             |
| `included[].type(network)`                         | object | The network of an address (`data[].relationships.network`).                                                                                                       |
| `included[].type(network).id`                      | string | Network ID. Use it as `network_id` when [creating an account address](https://docs.txn.io/accounts/creating-account-address.md).                                  |
| `included[].type(network).attributes.currencyCode` | string | Network currency code.                                                                                                                                            |
| `included[].type(network).attributes.name`         | string | Human-readable network name, e.g. `Tron (TRC20)`.                                                                                                                 |
| `included[].type(network).attributes.code`         | string | Network code, e.g. `ttrx:usdt`. See [Supported currencies](https://docs.txn.io/api-basics/supported-currencies.md).                                               |
| `meta.page`                                        | number | Current page number.                                                                                                                                              |
| `meta.per_page`                                    | number | Page size used for the response.                                                                                                                                  |
| `meta.total`                                       | number | Total number of addresses on the account.                                                                                                                         |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.txn.io/accounts/listing-account-addresses.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
