---
title: "Add an exchange account"
method: POST
path: "/exchange_accounts"
tags: ["Exchange accounts"]
---

# Add an exchange account

`POST /exchange_accounts`

## Request

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

Add an exchange account to exchanges. 

Note: This endpoint currently only supports the following exchanges `INDEPENDENT_RESERVE`,`BIT`, `BITHUMB`, `BITSO`, `CRYPTOCOM`, `BYBIT_V2`, `WHITEBIT`, `HITBTC`, `GEMINI`, `HUOBI`, `GATEIO`, `COINHAKO`, `BULLISH`, `BITGET`, and `LUNO`

To add an exchange account, please use the following [guide](https://developers.fireblocks.com/docs/add-an-exchange-account).

## Headers

- `Idempotency-Key` string

## Request body

- AddExchangeAccountRequest
  - `exchangeType` 'INDEPENDENT_RESERVE' | 'ENCLAVE_MARKETS' | 'BIT' | 'COINFLEX' | 'KUCOIN' | 'PXS' | 'LIQUID' | 'BITHUMB' | 'BITFINEX' | 'BITSO' | 'BITSTAMP' | 'KRAKEN' | 'KRAKENINTL' | 'BINANCE' | 'BINANCEUS' | 'CRYPTOCOM' | 'BYBIT_V2' | 'COINBASEPRO' | 'COINBASEPRIME' | 'COINBASEINTERNATIONAL' | 'WHITEBIT' | 'COINBASEEXCHANGE' | 'KORBIT' | 'HITBTC' | 'GEMINI' | 'CIRCLE' | 'BITMEX' | 'HUOBI' | 'DERIBIT' | 'OKCOIN_V5' | 'OKEX' | 'COINMETRO' | 'GATEIO' | 'SCRYPT' | 'COINHAKO' | 'LIGHTBIT' | 'BULLISH' | 'CANVAS_CONNECT' | 'BITGET' | 'LUNO' | 'BIT_GENERA' | 'TRANSFERO', required: Exchange account's type
  - `name` string, required: Display name of the exchange account
  - `creds` string: Encrypted credentials
  - `key` string: Api key of the exchange
  - `mainAccountId` string: Optional - main account id of the exchange

## Response `201`

An Exchange Account identifier object

- AddExchangeAccountResponse
  - `id` string: Exchange account's identifier
  - `name` string: Display name of the exchange account
  - `exchangeType` 'INDEPENDENT_RESERVE' | 'ENCLAVE_MARKETS' | 'BIT' | 'COINFLEX' | 'KUCOIN' | 'PXS' | 'LIQUID' | 'BITHUMB' | 'BITFINEX' | 'BITSO' | 'BITSTAMP' | 'KRAKEN' | 'KRAKENINTL' | 'BINANCE' | 'BINANCEUS' | 'CRYPTOCOM' | 'BYBIT_V2' | 'COINBASEPRO' | 'COINBASEPRIME' | 'COINBASEINTERNATIONAL' | 'WHITEBIT' | 'COINBASEEXCHANGE' | 'KORBIT' | 'HITBTC' | 'GEMINI' | 'CIRCLE' | 'BITMEX' | 'HUOBI' | 'DERIBIT' | 'OKCOIN_V5' | 'OKEX' | 'COINMETRO' | 'GATEIO' | 'SCRYPT' | 'COINHAKO' | 'LIGHTBIT' | 'BULLISH' | 'CANVAS_CONNECT' | 'BITGET' | 'LUNO' | 'BIT_GENERA' | 'TRANSFERO': Exchange account's type

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