Skip to main content

Setup

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

Notes

  • Coordinates are latitude first everywhere here: lat,lon in positions, bounding boxes and route locations.
  • Search answers page with limit (max 100) and ofs; geocoding caps the whole result set at 2,000 (ofs up to 1,900).
  • lat and lon without radius only bias the ranking; add radius (metres) to restrict results to the circle.
  • These are the global hosts; South Korea uses kr-api.tomtom.com, which this entry does not cover. TomTom also offers newer Orbis versions of these APIs.

Endpoints

Search places and addresses by free text

Find places near a point

Geocode an address

  • storeResult and typeahead are deprecated on this call and may answer 400; leave them out.

Reverse geocode a coordinate

  • Path values are percent-encoded, so the comma goes as %2C; not yet checked against a live call.

Calculate a route

  • Path values are percent-encoded, so the colons and commas go as %3A and %2C; not yet checked against a live call.