Skip to content

Amazon Location Service API

by amazonaws.com

API keyHTTPSCloud Platforms
Open documentation ↗

Overview

"Suite of geospatial services including Maps, Places, Routes, Tracking, and Geofencing"

Amazon Location Service is a cloud platforms API from amazonaws.com. Requests are authenticated with an API key. It is served over HTTPS. Its OpenAPI description documents 58 endpoints.

At a glance

Authentication
API key
HTTPS
Yes
CORS
Unknown
Version
2020-11-19
Endpoints
58
Spec updated
2021-01-15

Endpoints

MethodPathWhat it does
POST/tracking/v0/trackers/{TrackerName}/consumers<p>Creates an association between a geofence collection and a tracker resource. This allows the tracker resource to communicate location data to the linked geof
POST/tracking/v0/trackers/{TrackerName}/delete-positionsDeletes the position history of one or more devices from a tracker resource.
POST/geofencing/v0/collections/{CollectionName}/delete-geofences<p>Deletes a batch of geofences from a geofence collection.</p> <note> <p>This operation deletes the resource permanently.</p> </note>
POST/geofencing/v0/collections/{CollectionName}/positions<p>Evaluates device positions against the geofence geometries from a given geofence collection.</p> <p>This operation always returns an empty response because g
POST/tracking/v0/trackers/{TrackerName}/get-positionsLists the latest device positions for requested devices.
POST/geofencing/v0/collections/{CollectionName}/put-geofencesA batch request for storing geofence geometries into a given geofence collection, or updates the geometry of an existing geofence if a geofence ID is included i
POST/tracking/v0/trackers/{TrackerName}/positions<p>Uploads position update data for one or more devices to a tracker resource. Amazon Location uses the data when it reports the last known device position and
POST/routes/v0/calculators/{CalculatorName}/calculate/route<p> <a href="https://docs.aws.amazon.com/location/latest/developerguide/calculate-route.html">Calculates a route</a> given the following required parameters: <c
POST/routes/v0/calculators/{CalculatorName}/calculate/route-matrix<p> <a href="https://docs.aws.amazon.com/location/latest/developerguide/calculate-route-matrix.html"> Calculates a route matrix</a> given the following required
POST/geofencing/v0/collectionsCreates a geofence collection, which manages and stores geofences.
POST/metadata/v0/keys<p>Creates an API key resource in your Amazon Web Services account, which lets you grant <code>geo:GetMap*</code> actions for Amazon Location Map resources to t
POST/maps/v0/maps<p>Creates a map resource in your Amazon Web Services account, which provides map tiles of different styles sourced from global location data providers.</p> <no
POST/places/v0/indexes<p>Creates a place index resource in your Amazon Web Services account. Use a place index resource to geocode addresses and other text queries by using the <code
POST/routes/v0/calculators<p>Creates a route calculator resource in your Amazon Web Services account.</p> <p>You can send requests to a route calculator resource to estimate travel time,
POST/tracking/v0/trackersCreates a tracker resource in your Amazon Web Services account, which lets you retrieve current and historical location of devices.
GET/geofencing/v0/collections/{CollectionName}Retrieves the geofence collection details.
PATCH/geofencing/v0/collections/{CollectionName}Updates the specified properties of a given geofence collection.
DELETE/geofencing/v0/collections/{CollectionName}<p>Deletes a geofence collection from your Amazon Web Services account.</p> <note> <p>This operation deletes the resource permanently. If the geofence collectio
GET/metadata/v0/keys/{KeyName}<p>Retrieves the API key resource details.</p> <important> <p>The API keys feature is in preview. We may add, change, or remove features before announcing gener
PATCH/metadata/v0/keys/{KeyName}<p>Updates the specified properties of a given API key resource.</p> <important> <p>The API keys feature is in preview. We may add, change, or remove features b
DELETE/metadata/v0/keys/{KeyName}Deletes the specified API key. The API key must have been deactivated more than 90 days previously.
GET/maps/v0/maps/{MapName}Retrieves the map resource details.
PATCH/maps/v0/maps/{MapName}Updates the specified properties of a given map resource.
DELETE/maps/v0/maps/{MapName}<p>Deletes a map resource from your Amazon Web Services account.</p> <note> <p>This operation deletes the resource permanently. If the map is being used in an a
GET/places/v0/indexes/{IndexName}Retrieves the place index resource details.
PATCH/places/v0/indexes/{IndexName}Updates the specified properties of a given place index resource.
DELETE/places/v0/indexes/{IndexName}<p>Deletes a place index resource from your Amazon Web Services account.</p> <note> <p>This operation deletes the resource permanently.</p> </note>
GET/routes/v0/calculators/{CalculatorName}Retrieves the route calculator resource details.
PATCH/routes/v0/calculators/{CalculatorName}Updates the specified properties for a given route calculator resource.
DELETE/routes/v0/calculators/{CalculatorName}<p>Deletes a route calculator resource from your Amazon Web Services account.</p> <note> <p>This operation deletes the resource permanently.</p> </note>
GET/tracking/v0/trackers/{TrackerName}Retrieves the tracker resource details.
PATCH/tracking/v0/trackers/{TrackerName}Updates the specified properties of a given tracker resource.
DELETE/tracking/v0/trackers/{TrackerName}<p>Deletes a tracker resource from your Amazon Web Services account.</p> <note> <p>This operation deletes the resource permanently. If the tracker resource is i
DELETE/tracking/v0/trackers/{TrackerName}/consumers/{ConsumerArn}<p>Removes the association between a tracker resource and a geofence collection.</p> <note> <p>Once you unlink a tracker resource from a geofence collection, th
GET/tracking/v0/trackers/{TrackerName}/devices/{DeviceId}/positions/latest<p>Retrieves a device's most recent position according to its sample time.</p> <note> <p>Device positions are deleted after 30 days.</p> </note>
POST/tracking/v0/trackers/{TrackerName}/devices/{DeviceId}/list-positions<p>Retrieves the device position history from a tracker resource within a specified range of time.</p> <note> <p>Device positions are deleted after 30 days.</p>
GET/geofencing/v0/collections/{CollectionName}/geofences/{GeofenceId}Retrieves the geofence details from a geofence collection.
PUT/geofencing/v0/collections/{CollectionName}/geofences/{GeofenceId}Stores a geofence geometry in a given geofence collection, or updates the geometry of an existing geofence if a geofence ID is included in the request.
GET/maps/v0/maps/{MapName}/glyphs/{FontStack}/{FontUnicodeRange}Retrieves glyphs used to display labels on a map.
GET/maps/v0/maps/{MapName}/sprites/{FileName}Retrieves the sprite sheet corresponding to a map resource. The sprite sheet is a PNG image paired with a JSON document describing the offsets of individual ico
GET/maps/v0/maps/{MapName}/style-descriptor<p>Retrieves the map style descriptor from a map resource. </p> <p>The style descriptor contains specifications on how features render on a map. For example, wha
GET/maps/v0/maps/{MapName}/tiles/{Z}/{X}/{Y}<p>Retrieves a vector data tile from the map resource. Map tiles are used by clients to render a map. they're addressed using a grid arrangement with an X coord
GET/places/v0/indexes/{IndexName}/places/{PlaceId}<p>Finds a place by its unique ID. A <code>PlaceId</code> is returned by other search operations.</p> <note> <p>A PlaceId is valid only if all of the following
POST/tracking/v0/trackers/{TrackerName}/list-positionsA batch request to retrieve all device positions.
POST/geofencing/v0/list-collectionsLists geofence collections in your Amazon Web Services account.
POST/geofencing/v0/collections/{CollectionName}/list-geofencesLists geofences stored in a given geofence collection.
POST/metadata/v0/list-keys<p>Lists API key resources in your Amazon Web Services account.</p> <important> <p>The API keys feature is in preview. We may add, change, or remove features be
POST/maps/v0/list-mapsLists map resources in your Amazon Web Services account.
POST/places/v0/list-indexesLists place index resources in your Amazon Web Services account.
POST/routes/v0/list-calculatorsLists route calculator resources in your Amazon Web Services account.
GET/tags/{ResourceArn}Returns a list of tags that are applied to the specified Amazon Location resource.
POST/tags/{ResourceArn}<p>Assigns one or more tags (key-value pairs) to the specified Amazon Location Service resource.</p> <p>Tags can help you organize and categorize your resources
POST/tracking/v0/trackers/{TrackerName}/list-consumersLists geofence collections currently associated to the given tracker resource.
POST/tracking/v0/list-trackersLists tracker resources in your Amazon Web Services account.
POST/places/v0/indexes/{IndexName}/search/positionReverse geocodes a given coordinate and returns a legible address. Allows you to search for Places or points of interest near a given position.
POST/places/v0/indexes/{IndexName}/search/suggestions<p>Generates suggestions for addresses and points of interest based on partial or misspelled free-form text. This operation is also known as autocomplete, autos
POST/places/v0/indexes/{IndexName}/search/text<p>Geocodes free-form text, such as an address, name, city, or region to allow you to search for Places or points of interest. </p> <p>Optional parameters let y
DELETE/tags/{ResourceArn}#tagKeysRemoves one or more tags from the specified Amazon Location resource.

Questions

Does the Amazon Location Service API need an API key?

Yes. The Amazon Location Service API uses API key authentication; the documentation explains how to get credentials.

Does the Amazon Location Service API support HTTPS?

Yes, the Amazon Location Service API is served over HTTPS.

How many endpoints does the Amazon Location Service API have?

Its OpenAPI description lists 58 endpoints in version 2020-11-19. All of them are shown on this page.

What are alternatives to the Amazon Location Service API?

Other Cloud Platforms APIs include Remote Settings PROD, Linode API, DigitalOcean API, Vercel API, Platform API.

Compare alternatives →

Remote Settings PROD

Cloud Platforms

Firefox is a free web browser backed by Mozilla, a non-profit dedicated to internet health and privacy.

No auth19 endpoints

Linode API

Cloud Platforms

## Introduction The Linode API provides the ability to programmatically manage the full range of Linode products and services. This reference is designed to assist application developers and system administrators. Each endpoint includes descriptions, request syntax, and examples using standard HTTP requests. Response data is returned in JSON format. This document was generated from our OpenAPI Specification. See the <a target="_top" href="https://www.openapis.org">OpenAPI website</a> for more information. <a target="_top" href="/docs/api/openapi.yaml">Download the Linode OpenAPI Specification</a>. ## Changelog <a target="_top" href="/docs/products/tools/api/release-notes/">View our Changelog</a> to see release notes on all changes made to our API. ## Access and Authentication Some endpoints are publicly accessible without requiring authentication. All endpoints affecting your Account, however, require either a Personal Access Token or OAuth authentication (when using third-party applications). ### Personal Access Token The easiest way to access the API is with a Personal Access Token (PAT) generated from the <a target="_top" href="https://cloud.linode.com/profile/tokens">Linode Cloud Manager</a> or the [Create Personal Access Token](/docs/api/profile/#personal-access-token-create) endpoint. All scopes for the OAuth security model ([defined below](/docs/api/profile/#oauth)) apply to this security model as well. #### Authentication | Security Scheme Type: | HTTP | |-----------------------|------| | **HTTP Authorization Scheme** | bearer | ### OAuth If you only need to access the Linode API for personal use, we recommend that you create a [personal access token](/docs/api/#personal-access-token). If you're designing an application that can authenticate with an arbitrary Linode user, then you should use the OAuth 2.0 workflows presented in this section. For a more detailed example of an OAuth 2.0 implementation, see our guide on [How to Create an OAuth App with the Linode Python API Library](/docs/products/tools/api/guides/create-an-oauth-app-with-the-python-api-library/#oauth-2-authentication-exchange). Before you implement OAuth in your application, you first need to create an OAuth client. You can do this [with the Linode API](/docs/api/account/#oauth-client-create) or [via the Cloud Manager](https://cloud.linode.com/profile/clients): - When creating the client, you'll supply a `label` and a `redirect_uri` (referred to as the Callback URL in the Cloud Manager). - The response from this endpoint will give you a `client_id` and a `secret`. - Clients can be public or private, and are private by default. You can choose to make the client public when it is created. - A private client is used with applications which can securely store the client secret (that is, the secret returned to you when you first created the client). For example, an application running on a secured server that only the developer has access to would use a private OAuth client. This is also called a confidential client in some OAuth documentation. - A public client is used with applications where the client secret is not guaranteed to be secure. For example, a native app running on a user's computer may not be able to keep the client secret safe, as a user could potentially inspect the source of the application. So, native apps or apps that run in a user's browser should use a public client. - Public and private clients follow different workflows, as described below. #### OAuth Workflow The OAuth workflow is a series of exchanges between your third-party app and Linode. The workflow is used to authenticate a user before an application can start making API calls on the user's behalf. Notes: - With respect to the diagram in [section 1.2 of RFC 6749](https://tools.ietf.org/html/rfc6749#section-1.2), login.linode.com (referred to in this section as the *login server*) is the Resource Owner and the Authorization Server; api.linode.com (referred to here as the *api se

Bearer token350 endpoints

DigitalOcean API

Cloud Platforms

# Introduction The DigitalOcean API allows you to manage Droplets and resources within the DigitalOcean cloud in a simple, programmatic way using conventional HTTP requests. All of the functionality that you are familiar with in the DigitalOcean control panel is also available through the API, allowing you to script the complex actions that your situation requires. The API documentation will start with a general overview about the design and technology that has been implemented, followed by reference information about specific endpoints. ## Requests Any tool that is fluent in HTTP can communicate with the API simply by requesting the correct URI. Requests should be made using the HTTPS protocol so that traffic is encrypted. The interface responds to different methods depending on the action required. |Method|Usage| |--- |--- | |GET|For simple retrieval of information about your account, Droplets, or environment, you should use the GET method. The information you request will be returned to you as a JSON object. The attributes defined by the JSON object can be used to form additional requests. Any request using the GET method is read-only and will not affect any of the objects you are querying.| |DELETE|To destroy a resource and remove it from your account and environment, the DELETE method should be used. This will remove the specified object if it is found. If it is not found, the operation will return a response indicating that the object was not found. This idempotency means that you do not have to check for a resource's availability prior to issuing a delete command, the final state will be the same regardless of its existence.| |PUT|To update the information about a resource in your account, the PUT method is available. Like the DELETE Method, the PUT method is idempotent. It sets the state of the target using the provided values, regardless of their current values. Requests using the PUT method do not need to check the current attributes of the object.| |PATCH|Some resources support partial modification. In these cases, the PATCH method is available. Unlike PUT which generally requires a complete representation of a resource, a PATCH request is is a set of instructions on how to modify a resource updating only specific attributes.| |POST|To create a new object, your request should specify the POST method. The POST request includes all of the attributes necessary to create a new object. When you wish to create a new object, send a POST request to the target endpoint.| |HEAD|Finally, to retrieve metadata information, you should use the HEAD method to get the headers. This returns only the header of what would be returned with an associated GET request. Response headers contain some useful information about your API access and the results that are available for your request. For instance, the headers contain your current rate-limit value and the amount of time available until the limit resets. It also contains metrics about the total number of objects found, pagination information, and the total content length.| ## HTTP Statuses Along with the HTTP methods that the API responds to, it will also return standard HTTP statuses, including error codes. In the event of a problem, the status will contain the error code, while the body of the response will usually contain additional information about the problem that was encountered. In general, if the status returned is in the 200 range, it indicates that the request was fulfilled successfully and that no error was encountered. Return codes in the 400 range typically indicate that there was an issue with the request that was sent. Among other things, this could mean that you did not authenticate correctly, that you are requesting an action that you do not have authorization for, that the object you are requesting does not exist, or that your request is malformed. If you receive a status in the 500 range, this generally indicates a server-side problem. This means that we are having

Bearer token290 endpoints

Vercel API

Cloud Platforms

Vercel combines the best developer experience with an obsessive focus on end-user performance. Our platform enables frontend teams to do their best work.

Bearer token112 endpoints

Platform API

Cloud Platforms

The [REST API specification](https://www.ably.io/documentation/rest-api) for Ably.

HTTP Basic22 endpoints

Azure Data Lake Storage

Cloud Platforms

Azure Data Lake Storage provides storage for Hadoop and other big data workloads.

No auth10 endpoints

Listed from APIs.guru (CC0).