Sending/Receiving with API

Is it possible to send coins to an address via the API? Is it possible to get a receiving address? I used to be able to do this with the older API and I was hoping this functionality would continue with the new V3 API. Thanks!

  • Nick

Hi @Segfault! We appreciate your interest in utilizing Coinbase Cloud products and services, and we’re glad to help.

We would like to inform you that with your intended use cases of sending coins to an address and getting a receiving address via API, we would actually like to suggest that you utilize the Sign In with Coinbase API v2 endpoints instead. But before we relay the relevant information that may suit your needs, we would like to first provide you with a clearer context between the difference of the Advanced Trade API and Sign in with Coinbase. Advanced Trade on Coinbase is our advanced trading platform, intended for a more experienced trader. It offers a secure and easy way to buy, sell, and trade digital assets online across various trading pairs. And even though Advanced Trade API and Sign in with Coinbase is under coinbase.com, Advanced Trade API v3 endpoints do not duplicate core Sign in with Coinbase functions for account deposits, withdrawals, and transactions. Hence, we would like to let you note that Advanced Trade only lets you manage orders, products, and fees with its v3 endpoints. While Sign in with Coinbase lets users easily and securely sign in to your product or service, and lets you integrate Coinbase supported cryptocurrencies into your applications through its v2 endpoints.

For you to be able to send coins to an address and get a receiving address via API, you may refer to the below endpoints of Sign in with Coinbase that could cater to your intended use cases:

  • Send Money endpoint

    • This endpoint allows you to send funds to a blockchain address for any Coinbase supported asset, or the email address of the recipient. No transaction fees are required for off-blockchain cryptocurrency transactions.
    • For more information about the Send Money endpoint, you may go through here.
  • List Addresses endpoint

    • This endpoint lists addresses for an account.
    • For more information about the List Addresses endpoint, you may go through here.

We hope this helps! If you have further questions or clarifications, please do not hesitate to reach out back to us again. Thank you and have a nice day!

Here’s a working NodeJS code example

PS make sure your ‘CB-VERSION’: ‘2023-12-03’ matches the date at your www.coinbase.com/settings/api (bottom-left of page)