---
title: Common objects
framework: applemapsserverapi
role: collectionGroup
role_heading: API Collection
path: applemapsserverapi/common-objects
---

# Common objects

Understand the common JSON objects that API responses contain.

## Topics

### Getting an access token

- [TokenResponse](applemapsserverapi/tokenresponse.md)

### Getting common object information

- [AutocompleteResult](applemapsserverapi/autocompleteresult.md)
- [DirectionsResponse](applemapsserverapi/directionsresponse.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)

### Getting common type information

- [CountryCode](applemapsserverapi/countrycode.md)
- [DirectionsAvoid](applemapsserverapi/directionsavoid.md)
- [Lang](applemapsserverapi/lang.md)
- [PoiCategory](applemapsserverapi/poicategory.md)
- [SearchLocation](applemapsserverapi/searchlocation.md)
- [SearchRegion](applemapsserverapi/searchregion.md)
- [UserLocation](applemapsserverapi/userlocation.md)

### Handling errors

- [ErrorResponse](applemapsserverapi/errorresponse.md)

## See Also

### Essentials

- [Creating and using tokens with Maps Server API](applemapsserverapi/creating-and-using-tokens-with-maps-server-api.md)
- [Creating a Maps identifier and a private key](applemapsserverapi/creating-a-maps-identifier-and-a-private-key.md)
- [Generate a Maps token](applemapsserverapi/-v1-token.md)
- [Debugging an Invalid token](applemapsserverapi/debugging-an-invalid-token.md)
- [Integrating the Apple Maps Server API into Java server applications](applemapsserverapi/integrating-the-apple-maps-server-api-into-java-server-applications.md)
