---
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

---

[API](https://skmtc.dev/aeternity/apis/aeternity-node.md) · [All operations](https://skmtc.dev/aeternity/apis/aeternity-node/llms.txt) · [OpenAPI document](https://skmtc.dev/aeternity/apis/aeternity-node/revisions/fc941257ee12?raw)
