# AccountAssetsInformation - Algorand

> Example code for the AccountAssetsInformation REST method. Complete guide on how to use AccountAssetsInformation REST in GetBlock Web3 documentation.

Lookup an account's asset holdings.

## Endpoint

```http
GET /v2/accounts/{address}/assets
```

## Path Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| address | string | Yes | An account public key. |

## Query Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| limit | integer | Optional | Maximum number of results to return. |
| next | string | Optional | The next page of results. Use the next token provided by the previous results. |

## Example

```bash
export ALGO_ALGOD=https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/

curl "${ALGO_ALGOD}v2/accounts/REPLACE_ADDRESS/assets"
```

## Response

Returns `application/json`. Top-level fields:

| Field | Type | Description |
| --- | --- | --- |
| asset-holdings | array | — |
| next-token | string | Used for pagination, when making another request provide this token with the next parameter. |
| round | integer | The round for which this information is relevant. |

## Error Handling

| Error | Message | Description |
| --- | --- | --- |
| 400 | Bad request | A parameter was missing or malformed |
| 404 | Not found | The requested resource does not exist |
| 403 / RBAC: access denied | Access denied | The GetBlock access token is missing or incorrect |
