GET "fapi/v2/balance" API-key format invalid

Hi All,
I use GET “fapi/v2/balance” endpoint to get future wallet balance by using:[API_KEY]&signature=[SECRET_KEY]” on browser.
But server return error:

{"code":-2014,"msg":"API-key format invalid."}

API_KEY was copied from my account which just create.
I don’t know why ?

Please help!
Thank in advanced !


You have the format wrong. You need to pass the API Key as a header, eg. curl -H "X-MBX-APIKEY: [API_KEY]..... and the signature is not simply your secret_key, there are more steps than that. It involves signing the complete queryString/request body with your secret_key. The process is outlined in the documentation link below.

Refer to this section of the Documentation and make sure to read and understand it thoroughly: Binance API Documentation

Ok thank you!