Guide
Does Coinbase US have an API?
Yes. Coinbase US has an API for spot trading. You create a Secret API key in the Coinbase Developer Platform. Pick ECDSA as the signature algorithm. A TradingView alert can't call the API itself. It posts to Nyria's webhook, and the bot places the order. Nyria connects Coinbase US in beta with the key name and private key.
Official documentation
Connect Coinbase US in six steps
- 1
Open Secret API Keys
Go to the Coinbase Developer Platform. Under API Keys, select Secret API Keys.
- 2
Start a new key
Select Create API key and enter a nickname.
- 3
Set the permissions
Pick your portfolio. Turn on View and Trade. Leave Transfer off. Choose ECDSA as the signature algorithm.
- 4
Save the key
Select Create API key. Save the key name and the private key somewhere safe.
- 5
Connect Coinbase US in Nyria
Open the Coinbase US card on Integrations. Paste the key name and the whole private key.
- 6
Point TradingView at Nyria
Create a strategy with TradingView as the source. Under Notifications, tick Webhook URL, paste the strategy's URL, then select Apply.
What the API does
- Coinbase's API reads balances and orders.
- It places and cancels spot orders.
- Each request is signed with your private key.
- A key covers the portfolio you pick.
Why an alert can't call it
- A TradingView alert sends a webhook.
- It can't sign a Coinbase request.
- Something has to place the order.
- Nyria is that receiver, and it never places an order by itself.
- Your alerts and strategy rules decide every entry and exit.
How Nyria connects Coinbase US
- You paste the key name and the whole private key once.
- Nyria stores the key encrypted at rest.
- It fills in the account number from the key.
- It has no feature that moves money.
- An IP allowlist is recommended by Coinbase, not required.
What it can't do
- Use an Ed25519 key. Coinbase's docs say to choose ECDSA.
- Move money. Leave Transfer off.
- Trade stocks. This connection is crypto spot.
Questions
- Can a TradingView alert call the Coinbase API?
- No. An alert sends a webhook. Nyria receives it and places the order.
- Does Nyria need Transfer permission?
- No. Leave Transfer off. Nyria needs View and Trade only.
- Which signature algorithm works?
- ECDSA. Coinbase's docs say Ed25519 keys may fail.
- Coinbase or Coinbase US: which card do I pick?
- Nyria lists two cards. Both use the same kind of key. Paste it into the card for the one you trade.
- Can I test before using real money?
- Yes. Run the strategy on Nyria Paper first. It's free.
Next
- Paste an alert into the alert tester to see how Nyria reads it.
- Step by step for one account: how to automate TradingView to Nyria Paper.
- Step by step for one account: how to automate Webhook to Nyria Paper.
- Coinbase US integration.
Guides
How broker API trading works
What a broker API does and does not do, and the receiver that reads your alerts and places the orders for you.
Read guideCan Nyria withdraw money from my broker account?
No. Nyria reads balances and sends orders. Your cash stays at your broker.
Read guideHow do I make a Coinbase US API key for Nyria?
Make a Secret API key with View and Trade on, Transfer off and ECDSA. Paste it on the Coinbase US card.
Read guideWhy does Nyria say Coinbase US rejected this key?
Paste the whole key name and the whole private key again, line breaks included.
Read guideWhy does Nyria say Coinbase US trading is off for my key?
Turn on View and Trade on the key, then paste both values again.
Read guideTry a paper bot first
No card required. Paper is free. Live trading from $15 a month.