Prompt
Need geospatial API with reverse geocoding and boundaries
Latest observation
Oct 8, 2026
OpenAI APIWeb search: off
If you need a geospatial API that supports reverse geocoding and boundaries/polygons, here are the best options depending on your needs:
Good API options
1. Google Maps Platform
- Reverse geocoding: Yes
- Boundaries: Limited; strong for administrative areas, but not ideal for custom boundary polygons
- Pros: Very accurate, global coverage, easy to use
- Cons: Can get expensive; boundary data is not as flexible as GIS-focused providers
2. Mapbox
- Reverse geocoding: Yes
- Boundaries: Yes, for some administrative boundaries and tilesets; also supports custom boundary layers
- Pros: Developer-friendly, good maps and geocoding
- Cons: Boundary datasets may require extra setup or paid data
3. HERE Geocoding & Search API
- Reverse geocoding: Yes
- Boundaries: Supports administrative boundaries and location layers
- Pros: Strong global data, good enterprise support
- Cons: More enterprise-oriented pricing and setup
4. OpenStreetMap-based services
Examples:
-
Nominatim (reverse geocoding)
-
Photon
-
Pelias
-
Reverse geocoding: Yes
-
Boundaries: Possible, but depends on the setup and data you load
-
Pros: Open-source, flexible, cheap/self-hostable
-
Cons: More maintenance, quality varies by region
5. Geoapify
- Reverse geocoding: Yes
- Boundaries: Yes, includes administrative boundaries
- Pros: Simple API, good docs, decent pricing
- Cons: Less powerful than big enterprise providers
If you specifically need boundaries
Look for APIs that can return:
- country/state/city boundaries
- postal code polygons
- custom geofences
- point-in-polygon queries
For this use case, Mapbox, HERE, or Geoapify are usually the most practical managed APIs.
If you need full control over boundary data, use:
- PostGIS
- OpenStreetMap + Nominatim/Pelias
- Turf.js / Shapely for spatial checks
Recommended stacks by use case
Simple app / fast integration
- Geoapify or Mapbox
Enterprise / global accuracy
- HERE or Google Maps Platform
Cheapest / self-hosted
- Nominatim + PostGIS + OpenStreetMap data
Custom boundaries/geofencing
- PostGIS
- GeoServer
- Turf.js
- Mapbox tilesets
Example capabilities to ask for
When comparing APIs, check whether they support:
- reverse geocoding by lat/lon
- administrative hierarchy (country, region, city, district)
- boundary polygon output
- point-in-polygon lookup
- batch reverse geocoding
- GeoJSON export
- licensing for commercial use
If you want, I can also give you:
- a side-by-side comparison table, or
- API recommendations based on your budget and scale.