Streamlit region

Greetings,

I’m currently working on an application that interfaces with the Binance API. However, I’ve encountered an issue regarding the API’s regional constraints. Specifically, when accessing the API from within the United States, one must utilize the Binance-US API.

I’m curious to know if there’s a way to configure Streamlit’s regional settings to operate outside the US

It’s not about regional settings but about where the API calls (appear to) come from. If I am not wrong, streamlit cloud always uses google servers located in the USA, but you can host your app somewhere else or make the calls through a proxy.

Hello Luciano, were you able to solve this problem because I have had the same problem without finding the solution for a while, practically all the server hosting companies are in the United States and I cannot call Binance outside of my local environment.

Hi Gustavo i solved this issue by using onrender.com as a host

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.