Skip to content

Guide

Does Binance US have an API?

Yes. Binance.US has an API for spot trading. You create a system-generated key in API Management, in a web browser. It has an API key and a secret key. A TradingView alert can't call the API itself. It posts to Nyria's webhook, and the bot places the order. Nyria connects Binance US in beta with the API key and secret key.

Official documentation

Connect Binance US in six steps

  1. 1

    Open API Management

    Log in on the Binance.US website, hover over your email and select API Management.

  2. 2

    Pick the key type

    Choose system generated. Add a label, finish 2FA and confirm the email.

  3. 3

    Set the permissions

    Keep Read on and turn on Spot Trading. Leave Withdrawals off.

  4. 4

    Copy both keys

    Binance.US shows the secret key once, so copy it now.

  5. 5

    Connect Binance US in Nyria

    Open the Binance US card on Integrations. Paste both keys, then select Connect Binance US.

  6. 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

  • Binance.US's API reads the account and places spot orders.
  • Each request carries your API key and a signature.
  • A system-generated key signs with your secret key.
  • Each key has its own permissions, set when you create it.

Why an alert can't call it

  • A TradingView alert can't call the Binance.US API itself.
  • It sends a webhook. 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 Binance US

  • You paste the API key and the secret key once.
  • Nyria stores the keys encrypted at rest.
  • It reads the account and places and cancels orders.
  • It has no feature that moves money.
  • An IP restriction on the key is optional.

What it can't do

  • Use self-generated Ed25519 or RSA keys. Nyria needs a system-generated key.
  • Use a Binance account. That is a separate connection.
  • Create the key in the mobile app. API Management is on the web.
  • Move money. Withdrawals stay off.

Questions

Can a TradingView alert call the Binance.US API?
No. An alert sends a webhook. Nyria receives it and places the order.
Does Nyria need withdrawals turned on?
No. Leave withdrawals off.
Which key type works?
System generated. Self-generated Ed25519 and RSA keys don't work with Nyria.
Can I make the key in the Binance.US app?
No. The mobile app has no API Management. Use a web browser.
Can I test before using real money?
Yes. Run the strategy on Nyria Paper first. It's free.
Does this cover Binance?
No. Binance is a separate connection with its own key.

Next

Try a paper bot first

No card required. Paper is free. Live trading from $15 a month.