Advanced Nl Geocode Endpoint

🚀 ADVANCED Natural Language Geocoding with comprehensive spatial operations.

This endpoint uses a hybrid approach combining:

  • Nominatim for place lookup (5M+ places from Who's On First)
  • Natural Earth for high-quality continent boundaries
  • Spatial operations library for complex geometric operations
  • Claude Sonnet 4 for natural language understanding

Supported spatial operations:

  • Buffer: "within 50km of Paris"
  • Union: "California and Nevada"
  • Intersection: "in New Mexico, west of Albuquerque"
  • Difference: "France except Paris"
  • Directional: "north of Seattle", "west of London"
  • CoastOf: "coast of California"
  • BorderBetween: "border between USA and Mexico"
  • Between: "between Baltimore and Washington DC"
  • OffTheCoastOf: "50 nautical miles off the coast of Florida"

Returns: GeoJSON with complex geometries

post/api/nl-geocode-advanced

Request body

querystring required

Complex natural language spatial query (e.g., 'within 50km of Paris', 'France except Paris')

Response

Successful Response

statusstring required
dataobject nullable
errorstring nullable
timestampstring

Changes

No recorded changes to this endpoint across all 1 revision of this API.