---
title: "GET /accounts/{pubkey}/height/{height}"
method: GET
path: "/accounts/{pubkey}/height/{height}"
tags: ["external", "account"]
---

# GET /accounts/{pubkey}/height/{height}

`GET /accounts/{pubkey}/height/{height}`

Get an account by public key after the opening key block of the generation at height

## Path parameters

- `pubkey` string, required
- `height` integer, required

## Response `200`

Successful operation

- Account
  - `id` string, required — Base58Check encoded tagged pubkey
  - `balance` integer, required
  - `nonce` integer, required
  - `payable` boolean — Payable
  - `kind` 'basic' | 'generalized'
  - `contract_id` string — Base58Check encoded tagged pubkey
  - `auth_fun` string — Name of authorization function for generalized account

## Other responses

- `400` — Invalid public key or invalid height
- `404` — Account not found or height not available
- `503` — The node is temporarily unable to handle the request: either its request queues are saturated (overload protection) or it has not yet reached a stable mode. Overload protection is applied to every endpoint, so this response can be returned by any operation. The Retry-After header tells the client how long to back off before retrying.

---

[API](https://skmtc.net/aeternity/apis/aeternity-node.md) · [All operations](https://skmtc.net/aeternity/apis/aeternity-node/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aeternity/aeternity-node/versions/597a254980b2/schema)
