Connect TradingView → Coinbase via AlgoWay

Execute your TradingView strategy signals through Coinbase by routing alerts to AlgoWay webhooks.

How to connect Coinbase API to AlgoWay

Prerequisites

  • Coinbase account with the required trading access enabled.
  • AlgoWay account with access to the Webhooks dashboard.
  • TradingView plan that supports webhook alerts.
When creating the Coinbase API key, whitelist the AlgoWay server IP shown in your dashboard and do not enable transfer permissions.

Step 1 — Create Coinbase API Key

1

Open the Coinbase API key creation screen and set an API key nickname, for example AlgoWay.

Coinbase Create API Key screen with permissions and IP whitelist
Create a Coinbase API key for AlgoWay. Keep View and Trade enabled, keep Transfer disabled, and add the AlgoWay IP to the whitelist.
2

Choose the portfolio you want to use, for example Primary.

3

Enable these permissions:

  • View (read-only)
  • Trade (execute trades on your behalf)
4

Leave Transfer (initiate transfer of funds) disabled.

5

In IP whitelist, add the AlgoWay server IP shown in the dashboard, for example 103.241.67.174, then click Create & download.

Coinbase API key created successfully modal showing API key name and private key
Save the API key name and the Private key immediately. The private key cannot be downloaded again.
If the private key is lost, delete the key and create a new one. Do not expose the private key publicly.

Step 2 — Add Webhook in AlgoWay

1

In AlgoWay Dashboard open Add Trial Webhook or Add Main Webhook.

AlgoWay Add Trial Webhook form filled for Coinbase
Set Platform = Coinbase, choose your market and trade settings, then paste your Coinbase API credentials.

Required fields

  • Source: TradingView
  • Platform: Coinbase
  • Quantity Multiplier: as needed, for example Absolute 1
  • Market Type: Futures/Perpetual
  • Margin Mode: Cross or your selected mode
  • Trade Type: Reverse/Netting, Hedge, or your preferred mode
  • Account Type: Live
  • API Key Name: the Coinbase API key name
  • Private Key: the Coinbase private key
Save the webhook. AlgoWay will create a dedicated webhook entry for your Coinbase connection.

Step 3 — Test Webhook in AlgoWay

1

Open Webhook Logs in AlgoWay and click Test Webhook.

AlgoWay Send Test Webhook modal for Coinbase
Select your Coinbase webhook and prepare a small test order.
2

Fill the test form with:

  • Symbol
  • Quantity
  • Action = Buy or Sell
  • Close Side if needed for hedge mode
3

You can also use optional fields such as SL Price, TP Price, Stop Loss, Take Profit, and Trailing Pips.

4

Click Send and verify that the test request is accepted.

Step 4 — Copy Webhook URL

1

Open Dashboard → Your Webhooks in AlgoWay.

AlgoWay dashboard showing Coinbase webhook entry
Find the row where Platform is Coinbase and copy the webhook UUID or URL.
2

Click the webhook UUID or the copy action to copy your full AlgoWay webhook URL.

Your webhook URL is unique. Use only your own URL and do not share it publicly.

Step 5 — TradingView JSON Payload

Message (JSON)

Use the following JSON in the TradingView alert message:

{
  "platform_name": "coinbase",
  "ticker": "{{ticker}}",
  "order_contracts": "{{strategy.order.contracts}}",
  "order_action": "{{strategy.market_position}}",
  "price": "{{close}}"
}
TradingView will automatically replace {{ticker}}, {{strategy.order.contracts}}, {{strategy.market_position}}, and {{close}} when the alert is triggered.
TradingView alert message window with Coinbase JSON
Paste the Coinbase JSON template into the TradingView alert message field.

Step 6 — Create TradingView Alert

1

Create or edit your TradingView strategy alert on the chart you want to automate.

TradingView create alert window for Coinbase
Use your strategy alert, confirm the message block, and open the notifications settings.
TradingView Notifications section with Webhook URL enabled for AlgoWay Coinbase webhook
Enable Webhook URL in TradingView notifications and paste your AlgoWay Coinbase webhook URL.
2

In Notifications enable Webhook URL and paste the AlgoWay Coinbase webhook link from Step 4.

3

Click Apply, then Create to save the alert.

Verification & Logs

  • Trigger a small test alert first.
  • Open Webhook Logs in AlgoWay and verify the incoming JSON and the Coinbase response.
  • Check your Coinbase account to confirm that the order or position was processed correctly.
If the order is not created, check API permissions, IP whitelist, webhook URL, JSON format, and the TradingView alert condition.

FAQ / Notes

  • API fields: this setup uses API Key Name and Private Key.
  • Permissions: keep View and Trade enabled.
  • Transfer permission: keep it disabled for this integration.
  • IP Restriction: whitelist the AlgoWay IP shown in your dashboard.
  • Webhook URL: each webhook is unique and tied to your AlgoWay entry.
  • Security: if the private key was exposed, delete the key and generate a new one.
© AlgoWay — Automated trading via webhooks. This guide is provided for educational purposes. Trading involves risk.