# How to get an account by ID · Chromia Docs (concept)

> This recipe demonstrates how to retrieve an account from the Chromia blockchain by its ID using the FT4 library.

Source: https://docs.chromia.com/build/cookbook/data-inspection/get-account-by-id/

# How to get an account by ID

On this page

* [Prerequisites](#prerequisites)
* [Demo script](#demo-script)
* [Learn more](#learn-more)

This recipe demonstrates how to retrieve an account from the Chromia blockchain by its ID using the FT4 library.

JS/TS client

## Prerequisites

* **Node.js**
* **FT4 client:** `npm install @chromia/ft4@2.1.0`
* **Postchain client:** `npm install postchain-client@^2.1.0`

## Demo script

* [Get account by ID demo](https://bitbucket.org/chromawallet/recipes/src/main/get_account_by_id/)

## Learn more

* [FT4 client documentation](https://docs.chromia.com/build/clients/ft4-client/) — covers account management and FT4 operations.
* [Account management](https://docs.chromia.com/build/ft4/account-management/) — detailed guide on FT4 account operations.
* [JavaScript/TypeScript client](https://docs.chromia.com/build/clients/postchain-clients/javascript-typescript/reference/) — covers setup, connection,
  and usage patterns.

[View this page on docs.chromia.com](https://docs.chromia.com/build/cookbook/data-inspection/get-account-by-id/)Content mirrored from the live docs
