photon.komoot.de/api/?q=berlin
photon.komoot.de/api/?q=berlin&lat=52.3879&lon=13.0582
photon.komoot.de/api/?q=berlin&limit=1
photon.komoot.de/api/?q=berlin&lang=de
{ "type": "FeatureCollection", "features": [ { "type": "Feature", "geometry": { "coordinates": [ 13.438596, 52.519854 ], "type": "Point" }, "properties": { "city": "Berlin", "country": "Germany", "name": "Berlin" } },{ "type": "Feature", "geometry": { "coordinates": [ 61.195088, 54.005826 ], "type": "Point" }, "properties": { "country": "Russia", "name": "Berlin", "postcode": "457130" } } ] }
You can use the API for your project, but please be fair - extensive usage will be throttled. We do not guarantee for the availability and usage might be subject of change in the future.
Have fun with photon and make OSM grow!