Search places near a locality

To search 5 Obi places in Hamburg, from the geo-position (52.81730,12.23683), send the following request:

GET https://discover.search.hereapi.com/v1/
    discover
    ?at=52.8173086%2C12.2368342
    &q=Obi+Hamburg

Authorization: Bearer [your token]

The result lists detailed information about the related location objects:

{
  "items": [
    {
      "title": "Obi",
      "id": "here:pds:place:276u1x05-833589188a324f839479ad869bb1914c",
      "resultType": "place",
      "address": {
        "label": "Obi, Großmoordamm 98, 21079 Hamburg, Deutschland",
        "countryCode": "DEU",
        "countryName": "Deutschland",
        "state": "Hamburg",
        "county": "Hamburg",
        "city": "Hamburg",
        "district": "Harburg",
        "street": "Großmoordamm",
        "postalCode": "21079",
        "houseNumber": "98"
      },
      "position": { "lat": 53.45376, "lng": 10.00208 },
      "access": [{ "lat": 53.45441, "lng": 10.00285 }],
      "distance": 165013,
      "categories": [
        { "id": "600-6600-0077", "primary": true },
        { "id": "600-6600-0084" }, { "id": "600-6600-0085" }, { "id": "600-6900-0000" },
        { "id": "600-6900-0097" }, { "id": "600-6900-0098" }, { "id": "700-7200-0274" }
      ],
      "contacts": [
        {
          "phone": [{ "value": "+49407661670" }],
          "fax": [{ "value": "+494076616799" }, { "value": "+494076968209" }],
          "www": [
            { "value": "http://www.obi.de" },
            { "value": "https://www.obi.de/baumarkt/hamburg-harburg/?wt_mc=port.de443_Hamburg-Harburg" },
          ],
          "email": [{ "value": "hamburg-harburg@obi.de" }, { "value": "service@obi.de" }]
        }
      ],
      "openingHours": [
        {
          "text": ["Mon-Sat: 08:00 - 20:00"],
          "isOpen": false,
          "structured": [{ "start": "T080000", "duration": "PT12H00M", "recurrence": "FREQ:DAILY;BYDAY:MO,TU,WE,TH,FR,SA" }]
        }
      ]
    },
    {
      "title": "Obi",
      "id": "here:pds:place:276jx7ps-d60b21a41707034c23961246181c0373",
      "resultType": "place",
      "address": {
        "label": "Obi, Ruhrstraße, 22761 Hamburg, Deutschland",
        "countryCode": "DEU",
        "countryName": "Deutschland",
        "state": "Hamburg",
        "county": "Hamburg",
        "city": "Hamburg",
        "district": "Bahrenfeld",
        "street": "Ruhrstraße",
        "postalCode": "22761"
      },
      "position": { "lat": 53.56552, "lng": 9.92562 },
      "access": [{ "lat": 53.56552, "lng": 9.92562 }],
      "distance": 175004,
      "categories": [
        { "id": "600-6600-0077" "primary": true },
        { "id": "600-6600-0080" }, { "id": "600-6600-0082" }, { "id": "600-6600-0085" },
        { "id": "600-6900-0000" }, { "id": "600-6900-0095" }, { "id": "700-7200-0263" },
        { "id": "700-7200-0274" }
      ],
      "contacts": [
        {
          "phone": [{ "value": "+494089726420" }],
          "www": [
            { "value": "https://www.obi.de/baumarkt/hamburg-altona/" },
            { "value": "https://www.obi.de/baumarkt/hamburg-altona/?wt_mc=port.de497_Hamburg-Altona..." },
            { "value": "https://www.obi.de/baumarkt/hamburg-altona/?wt_mc=port.de497_Hamburg-Altona" }
          ],
          "email": [{ "value": "hamburg-altona@obi.de" }, { "value": "service@obi.de" }]
        }
      ],
      "openingHours": [
        {
          "text": ["Mon-Sat: 08:00 - 20:00"],
          "isOpen": false,
          "structured": [{ "start": "T080000", "duration": "PT12H00M", "recurrence": "FREQ:DAILY;BYDAY:MO,TU,WE,TH,FR,SA" }]
        }
      ]
    },
    ...
  ]
}

Similarly to place chains near address locations HERE Geocoding and Search also supports search use cases about place categories near address locations.

More details about /discover parameters can be found in the API Reference.

results matching ""

    No results matching ""