api.automapa.comv3 - alle Systeme normal

Orte und POIs suchen

Autocomplete.search

Freitextsuche über Städte, Straßen, Adressen und Points of Interest.

POST/v3/Autocomplete/searchapi.automapa.com

Body-Parameter

AnfragetextTypBeschreibung
querystring ERFORDERLICHSearch phrase.
typesstring[]Restrict to "place" and/or "poi". Default: both.

Beispielrequest

{
    "query": "Warszawa Domaniewska 37"
}

Beispielresponse

{
    "result": {
        "items": [
            {
                "type": "place",
                "subtype": "building",
                "name": "Domaniewska 37, 02-672 Warszawa",
                "province": "mazowieckie",
                "place": "Warszawa",
                "quarter": "Mokotów",
                "street": "Domaniewska",
                "number": "37",
                "postal_code": "02-672",
                "coords": {
                    "x": 21.0071318,
                    "y": 52.18284
                }
            },
            {
                "type": "place",
                "subtype": "building",
                "name": "Domaniewska 37A, 02-672 Warszawa",
                "place": "Warszawa",
                "street": "Domaniewska",
                "number": "37A",
                "postal_code": "02-672",
                "coords": {
                    "x": 21.0070156,
                    "y": 52.18238
                }
            }
        ]
    }
}

result-Felder

result-FelderTypBeschreibung
items[].typestringplace | poi.
items[].subtypestringDetailed type (POI category or place/street/building).
items[].namestringDisplay name.
items[].provincestringProvince.
items[].districtstringDistrict.
items[].communitystringCommunity.
items[].placestringCity.
items[].quarterstringQuarter.
items[].streetstringStreet.
items[].numberstringBuilding number.
items[].postal_codestringPostal code.
items[].coordsobject{ x, y } longitude / latitude.