api.automapa.comv3 - all systems normal

Batch reverse geocode

Geocoder.revgeocodemulti

Resolves many coordinates in one call. Optimised for bulk reverse geocoding.

POST/v3/Geocoder/revgeocodemultiapi.automapa.com

Body parameters

BodyTypeDescription
pointsdouble[][] REQUIREDArray of [x, y] coordinates.
paramsobjectExtra options (same as revgeocode).
snapToBldboolSnap to nearest building.
snapToBldRadiusintegerSnap radius in metres (default 20).
getPostalCodeboolLook up postal code (slower).

Example request

{
    "points": [
        [
            21.0065983,
            52.1832837
        ],
        [
            133.7921875,
            52.6205488
        ],
        [
            27.5434388,
            53.9014812
        ]
    ],
    "params": {
        "snapToBld": true,
        "snapToBldRadius": 50
    }
}

Example response

{
    "result": [
        {
            "country": "PL",
            "province": "mazowieckie",
            "city": "Warszawa",
            "street": "Domaniewska",
            "house": "37p"
        },
        {
            "status": "ERROR",
            "message": "Point outside Europe"
        },
        {
            "country": "BY",
            "province": "Minsk",
            "city": "Minsk",
            "pcode": "220004",
            "street": "vulitsa Karalya",
            "house": "5"
        }
    ]
}

result fields

result fieldsTypeDescription
countrystringCountry code.
provincestringProvince.
citystringCity.
streetstringStreet.
housestringHouse number.