← All Recipes

Commute Times

By Tom Hay

commute-times

Travel time and distance from one home to up to five named destinations, such as a workplace or a school, from the Geoapify route matrix with approximated traffic.

Recipe inputs
Complete fields before a run.
Full street address of the home, with the city and the state.
Travel mode for every destination.
destinations
destinations *
destinations item 1
destinations item 1
What the buyer calls this place, such as Work or Kid's school.
Full street address, with the city and the state.
destinations item 2
destinations item 2
What the buyer calls this place, such as Work or Kid's school.
Full street address, with the city and the state.
Output example
Representative published output.
{
  "home": "2314 Northeast 46th Avenue, Portland, OR 97213, United States of America",
  "mode": "drive",
  "note": "Drive times from the Geoapify route matrix with approximated traffic, on OpenStreetMap roads. Not a departure-time forecast.",
  "destinations": [
    {
      "name": "Work",
      "reason": null,
      "address": "1120 Southwest 5th Avenue, Portland, OR 97204, United States of America",
      "minutes": 18,
      "latitude": 45.5157,
      "longitude": -122.6778,
      "distance_mi": 5.2
    },
    {
      "name": "Kid's school",
      "reason": null,
      "address": "2421 Southeast Orange Avenue, Portland, OR 97214, United States of America",
      "minutes": 12,
      "latitude": 45.5088,
      "longitude": -122.6404,
      "distance_mi": 3.1
    }
  ],
  "mean_minutes": 15
}