Forums

blocked from binance api

hello I am using Pythonanywhere to create and use crypto-related telegram bots. However, it seems that pythonanywhere has been blocking the "https://api.binance.com/" site for quite some time (probably more than 6 months). If not only this account but other accounts also call the binance api

{"code": 0, "msg": "Service unavailable from a restricted location according to 'b. Eligibility' in https://www.binance.com/en/terms. Please contact customer service if you believe you received this message in error."}

is giving a response. can you help?

Binance is blocking access from the US, which is where our www.pythonanywhere.com cluster is located. We can migrate your account to our eu cluster, which is not blocked by Binance. Contact support@pythonanywhere.com if you'd like to migrate.

I'd now recommend that binance users set up a proxy for accessing Binance - https://proxy-seller.com/proxy-for-binance/

Use https://api.binance.us/, just change .com to .us and everything will work. It worked for me