APIs.io
Search
Providers
APIs
Capabilities
Tags
More
Schemas
AsyncAPI
JSON-LD
Rules
Vocabularies
About
Support
Blog
Blog
Add API
Search
Home
Google Maps Platform
DirectionsResponse
Google Maps Platform
· Schema
DirectionsResponse
The response from the Directions API
Environment
Geocoding
Geolocation
Maps
Navigation
Places
Routing
Solar
Properties
Name
Type
Description
status
string
Status code of the directions request
routes
array
Array of routes from the origin to the destination. Each route contains legs, overview polylines, warnings, and waypoint order.
geocoded_waypoints
array
Contains geocoding information for the origin, destination, and each waypoint.
error_message
string
Human-readable error message when status is not OK
View JSON Schema on GitHub