Is there an API to check if there's a gateway near specific coordinates?

Is there an API to check if there’s a gateway near specific coordinates?

:warning: :warning: :warning:

This post contains references to outdated APIs.

Please read the following for the new APIs: https://www.thethingsnetwork.org/forum/t/new-api-for-gateway-mapping-status-and-info/49778


On v2 you could use something like…

https://www.thethingsnetwork.org/gateway-data/location?latitude=51.579&longitude=-1.833&distance=25000

… which will list the v2 gateways within 25km of the specified latitude/longitude

4 Likes

And just for the record, something similar using packetbroker…

https://mapper.packetbroker.net/api/v2/gateways?distanceWithin[latitude]=51.579&distanceWithin[longitude]=-1.833&distanceWithin[distance]=25000

2 Likes