Search places by their chain

To search for Shell places from the position (52.33012,14.41896) in Germany close to the polish border but only get results in Germany, send the following request:

GET https://discover.search.hereapi.com/v1/
    discover
    ?at=52.33012,14.41896
    &q=Shell
    &limit=2
    &in=countryCode%3ADEU

Authorization: Bearer [your token]

The result lists detailed information about the related location objects:

{
  "items": [
    {
      "title": "Shell",
      "id": "here:pds:place:276u361x-9b1a09934b3b43b397e01bae933e2ecf",
      "resultType": "place",
      "address": {
        "label": "Shell, 15236 Jacobsdorf, Deutschland",
        "countryCode": "DEU",
        "countryName": "Deutschland",
        "state": "Brandenburg",
        "county": "Oder-Spree",
        "city": "Jacobsdorf",
        "postalCode": "15236"
      },
      "position": { "lat": 52.32038, "lng": 14.38385 },
      "access": [{ "lat": 52.32038, "lng": 14.38385 }],
      "distance": 2621,
      "categories": [
        { "id": "700-7600-0116", "name": "Tankstelle", "primary": true },
        { "id": "700-7900-0131", "name": "Lkw-Parkplatz" }
      ],
      "chains": [{ "id": "10" }],
      "references": [
        { "supplier": { "id": "core" }, "id": "56108280" },
        { "supplier": { "id": "core" }, "id": "56108284" }
      ],
      "contacts": [
        {
          "phone": [{ "value": "+493360849621" }, { "value": "+493360881680" }],
          "fax": [{ "value": "+493360881682" }],
          "www": [{ "value": "https://find.shell.com/de/fuel/10025882-pillgram-a12-bieg-helle-nord" }],
          "email": [{ "value": "shellcustomercare@shell.com" }]
        }
      ]
    },
    {
      "title": "Shell",
      "id": "here:pds:place:276u361x-8134bdc570ac4bca89ea8de8f2e6ef2d",
      "ontologyId": "here:cm:ontology:shell",
      "resultType": "place",
      "address": {
        "label": "Shell, 15236 Jacobsdorf, Deutschland",
        "countryCode": "DEU",
        "countryName": "Deutschland",
        "state": "Brandenburg",
        "county": "Oder-Spree",
        "city": "Jacobsdorf",
        "postalCode": "15236"
      },
      "position": { "lat": 52.32123, "lng": 14.3885 },
      "access": [{ "lat": 52.32123, "lng": 14.3885 }],
      "distance": 2294,
      "categories": [
        { "id": "700-7600-0116", "name": "Tankstelle", "primary": true },
        { "id": "700-7900-0131", "name": "Lkw-Parkplatz" }
      ],
      "chains": [{ "id": "10" }],
      "contacts": [{ "phone": [{ "value": "+493360849300" }], "fax": [{ "value": "+493360849301" }] }]
    }
  ]
}

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

results matching ""

    No results matching ""