Skip to main content

Setup

Put them in your environment or .env; Data APIs covers the other ways.

Notes

  • Each service has its own host; this entry routes each call to the right one.
  • Points are latitude first (at=52.5308,13.3856; origin=52.5308,13.3856), but a bbox is west longitude, south latitude, east longitude, north latitude.
  • Search areas: in=countryCode:USA,CAN (ISO alpha-3, uppercase), in=circle:52.53,13.38;r=10000 (metres) or in=bbox:13.08,52.33,13.76,52.67.
  • Parameters marked RESTRICTED or ALPHA in HERE’s reference need a contract or may change; they are left out here.

Endpoints

Geocode an address or place

Reverse geocode a coordinate

Search places and addresses by text

Browse places by category near a point

Look up a place by HERE id

Calculate a route

  • Pass return to choose what each route section carries: summary for duration and length, polyline for geometry, actions and instructions for turn-by-turn.
  • polyline comes in HERE’s Flexible Polyline encoding, not Google’s.