Skip to main content
Robinhood - API Import Guide

Learn how to automatically import your Robinhood transactions into CoinLedger

David Kemmerer avatar
Written by David Kemmerer
Updated this week

CoinLedger only needs "Read" or "View" access to import your trade history. This permission protects your accounts. Learn more about API access in this article here.

Jump ahead with this table of contents:

Step-by-Step Import Instructions

Step 1

Log into your Robinhood account on their desktop site, linked here. Then, select Account in the top right corner of the screen.

Step 2

From the drop down menu select Settings. On the next page, select the Crypto tab under your name.

Step 3

Scroll down to the API Trading section, then press + Add Key.

Step 4

Next, you will need to create a public and private API key for your crypto transactions according to Robinhood's instructions. Please see those instructions HERE. Save each of these keys to somewhere safe.

Step 5

Once you have created your public and private keys, paste the Public Key into the Public key field shown below (hang onto the Private Key as you will need it later). Next, add a Key name, and set all of the Allowed API actions to READ ONLY.

For the expiration date, set it as far into the future as Robinhood allows.

Then, press Save.
โ€‹

Once you press Save, an API key generated by Robinhood will appear on your screen. This key typically starts with "rh...". Copy that key down, and head over to CoinLedger!

Step 6

In CoinLedger, navigate to the Import stage. Select Add Account then choose the Robinhood tab on CoinLedger. Click on Auto-Import then enter your API Key into the API Key field. Repeat this process for the Public and Private Keys. Then, click Sync Transactions.

When importing your transaction history via API, you will have the option to specify a start date for your import. This feature is designed to prevent duplicate data from being imported. You can access this feature by hitting the Import Settings drop down menu, as shown below, and then specifying a date for your import to start from. All transactions after this date will be imported. You should not do this if you are importing all of your transactions into CoinLedger for the first time.

Robinhood Import Limitations

Due to built-in limitations in Robinhood's API, deposits and withdrawals in and out of your Robinhood account will not be included in your API import. These will be missing from your imports but can be added to CoinLedger manually.

Learn more about when you should import self transfers between your wallets/exchange accounts in this guide.
โ€‹

Did this answer your question?