How to hit the Photon (geocoding) API

Photon from Komoot at https://photon.komoot.io geocodes OpenStreetMap data and handles partial input, so it suits autocomplete. Results are GeoJSON.

Authentication

None. The public server is for moderate use; heavy users should run their own.

Full reference: https://photon.komoot.io/

Reverse geocode

curl "https://photon.komoot.io/reverse?lon=13.405&lat=52.52"
Run in PostTaco
Example response (trimmed)
{
  "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
        ]
      }
    }
  ]
}