photon
search as you type with OpenStreetMap

A simple API

  • Search

    photon.komoot.de/api/?q=berlin
  • Search, with priority to a geo position

    photon.komoot.de/api/?q=berlin&lat=52.3879&lon=13.0582
  • Limit number of results

    photon.komoot.de/api/?q=berlin&limit=1
  • Force preferred language

    photon.komoot.de/api/?q=berlin&lang=de
  • Reverse geocoding

    photon.komoot.de/reverse?lon=10&lat=52
  • All good GeoJSON

      {
        "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"
            }
          }
        ]
      }
      

Terms of Use

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!