I want to get site users by their location but I don't see any method for that.
And it's not possible with a filter either.
Is there any way to get users based on location or is it not possible?
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.Visit Stack Exchange
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It only takes a minute to sign up.Sign up to join this community
No, this is not possible with the API:
You can't even brute-force it, by downloading every user either. Because:
You could brute-force smaller sites that have less than 1 million users, but I wouldn't recommend it.
You can search by location using SEDE. For example:
Stack Overflow users who claim to reside in Bangladesh
Note that SEDE data may be up to 1 week old and there is no API for it.