---
title: "Get account info"
method: GET
path: "/v2/accounts/{principal}"
tags: ["Accounts"]
---

# Get account info

`GET /v2/accounts/{principal}`

Get the account data for the provided principal

Where balance is the hex encoding of a unsigned 128-bit integer (big-endian), nonce is a unsigned 64-bit integer, and the proofs are provided as hex strings.

For non-existent accounts, this does not 404, rather it returns an object with balance and nonce of 0.

## Path parameters

- `principal` string, required

## Query parameters

- `proof` integer
- `tip` string

## Response `200`

Success

- GetAccountDataSchemaJson — unresolved $ref

## Changes

- **2021-12-01** `09258b775c7a` — 1 warning
  - deleted the `query` request parameter `use_latest_tip`
- **2021-11-17** `f936683f3e46` — 1 info
  - added the new optional `query` request parameter `use_latest_tip`
- **2021-10-13** `aef805fa1fb4` — 1 warning
  - deleted the `query` request parameter `use_latest_tip`
- **2021-07-29** `40964fcc538a` — 1 breaking
  - for the `query` request parameter `use_latest_tip`, the type changed from `string` to `boolean`
- **2021-07-23** `df3a58543ff9` — 1 info
  - added the new optional `query` request parameter `use_latest_tip`

[Change history](https://skmtc.dev/hirosystems/apis/stacks-2-0-rpc-api/changes/v2/accounts/:principal/get.md)

---

[API](https://skmtc.dev/hirosystems/apis/stacks-2-0-rpc-api.md) · [All operations](https://skmtc.dev/hirosystems/apis/stacks-2-0-rpc-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hirosystems/stacks-2-0-rpc-api/revisions/7a7617c2d7cc/schema)
