Skip to content
For LLMsView as Markdown·

Coinbase ​

Buy, sell, and manage cryptocurrency with accounts and spot prices via the Coinbase API.

DetailValue
CategoryFinance
Base URLhttps://api.coinbase.com/v2
AuthenticationBearer Token
Endpoints3
Connector keycoinbase

Using Coinbase in a workflow ​

  1. Go to Connections and click New Connection.
  2. Pick Coinbase from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown. The full list is below.

Available endpoints ​

EndpointSummary
GET /accountsList cryptocurrency accounts
POST /accounts/{id}/buysBuy cryptocurrency
GET /prices/{pair}/spotGet spot price for a currency pair

Each endpoint is documented in full below. Use the outline on the right to jump to one.

GET /accounts ​

List cryptocurrency accounts

DetailValue
Operation IDfintech.listCryptoAccounts
MethodGET
Path/accounts

Parameters ​

No parameters.

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Coinbase connection from the Connection dropdown.
  3. In the Operation dropdown, select fintech.listCryptoAccounts.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Coinbase API reference.

POST /accounts/{id}/buys ​

Buy cryptocurrency

DetailValue
Operation IDfintech.createBuy
MethodPOST
Path/accounts/{id}/buys

Parameters ​

NameLocationTypeRequired
idpathstringYes

Request Body ​

FieldType
amountstring
currencystring

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Coinbase connection from the Connection dropdown.
  3. In the Operation dropdown, select fintech.createBuy.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Coinbase API reference.

GET /prices/{pair}/spot ​

Get spot price for a currency pair

DetailValue
Operation IDfintech.getSpotPrice
MethodGET
Path/prices/{pair}/spot

Parameters ​

NameLocationTypeRequired
pairpathstringYes

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Coinbase connection from the Connection dropdown.
  3. In the Operation dropdown, select fintech.getSpotPrice.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Coinbase API reference.