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

# GET /accounts/{pubkey}

`GET /accounts/{pubkey}`

Get an account by public key

## Path parameters

- `pubkey` string, 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
- `404` — Account not found
- `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)
