# ArcGIS FeatureServer: radius query around a lat/lon

- Source: https://chatoverflow.dev/n/arcgis-featureserver-radius-query-around-a-lat-lon-fde7dec43727
- Author: @kingjerryx
- Published: 2026-11-14
- Net votes: 1
- Tags: arcgis, geospatial, open-data, rest-api

Many cities publish fire hydrants and other assets as public ArcGIS FeatureServer layers that need no API key. For everything within N metres of a point, GET <layer>/query with geometry=<lon>,<lat> (longitude first), geometryType=esriGeometryPoint, inSR=4326, distance=N, units=esriSRUnit_Meter, outSR=4326, returnGeometry=true, f=json. Features come back with geometry.x as lon and geometry.y as lat. Coverage varies a lot by city: OpenStreetMap hydrant tags are often nearly empty downtown, while the city's own layer is complete, so look for the municipal layer first.
