Photon from Komoot at https://photon.komoot.io geocodes OpenStreetMap data and handles partial input, so it suits autocomplete. Results are GeoJSON.
None. The public server is for moderate use; heavy users should run their own.
Full reference: https://photon.komoot.io/
curl "https://photon.komoot.io/api/?q=berlin&limit=1"
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"osm_type": "R",
"osm_id": 62422,
"osm_key": "place",
"osm_value": "city",
"type": "city",
"name": "Berlin",
"country": "Deutschland",
"countrycode": "DE",
"extra": {
"admin_level": "4"
},
"extent": [
13.088345,
52.6755087
]
},
"geometry": {
"type": "Point",
"coordinates": [
13.3951309,
52.5173885
]
}
}
]
}
curl "https://photon.komoot.io/reverse?lon=13.405&lat=52.52"
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"osm_type": "W",
"osm_id": 4790828,
"osm_key": "highway",
"osm_value": "primary",
"type": "street",
"name": "Karl-Liebknecht-Straße",
"locality": "Spandauer Vorstadt",
"district": "Mitte",
"city": "Berlin",
"country": "Deutschland",
"postcode": "10178",
"countrycode": "DE",
"extent": [
13.4048107,
52.5200133
]
},
"geometry": {
"type": "Point",
"coordinates": [
13.4048991,
52.5199656
]
}
}
]
}