# Search for users based on how far away they are

**URL:** <https://community.auth0.com/t/search-for-users-based-on-how-far-away-they-are/110957>\
**Category:** Get Help\
**Tags:** user-search, user-management\
**Created:** [July 11, 2023, 1:17pm UTC](https://community.auth0.com/t/search-for-users-based-on-how-far-away-they-are/110957 "2023-07-11T13:17:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PomTog](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pomtog/32/48474_2.png) [@PomTog](https://community.auth0.com/u/PomTog)\
**Post date:** [July 11, 2023, 1:17pm UTC](https://community.auth0.com/t/search-for-users-based-on-how-far-away-they-are/110957/1 "2023-07-11T13:17:28Z")

</div>

Hi everyone I’m creating a Xamarin forms application in C# and in my API I want to pull users between a min and max latitude as well as a min and max longitude to find all the users within a certain radius of the user so they can find people near them. I have stored the latitude and longitude values in the user\_metadata but I cant use the range search on them because its not supported. Any other ideas?

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [July 11, 2023, 6:40pm UTC](https://community.auth0.com/t/search-for-users-based-on-how-far-away-they-are/110957/3 "2023-07-11T18:40:23Z")

</div>

Hi @PomTog,

Welcome to the Auth0 Community!

I have just tested the Auth0 Management API [List or Search Users endpoint](https://auth0.com/docs/api/management/v2#!/Users/get_users)and found that it’s not possible to create a query for range searches. See below:

 ![image](https://global.discourse-cdn.com/auth0/original/3X/b/c/bcef502750145a04ed420d5df6f1ccc91d756378.png)

Because of this, I would recommend that you [create a feedback request](https://community.auth0.com/c/feedback/95) asking to support range search support in the Management API.

For now, please check out our [How can I search and filter user\_metadata/app\_metadata in the Management API](https://community.auth0.com/t/how-can-i-search-and-filter-user-metadata-app-metadata-in-the-management-api/81623) FAQ on guidance on how to search and filter users.

I hope this is helpful!

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [July 25, 2023, 6:40pm UTC](https://community.auth0.com/t/search-for-users-based-on-how-far-away-they-are/110957/4 "2023-07-25T18:40:26Z")

</div>

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