Geocode Address
geo.address.geocodeConvert any address, place name, or landmark to latitude/longitude coordinates and structured address data using Geoapify/OSM. Filter results by country, type, or language.
Instructions
Convert an address, place name, or landmark to geographic coordinates (lat/lon) with structured address data (Geoapify/OSM)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Address, place name, or landmark to geocode (e.g. "1600 Pennsylvania Ave, Washington DC", "Eiffel Tower"). | |
| lang | No | Result language code (e.g. "en", "de", "ru"). Default: English. | |
| country_code | No | ISO 3166-1 alpha-2 country code to filter results (e.g. "US", "DE", "FR"). | |
| type | No | Filter by result type: city, street, amenity, or country. | |
| limit | No | Maximum number of results to return (default 1, max 5). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. | |
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. |