Hey guys, I’m facing a permission issue and I don’t know how to solve it.
I’m trying to convert crypto using the “POST /sapi/v1/convert/getQuote” endpoint has explained in the documentation: https://binance-docs.github.io/apidocs/spot/en/#send-quote-request-user_data
But I get the following error:
{‘code’: -1002, ‘msg’: ‘You are not authorized to execute this request.’}
For me, this is confusing because I can use Convert in the UI so I don’t understand why the API doesn’t let me.
Here are the permissions on my API Key:
Amazing! Day 8 just begun so it should be any day now thanks man!
Btw. Did you figure how we can use the Convert API to create Limit Convert orders like on the website? Or can we only make market orders? I couldnt find anything about the limit orders in the documentation: https://binance-docs.github.io/apidocs/spot/en/#convert-endpoints
@Vladimir_Katrina i dont know man, i want to contact the binance people too, who may be responsible for this. Still have no access… they wrotr as an information during the application that the waiting period may go up to 14 days…
I see that you’ve restricted access to trusted IPs. Have you ensured that the IP you’re using to make the request is whitelisted as part of your trusted IPs?
Yes I did and my IP is whitelisted. I can check my balance, check a crypto’s current price, buy and sell crypto but I get this error only on the convert endpoint.
21.05438538
GET https://api.binance.com/api/v3/account?timestamp=1687341091706&signature=f5598d0fce32b11ebf7be45de4976d2beef7eaeb4aa4be488888402797001540
10
POST https://api.binance.com/sapi/v1/convert/getQuote?fromAsset=USDT&toAsset=BTC&fromAmount=11×tamp=1687341092269&signature=56c0e94a50446765c3ffe804ca4e91db995a1de238f04cf8ab7cafbd1d8fd321
{'code': -1002, 'msg': 'You are not authorized to execute this request.'}
Did you answer the questionnaire for asking permission to use the Convert API? Did you get the permission? I want to use it as well, waiting the response for 2 days now.
Would you like to have access to Binance Convert API? Please complete the questionnaire to submit your request for access. The Convert API service is created for users who wish to automate their trading on Binance Convert. You will receive a confirmation email after we have approved your application.
@cristalgrip I can’t find the reply button in the proper place…
Regarding your question, that’s something I would like to do as well, but couldn’t figure out how to do it. I wonder if it is really possible.