Search Knowledge Base by Keyword

Binance Invalid API Key

In order to connect to the Binance API, your computer clock needs to be accurate. If it isn’t accurate, you may receive an error stating that your API key is invalid. In order to resolve this issue, you will need to sync your computer clock to an internet time server. A quick internet search should reveal how to do this for the operating system you’re running.

Please also make sure you copy and paste your API key and secret key, as typing it out could result in an error.

Do you have any IP address restrictions on the key? You may need to remove IP address restrictions or set the key to unrestricted.

If none of these suggestions work, you can try creating a new API key. The directions are available from Binance’s website linked below:
https://www.binance.com/en/support/faq/360002502072