> ## Documentation Index
> Fetch the complete documentation index at: https://apidocs.finrock.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Exchange Integrations — Finrock Supported Exchanges

> Connect Binance, Coinbase, KuCoin, or Okx to Finrock for seamless fund transfers between your custody wallets and connected exchange balances.

Finrock allows you to connect your own exchange accounts directly to your workspace, enabling seamless fund movement between your custody wallets and centralised exchange balances. You bring your exchange API credentials, add them through the Finrock dashboard, and Finrock handles secure connectivity from that point forward. Once connected, you can view real-time balances, initiate transfers to and from exchanges, and define automated spending rules — all within the same platform you use for on-chain custody.

## Supported Exchanges

The following centralised exchanges are supported for integration:

<CardGroup cols={2}>
  <Card title="Binance" icon="building-columns">
    Connect your Binance account using a Binance API key and secret.
  </Card>

  <Card title="Coinbase" icon="building-columns">
    Connect your Coinbase Exchange or Coinbase Advanced account.
  </Card>

  <Card title="KuCoin" icon="building-columns">
    Connect your KuCoin account using KuCoin API credentials.
  </Card>

  <Card title="Okx" icon="building-columns">
    Connect your Okx account using your Okx API key, secret, and passphrase.
  </Card>
</CardGroup>

## How Exchange Integration Works

<Steps>
  <Step title="Generate API credentials on your exchange">
    Log in to your exchange account and create a new API key. Ensure it has read and withdrawal permissions as required for your use case.
  </Step>

  <Step title="Add credentials in the Finrock dashboard">
    Navigate to the **Exchanges** section in your Finrock dashboard and enter your API key and secret. Finrock encrypts and stores these credentials securely.
  </Step>

  <Step title="Verify the connection">
    After saving, Finrock validates the credentials by fetching your exchange account details. A successful connection appears in your list of exchange accounts.
  </Step>

  <Step title="Transfer funds via web or API">
    Once connected, you can move funds between your Finrock wallets and the exchange through the dashboard UI or programmatically using the Finrock REST API.
  </Step>
</Steps>

## Using Exchanges in Transactions

When creating a transaction via the API, set `destination_type` or `source_type` to `EXCHANGE` to route funds to or from a connected exchange account.

```json theme={null}
{
  "source_type": "INTERNAL",
  "destination_type": "EXCHANGE",
  "asset": "USDT",
  "amount": 500
}
```

<Note>
  Finrock does not hold exchange credentials in plaintext. All API keys are encrypted at rest and never exposed through any Finrock API response.
</Note>

## Related Endpoints

<CardGroup cols={2}>
  <Card title="List Exchange Accounts" href="/api-reference/exchanges/list-exchange-accounts">
    Retrieve all exchange accounts connected to your workspace.
  </Card>

  <Card title="Exchange Balance" href="/api-reference/exchanges/exchange-balance">
    Fetch the current asset balances from a connected exchange.
  </Card>
</CardGroup>
