Skip to main content
replaced http://stackapps.com/ with https://stackapps.com/
Source Link

No, this is not possible with the API:

  1. Neither the API, nor the main sites, provides a way to search on location.
  2. You can't even brute-force it, by downloading every user either. Because:
  3. There are currently 4,972,549 users on Stack Overflow.
  4. You can download, at most, 1 million user records per day. (10,000 API quota times pagesize of 100.)

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][3].

No, this is not possible with the API:

  1. Neither the API, nor the main sites, provides a way to search on location.
  2. You can't even brute-force it, by downloading every user either. Because:
  3. There are currently 4,972,549 users on Stack Overflow.
  4. You can download, at most, 1 million user records per day. (10,000 API quota times pagesize of 100.)

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][3].

No, this is not possible with the API:

  1. Neither the API, nor the main sites, provides a way to search on location.
  2. You can't even brute-force it, by downloading every user either. Because:
  3. There are currently 4,972,549 users on Stack Overflow.
  4. You can download, at most, 1 million user records per day. (10,000 API quota times pagesize of 100.)

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][3].
Source Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64

No, this is not possible with the API:

  1. Neither the API, nor the main sites, provides a way to search on location.
  2. You can't even brute-force it, by downloading every user either. Because:
  3. There are currently 4,972,549 users on Stack Overflow.
  4. You can download, at most, 1 million user records per day. (10,000 API quota times pagesize of 100.)

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][3].