---
title: "Get public key to encrypt exchange credentials"
method: GET
path: "/exchange_accounts/credentials_public_key"
tags: ["Exchange accounts"]
---

# Get public key to encrypt exchange credentials

`GET /exchange_accounts/credentials_public_key`

## Request

- Base URL: `https://api.fireblocks.io/v1`
- URL: `https://api.fireblocks.io/v1/exchange_accounts/credentials_public_key`
- Auth: none declared
- TypeScript: <https://skmtc.dev/fireblocks/apis/fireblocks-api/docs/exchange_accounts/credentials_public_key/get.ts> (a function with typed inputs; its response is checked against the schema)

Return public key

## Response `200`

public key as string

- GetExchangeAccountsCredentialsPublicKeyResponse
  - `publicKey` string, required: Public key string
  - `tenantId` string, required: Tenant identifier

## Other responses

- `default`: Error Response

---

[API](https://skmtc.dev/fireblocks/apis/fireblocks-api.md) - [All operations](https://skmtc.dev/fireblocks/apis/fireblocks-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireblocks/apis/fireblocks-api/revisions/4eba9965659a?raw)
