To download your purchased datasets, you'll connect to the Coinbase Data Marketplace SFTP service. A variety of SFTP clients are supported. A detailed guide on different clients is covered here. Expand the sections below for steps on how to connect via SFTP based on your device.
To connect via SFTP on your Linux or macOS, run the command:
$ sftp -i <key-file> <username>@<marketplace-endpoint>
For example:
$ sftp -i coinbase-marketplace-key
8a16c415-1d8a-5be3-8931-7bf9617f7b3b@download.data.coinbase.com
If you have trouble, perform a connectivity check to confirm you can reach the SFTP service endpoint and then retry running the command.
$ nc -vz download.data.coinbase.com 22
You'll see the following response if your connectivity check is successful:
Connection to download.data.coinbase.com port 22 [tcp/ssh] succeeded!
You should see a “succeeded!” response if your network connection allows you to reach the SFTP service endpoint.