Need suggestion for Geolocation API

I am looking for some help in choosing an API to use for my app development. The API would be able to convert addresses into property boundaries (e.g. google locations) so that I can see all the users in the same address. I’m looking for an API that functions like a wi-fi’ meaning if you are at a location you can use the service’ and if not you can’t. For example’ if I want to make some part of my app accessible if you go to certain locations’ let’s say a library. So that all the users that go to that library alone would have access to certain features.

I’m not too knowledgeable about APIs’ so if I get can some assistance with recommendations for an API that might be suitable for this application’ that’ll be appreciated.