{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Leg",
"type": "object",
"description": "A leg of a route, representing the journey between two waypoints or the origin/destination.",
"properties": {
"steps": {
"type": "array",
"description": "Array of steps representing each instruction along the leg"
},
"start_address": {
"type": "string",
"description": "The human-readable address of the leg's starting point"
},
"end_address": {
"type": "string",
"description": "The human-readable address of the leg's ending point"
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.