---
title: "Get an Account By Address"
method: GET
path: "/accounts/{address}"
tags: ["Accounts"]
---

# Get an Account By Address

`GET /accounts/{address}`

Get an account data by provided address in latest "sealed" block or by provided block height.

## Path parameters

- `address` string, hexadecimal, required — The 8-byte address of an account.

## Query parameters

- `block_height` union
  - string, uint64
  - 'final' | 'sealed'
- `expand` string[]
- `select` string[]
- `agreeing_executors_count` string, uint64
- `required_executor_ids` Identifier[]
- `include_executor_metadata` boolean

## Response `200`

OK

- Account
  - `address` string, hexadecimal, required — The 8-byte address of an account.
  - `balance` string, uint64, required — Flow balance of the account.
  - `keys` AccountPublicKey[]
    - `index` string, uint64, required — Index of the public key.
    - `public_key` string, hex, required — Hex encoded public key.
    - `signing_algorithm` 'BLSBLS12381' | 'ECDSAP256' | 'ECDSASecp256k1', required
    - `hashing_algorithm` 'SHA2_256' | 'SHA2_384' | 'SHA3_256' | 'SHA3_384' | 'KMAC128', required
    - `sequence_number` string, uint64, required — Current account sequence number.
    - `weight` string, uint64, required — Weight of the key.
    - `revoked` boolean, required — Flag indicating whether the key is active or not.
    - `metadata` Metadata — Contains data about the node's state at the time of the request.
      - `executor_metadata` ExecutorMetadata — Contains data about the execution result used to serve the request.
        - `execution_result_id` string, hexadecimal — A 32-byte unique identifier for an entity.
        - `executor_ids` Identifier[]
  - `contracts` object
  - `metadata` Metadata — Contains data about the node's state at the time of the request.
    - `executor_metadata` ExecutorMetadata — Contains data about the execution result used to serve the request.
      - `execution_result_id` string, hexadecimal — A 32-byte unique identifier for an entity.
      - `executor_ids` Identifier[]
  - `_expandable` AccountExpandable, required
    - `keys` string
    - `contracts` string
  - `_links` Links
    - `_self` string

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/onflow/apis/access-api.md) · [All operations](https://skmtc.net/onflow/apis/access-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onflow/access-api/versions/fd121c1fddf8/schema)
