binance.exceptions.BinanceAPIException: APIError(code=0): Service unavailable from a restricted location according to 'b. Eligibility' in https://www.binance.com/en/terms.

Why am I receiving this error? I am located in the US, does this mean I need to request from a certain API?

For example I am currently using this link to get ETHUSDT 1m price data:
https://api.binance.com/api/v3/klines?symbol=ETHUSDT&interval=1m&limit=1000
and it is displaying the same error I am getting in my IDE if I click on the link.

Any help would be greatly appreciated, I am really hoping to use this API :slight_smile:

US services are available at https://github.com/binance-us/binance-us-api-docs

1 Like

Public market data for the global exchange is also available at data.binance.com. E.g., https://data.binance.com/api/v3/klines?symbol=ETHUSDT&interval=1m&limit=1000

1 Like