GnistAI GnistAI
Log in

Nominatim Geocoding

Forward and reverse geocoding — address to coordinates and coordinates to address.

Overview   |   MCP   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 3 tools tools 3 3 type: api wrapper type type api wrapper api wrapper lifecycle: maintained lifecycle lifecycle maintained maintained Geography

Data source: OpenStreetMap Nominatim

REST Bridge Endpoint https://context.gnist.ai/rest/nominatim/
Authentication

All requests require a Gnist-API-Key header (or api_key query parameter).

Free tier: 100 calls/day. Get your API key.

Tools (3)

geocode_address

Convert an address or place name to geographic coordinates.

Forward geocoding: searches OpenStreetMap for matching places and returns
coordinates, display name, and structured address components.

Args:
query: Address or place name (e.g. "Buckingham Palace", "Karl Johans gate 22, Oslo").
limit: Maximum results (1-20, default 5).

ParameterTypeRequiredDescription
querystringrequired
limitintegeroptional (default: 5)
Request Body
{
  "query": "example"
}
reverse_geocode

Convert geographic coordinates to a human-readable address.

Reverse geocoding: looks up what's at the given latitude/longitude and
returns the full address with structured components.

Args:
lat: Latitude (-90 to 90, e.g. 59.9139 for Oslo).
lon: Longitude (-180 to 180, e.g. 10.7522 for Oslo).

ParameterTypeRequiredDescription
latnumberrequired
lonnumberrequired
Request Body
{
  "lat": 1.0,
  "lon": 1.0
}
report_feedback

Report a bug, feature request, or general feedback for this data source.

Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.

Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")
Request Body
{
  "feedback": "example"
}

Quick Start

Shell
curl -X POST "https://context.gnist.ai/rest/nominatim/geocode_address" \
  -H "Content-Type: application/json" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"query": "example"}'
Python
import httpx

resp = httpx.post(
    "https://context.gnist.ai/rest/nominatim/geocode_address",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    json={
  "query": "example"
},
)
print(resp.json())

Related Toolkits (Geography)

Resources