Reverse Geocoding API — reverse geocoding across Russia

Welcome to our free reverse geocoding service based on Nominatim. This API converts geographic coordinates (latitude and longitude) into a human-readable address.

Reverse Geocoding API — reverse geocoding across Russia

Limitations and recommendations

Please note: this service is provided free of charge, but with some limitations. The service does not guarantee 100% uptime and is provided "as is". We are not responsible for downtime or unavailability of the service.
  • Maximum 2 requests per second (do not use this service for bulk requests)
  • Link to our service if you use it in public projects
  • It is not recommended to use this service in commercial products that require high reliability. For commercial use it is better to deploy your own Nominatim instance.

Description and examples

The reverse method converts coordinates (latitude, longitude) into an address or place name.

Endpoint

GET https://geolocation-api.koyu.tech/reverse?lat={latitude}&lon={longitude}&format={format}&zoom={zoom}&addressdetails={addressdetails}

Request parameters

ParameterRequiredDescriptionDefault value
latYesLatitude (in degrees)-
lonYesLongitude (in degrees)-
formatNoResponse format (json, xml)json
zoomNoDetail level (0-18). The higher the value, the more detailed the returned address13
addressdetailsNoInclude address details (0 or 1)1
accept-languageNoPreferred language of the result (e.g. en-US, ru-RU, etc.)ru-RU

The zoom parameter determines the level of detail of the returned address. The higher the value, the more detailed address information is returned. The value roughly corresponds to the zoom level in mapping frameworks such as Leaflet.js or OpenLayers.

Zoom valueAddress detail
3Country
5State/region
8County
10City
12City/district
13Village/suburb
14Neighbourhood
15Any settlement
16Major streets
17Major and minor streets
18Buildings
Note:
  • The higher the zoom value, the longer the search takes!
  • Changing the zoom level can affect results, especially near administrative boundaries. For example, the nearest building may be in one district while the nearest street is in another.

Request example

GET https://geolocation-api.koyu.tech/reverse?lat=54.981231&lon=73.393275&zoom=13&format=json

Response example (JSON)

{
    "place_id": 15380669,
    "licence": "Data © OpenStreetMap contributors, ODbL 1.0. http://osm.org/copyright",
    "osm_type": "node",
    "osm_id": 4142370528,
    "lat": "54.988212",
    "lon": "73.4011656",
    "class": "place",
    "type": "suburb",
    "place_rank": 19,
    "importance": 0.14667666666666662,
    "addresstype": "suburb",
    "name": "Куйбышевский",
    "display_name": "Куйбышевский, Центральный административный округ, Omsk, Omsk Oblast, Siberian Federal District, 644000, Russia",
    "address": {
        "suburb": "Куйбышевский",
        "city_district": "Центральный административный округ",
        "city": "Omsk",
        "state": "Omsk Oblast",
        "ISO3166-2-lvl4": "RU-OMS",
        "region": "Siberian Federal District",
        "postcode": "644000",
        "country": "Russia",
        "country_code": "ru"
    },
    "boundingbox": [
        "54.9682120",
        "55.0082120",
        "73.3811656",
        "73.4211656"
    ]
}

Code examples

JavaScript

async function reverseGeocode(lat, lon) {
    const response = await fetch(`https://geolocation-api.koyu.tech/reverse?lat=${lat}&lon=${lon}&format=json`);
    const data = await response.json();
    console.log(data.display_name);
    return data;
}

// Example call
reverseGeocode(54.981231, 73.393275);

PHP

$response = file_get_contents('https://geolocation-api.koyu.tech/reverse?lat=54.981231&lon=73.393275&addressdetails=1&zoom=13&format=json');
$json = json_decode($response, true);

Python

import requests

def reverse_geocode(lat, lon):
    url = f"https://geolocation-api.koyu.tech/reverse?lat={lat}&lon={lon}&format=json"
    response = requests.get(url)
    data = response.json()
    print(data['display_name'])
    return data

# Example call
reverse_geocode(54.981231, 73.393275)

Self-hosted service

If you need your own reliable geocoding service, you can set it up according to the official Nominatim documentation: https://nominatim.org/release-docs/latest/

Or you can contact us using the details in the footer.

License: Data is provided under the ODbL license from OpenStreetMap.
This page does not use cookies and does not collect any metrics.