---
title: DirectionsResponse
framework: applemapsserverapi
role: symbol
role_heading: Object
path: applemapsserverapi/directionsresponse
---

# DirectionsResponse

An object that describes the directions from a starting location to a destination in terms routes, steps, and a series of waypoints.

## Declaration

```data
object DirectionsResponse
```

## Properties

destination: A Place object that describes the destination. origin: A Place result that describes the origin. routes: An array of routes. Each route references steps based on indexes into the steps array. stepPaths: An array of step paths across all steps across all routes. Each step path is a single polyline represented as an array of points. You reference the step paths by index into the array. steps: An array of all steps across all routes. You reference the route steps by index into this array. Each step in turn references its path based on indexes into the stepPaths array.

## Topics

### Steps and routes

- [DirectionsResponse.Route](applemapsserverapi/directionsresponse/route.md)
- [DirectionsResponse.Step](applemapsserverapi/directionsresponse/step.md)

## See Also

### Getting common object information

- [AutocompleteResult](applemapsserverapi/autocompleteresult.md)
- [EtaResponse](applemapsserverapi/etaresponse.md)
- [Location](applemapsserverapi/location.md)
- [MapRegion](applemapsserverapi/mapregion.md)
- [Place](applemapsserverapi/place.md)
- [PlaceResults](applemapsserverapi/placeresults.md)
- [SearchAutocompleteResponse](applemapsserverapi/searchautocompleteresponse.md)
- [SearchMapRegion](applemapsserverapi/searchmapregion.md)
- [SearchResponse](applemapsserverapi/searchresponse.md)
- [StructuredAddress](applemapsserverapi/structuredaddress.md)
