Maps API Introduction
¶ Overview
Uber’s Maps API provides search for places and addressed via the following APIs:
- Geocode: returns a single location based on a coordinate or full address string
- Autocomplete: returns suggested locations in a responsive way as users type
- FullTextSearch: returns suggested locations based on a search string
- Details: returns a single location based on an identifier or reference
- StaticMap: creates a static map image with annotations (origin, destination, route lines) and returns it as a URL
- Predict: computes eta and distance between the requested origin and destination using the specified vehicle
- PredictBulk: computes eta and distance between a list of origin and destination pair
¶ Developer Guides
- Authentication - Authentication for the Maps API is done using OAuth 2.0 client credentials using the
maps-apisscope. - Errors - There are different errors that may need to be handled in different ways.
¶ Available Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /maps/beta/geocode | Returns a single location based on a coordinate or full address string |
| GET | /maps/beta/autocomplete | Returns suggested locations in a responsive way as users type |
| GET | /maps/beta/fulltextsearch | Returns suggested locations based on a search string |
| GET | /maps/beta/details | Returns a single location based on an identifier or reference |
| POST | /maps/beta/staticmap | Returns a URL of a generated static map image with optional annotations |
| POST | /v2/eta/predict | computes eta and distance information between the requested origin and destination |
| POST | /v3/eta/predictbulk | computes eta and distance information between a list of origin and destination pair. |