Coinbase icon

Coinbase

Interact with Coinbase Advanced Trade API

Actions9

Account → Get All

AI-generated

Overview

This node interacts with the Coinbase Advanced Trade API to manage account information. Specifically, the 'Account - Get All' operation retrieves all accounts (wallet holdings) associated with the authenticated Coinbase user. This is useful for users who want to programmatically access their Coinbase account balances and holdings within an n8n workflow.

Use Case Examples

  1. A user wants to fetch all their Coinbase wallet accounts to display current balances in a dashboard.
  2. An automated workflow retrieves all Coinbase accounts to trigger alerts if certain asset balances fall below a threshold.

Output

JSON

  • id - The unique identifier of the Coinbase account.
  • currency - The currency type of the account (e.g., BTC, USD).
  • balance
    • amount - The amount of currency held in the account.
    • currency - The currency of the balance amount.
  • available
    • amount - The amount available for trading or withdrawal.
    • currency - The currency of the available amount.
  • hold
    • amount - The amount currently on hold (e.g., pending transactions).
    • currency - The currency of the hold amount.
  • profile_id - The profile ID associated with the account.
  • trading_enabled - Indicates if trading is enabled for the account.

Dependencies

  • Requires an API key credential for Coinbase API authentication.

Troubleshooting

  • Common issues include missing or invalid API credentials, resulting in authentication errors.
  • API rate limits or network issues may cause request failures; ensure stable internet connection and valid API usage limits.
  • Error messages from the Coinbase API are propagated; check the error description for details such as invalid parameters or permission issues.

Links

Discussion