# Get account information.

GET

`/v2/accounts/{address}`

Given a specific account public key, this call returns the account’s status, balance and spendable amounts

## Authorizations

- **[api_key](https://dev.algorand.co/reference/rest-api/algod/#api_key)**

## Parameters

### Path Parameters

**address**  
required  
string  
`/[A-Z0-9]{58}/`  
An account public key.

### Query Parameters

**exclude**  
Array<string>  
Allowed values:  all  none  created-apps-params  created-assets-params  
Exclude additional items from the account. Use `all` to exclude asset holdings, application local state, created asset parameters, and created application parameters. Use `created-apps-params` to exclude only the parameters of created applications (returns only application IDs). Use `created-assets-params` to exclude only the parameters of created assets (returns only asset IDs). Multiple values can be comma-separated (e.g., `created-apps-params,created-assets-params`). Note: `all` and `none` cannot be combined with other values. Defaults to `none`.

**format**  
string  
Allowed values:  json  msgpack  
Configures whether the response object is JSON or MessagePack encoded. If not provided, defaults to JSON.

## Responses

### 200  
Account information at a given round.

#### AccountResponse  
- **address**: The account public key  
- **amount**: total number of MicroAlgos in the account (integer format: uint64)  
- **amount-without-pending-rewards**: Specifies the amount of MicroAlgos in the account, without the pending rewards (integer format: uint64)  
- **apps-local-state**: applications local data stored in this account (Array<object>)  
  - **id**: The application which this local state is for (integer)
  - **key-value**: Represents a key-value store for use in an application (Array<object>)  
    - **key**: string  
    - **value**: Represents a TEAL value.
      - **bytes**: required bytes value (string)  
      - **type**: value type (integer)
      - **uint**: uint value (integer format: uint64)
  - **schema**: Specifies maximums on the number of each type that may be stored (object)  
    - **num-byte-slice**: num of byte slices (integer format: uint64)
    - **num-uint**: num of uints (integer format: uint64)
- **apps-total-extra-pages**: the sum of all extra application program pages for this account (integer format: uint64)
- **assets**: assets held by this account (Array<object>)  
  - **amount**: number of units held (integer format: uint64)
  - **asset-id**: Asset ID of the holding (integer)
  - **is-frozen**: whether or not the holding is frozen (boolean)
  - **auth-addr**: the address against which signing should be checked (string)
- **total-apps-opted-in**: The count of all applications that have been opted in (integer format: uint64)
- **total-assets-opted-in**: The count of all assets that have been opted in  (integer format: uint64)

### 400  
Bad request

#### Error Response  
- **message**: string

### 401  
Invalid API Token

#### Error Response  
- **message**: string

### 500  
Internal Error

#### Error Response  
- **message**: string

### default  
Unknown Error
