Coinbase

Explore crypto like Bitcoin, Ethereum, and Dogecoin. Simply and securely buy, sell, and manage hundreds of cryptocurrencies.

Integrate the Coinbase API with the Bash API

Setup the Coinbase API trigger to run a workflow which integrates with the Bash API. Pipedream's integration platform allows you to integrate Coinbase and Bash remarkably fast. Free for developers.

Run Bash Code with Bash API on New Transactions from Coinbase API
Coinbase + Bash
 
Try it
New Transactions from the Coinbase API

New Transactions. See the docs here

 
Try it
Run Bash Code with the Bash API

Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.

 
Try it
Place Buy Order with the Coinbase API

Places a buy order

 
Try it
Withdraw Funds with the Coinbase API

Withdraw funds

 
Try it

Overview of Coinbase

The Coinbase API on Pipedream allows you to craft automated workflows that can manage your cryptocurrency assets efficiently. Through the API, you can get real-time information about exchange rates, your transaction history, and account balances. Automate buying and selling decisions based on set criteria, receive notifications for price changes, and synchronize your Coinbase data with other financial tracking tools.

Connect Coinbase

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    coinbase: {
      type: "app",
      app: "coinbase",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.coinbase.com/v2/user`,
      headers: {
        Authorization: `Bearer ${this.coinbase.$auth.oauth_access_token}`,
        "CB-VERSION": "2021-11-16",
      },
    })
  },
})

Connect Bash

1
2
3
4
5
6
7
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id

# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS