Amazon Location Service Location Service Operations API

The Location Service Operations API from Amazon Location Service — 20 operation(s) for location service operations.

GitHub OpenAPI
Business capability
Location & Mapping AE-120

Operations 36

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /geofencing/v0/collections/{CollectionName}/delete-geofences Delete several geofences from a collection · Batch Delete Geofence #
Ask an LLM
“How do I remove a batch of geofences from a geofence collection?”
“Can I delete several geofences at once?”
Tell an agent destructive · confirm first
Delete geofences {geofence_ids} from collection {collection}.
Remove these geofences from {collection} in one batch.
POST /geofencing/v0/collections/{CollectionName}/put-geofences Store or update several geofences in a collection · Batch Put Geofence #
Ask an LLM
“How do I store many geofences into a geofence collection at once?”
“Can I update existing geofences in a batch?”
Tell an agent
Store geofences {entries} in collection {collection}.
Batch put these geofences into {collection} and update any that already exist.
POST /geofencing/v0/collections/{CollectionName}/forecast-geofence-events Forecast future geofence events · Forecast Geofence Events #
Ask an LLM
“If a device keeps moving at its current speed, which geofences will it enter or exit?”
“Can I forecast geofence events for a time horizon ahead?”
Tell an agent
Forecast geofence events for device {device_state} in collection {collection}.
Predict geofence events for {device_state} over the next {time_horizon_minutes} minutes.
GET /geofencing/v0/collections/{CollectionName}/geofences/{GeofenceId} Get a geofence's details · Get Geofence #
Ask an LLM
“What geometry does a specific geofence in my collection have?”
“Can I retrieve one geofence by its ID?”
Tell an agent
Get geofence {geofence_id} from collection {collection}.
Show the geometry of geofence {geofence_id} in {collection}.
PUT /geofencing/v0/collections/{CollectionName}/geofences/{GeofenceId} Store or update a geofence · Put Geofence #
Ask an LLM
“How do I store a geofence in a collection?”
“Can I update the geometry of a geofence I already have?”
Tell an agent
Store geofence {geofence_id} in collection {collection} with geometry {geometry}.
Update geofence {geofence_id} in {collection} to {geometry}.
POST /geofencing/v0/collections/{CollectionName}/list-geofences List geofences in a collection · List Geofences #
Ask an LLM
“Which geofences are stored in my geofence collection?”
“Can I page through a collection's geofences?”
Tell an agent
List geofences in collection {collection}.
Show up to {max_results} geofences from {collection}.
GET /maps/v0/maps/{MapName}/glyphs/{FontStack}/{FontUnicodeRange} Get map glyphs (legacy) · Get Map Glyphs #
Ask an LLM
“Can I still fetch map glyphs through the older Maps API v0?”
“Is the legacy GetMapGlyphs endpoint deprecated?”
Tell an agent
Get glyphs for font stack {font_stack} in range {font_unicode_range} on map {map}.
Download the legacy glyph file {font_stack} for {font_unicode_range} from {map}.
GET /v2/glyphs/{FontStack}/{FontUnicodeRange} Get map glyphs · Get Glyphs #
Ask an LLM
“How do I get the font glyphs a map uses?”
“Can I fetch glyphs for a Unicode range on a map style?”
Tell an agent
Get glyphs for font stack {font_stack} in range {font_unicode_range}.
Download the glyphs for {font_stack} covering {font_unicode_range}.
GET /maps/v0/maps/{MapName}/sprites/{FileName} Get map sprites (legacy) · Get Map Sprites #
Ask an LLM
“Can I still fetch map sprites through the older Maps API v0?”
“Is the legacy GetMapSprites endpoint deprecated?”
Tell an agent
Get sprites {file_name} for map {map} from the legacy Maps API.
Download the legacy sprite sheet {file_name} for {map}.
GET /v2/styles/{Style}/{ColorScheme}/{Variant}/sprites/{FileName} Download map sprites for a style · Get Sprites #
Ask an LLM
“Where can I get the sprites file for a map style?”
“Do sprites change between the dark and light color schemes?”
Tell an agent
Get the sprites for style {Style} in {ColorScheme} {Variant}.
Download the {FileName} sprites {Style} {ColorScheme} {Variant}.
GET /maps/v0/maps/{MapName}/style-descriptor Get map style descriptor (legacy) · Get Map Style Descriptor #
Ask an LLM
“Can I still fetch a map's style descriptor through the older Maps API v0?”
“Is the legacy GetMapStyleDescriptor endpoint deprecated?”
Tell an agent
Get the style descriptor for map {map} using the legacy Maps API.
Download the legacy style descriptor for {map}.
GET /maps/v0/maps/{MapName}/tiles/{Z}/{X}/{Y} Get a map tile (legacy) · Get Map Tile #
Ask an LLM
“Can I still fetch map tiles through the older Maps API v0?”
“Is the legacy GetMapTile endpoint deprecated?”
Tell an agent
Get tile {z}/{x}/{y} for map {map} from the legacy Maps API.
Download the legacy map tile {z}/{x}/{y} on {map}.
GET /v2/tiles/{Tileset}/{Z}/{X}/{Y} Get a map tile · Get Tile #
Ask an LLM
“How do I fetch a map tile at a zoom level and tile coordinates?”
“Can I get a raster or vector tile for a map style?”
Tell an agent
Get tile {z}/{x}/{y} from tileset {tileset}.
Download the {tileset} tile at zoom {z}, x {x}, y {y}.
POST /places/v0/indexes/{IndexName}/search/position Reverse geocode a position · Search Place Index For Position #
Ask an LLM
“What address or place is at a given latitude and longitude?”
“Can I reverse geocode a coordinate with the Places API?”
Tell an agent
Reverse geocode position {position} in place index {index}.
Find the place at {position} using index {index}.
POST /places/v0/indexes/{IndexName}/search/suggestions Search place index for suggestions · Search Place Index For Suggestions #
Ask an LLM
“What place suggestions come up when I type part of an address?”
“Can I filter place suggestions by country or category?”
Tell an agent
Search place index {index} for suggestions on {text}.
Suggest places in {index} matching {text} in countries {filter_countries}.
POST /routes/v0/calculators/{CalculatorName}/calculate/route Calculate a route between two points · Calculate Route #
Ask an LLM
“What is the fastest route between two coordinates?”
“Can I calculate a route with waypoints and a departure time?”
Tell an agent
Calculate a route from {departure} to {destination} using calculator {calculator}.
Route from {departure} to {destination} through waypoints {waypoints} with calculator {calculator}.
POST /routes/v0/calculators/{CalculatorName}/calculate/route-matrix Calculate a route matrix over the v1 API (deprecated) · Calculate Route Matrix #
Ask an LLM
“Is the older v1 route matrix calculator still current?”
“Can I still calculate routing matrices between many points through the v1 API?”
Tell an agent
Calculate the v1 route matrix for {CalculatorName} from {DeparturePositions} to {DestinationPositions}.
Using v1, compute {TravelMode} route-matrix stops from {DeparturePositions} to {DestinationPositions} on {CalculatorName}.
POST /tracking/v0/trackers/{TrackerName}/consumers Link a tracker to a geofence collection · Associate Tracker Consumer #
Ask an LLM
“How do I make a tracker send its positions to a geofence collection?”
“Can a tracker be linked to several geofence collections?”
Tell an agent
Associate tracker {tracker} with geofence collection {consumer}.
Link tracker {tracker} to collection {consumer} so it evaluates geofences.
DELETE /tracking/v0/trackers/{TrackerName}/consumers/{ConsumerArn} Unlink a tracker from a geofence collection · Disassociate Tracker Consumer #
Ask an LLM
“How do I stop a tracker from evaluating geofences?”
“Can I unlink a tracker from its geofence collection?”
Tell an agent destructive · confirm first
Disassociate tracker {tracker} from geofence collection {consumer}.
Unlink tracker {tracker} from collection {consumer}.
POST /tracking/v0/trackers/{TrackerName}/delete-positions Delete device position history · Batch Delete Device Position History #
Ask an LLM
“How do I clear the position history of several devices from a tracker?”
“Can I wipe old device positions from a tracker resource?”
Tell an agent destructive · confirm first
Delete position history for devices {device_ids} on tracker {tracker}.
Clear the stored positions of {device_ids} from tracker {tracker}.
POST /tracking/v0/trackers/{TrackerName}/get-positions Get the latest positions of several tracker devices · Batch Get Device Position #
Ask an LLM
“How do I get the most recent positions of several devices on a tracker?”
“Can I look up several tracker devices' positions in one request?”
Tell an agent
Get the latest positions of devices {device_ids} on tracker {tracker}.
Look up the current location of tracker {tracker} devices {device_ids}.
POST /tracking/v0/trackers/{TrackerName}/devices/{DeviceId}/list-positions Get a tracker device's position history · Get Device Position History #
Ask an LLM
“How do I see where a tracker device has been over time?”
“Can I get a device's position history within a time range?”
Tell an agent
Get the position history of device {device_id} on tracker {tracker} from {start} to {end}.
Show tracker {tracker} device {device_id} positions within the last {hours} hours.
POST /tracking/v0/trackers/{TrackerName}/list-positions List all device positions on a tracker · List Device Positions #
Ask an LLM
“How do I see the current positions of every device on a tracker?”
“Can I list tracker device positions within a geometry filter?”
Tell an agent
List the current positions of all devices on tracker {tracker}.
Show tracker {tracker} device positions inside geometry {geometry}.
POST /tracking/v0/trackers/{TrackerName}/list-consumers List geofence collections a tracker consumes · List Tracker Consumers #
Ask an LLM
“Which geofence collections is a tracker currently associated with?”
“Can I see what a tracker consumes?”
Tell an agent
List the geofence collections tracker {tracker} consumes.
Show what tracker {tracker} is currently receiving geofence updates from.
GET /v2/static/{FileName} Get a static map image · Get Static Map #
Ask an LLM
“How do I get a static map image with a marker on it?”
“Can I overlay GeoJSON on a static map?”
Tell an agent
Get a static map image {file} {width} wide and {height} tall.
Create a static map {file} centered on {center} with a GeoJSON overlay {geojson}.
GET /v2/styles/{Style}/descriptor Get a map style's descriptor · Get Style Descriptor #
Ask an LLM
“What does a map style's descriptor contain?”
“Can I get the descriptor for a map style with a political view?”
Tell an agent
Get the descriptor for map style {style}.
Show the descriptor of style {style} with political view {view}.
POST /v2/autocomplete Autocomplete a partial address query · Autocomplete #
Ask an LLM
“How do I complete a partially typed address as the user types?”
“Can autocomplete results be biased toward a location?”
Tell an agent
Autocomplete the address {query}.
Suggest addresses near {bias} for {query}.
POST /v2/geocode Geocode an address or place name · Geocode #
Ask an LLM
“How do I turn a street name into latitude and longitude?”
“Can geocoding return political views or time zone info?”
Tell an agent
Geocode {QueryText} and return up to {MaxResults} results.
Reverse geocode {QueryText} with political view {PoliticalView}.
POST /v2/reverse-geocode Convert coordinates to an address · Reverse Geocode #
Ask an LLM
“How do I get the address for a latitude and longitude?”
“Can I reverse geocode within a radius of a point?”
Tell an agent
Reverse geocode the coordinates {position}.
Get the address for {position} within {radius} meters.
POST /v2/search-nearby Find points of interest near a point · Search Nearby #
Ask an LLM
“How do I find gas stations or restaurants near a location?”
“Can I filter nearby places by category?”
Tell an agent
Find points of interest near {position}.
Search nearby places within {radius} meters of {position} matching {filter}.
POST /v2/search-text Search for places by text · Search Text #
Ask an LLM
“How do I search for places by text?”
“Can I search text with a travel mode?”
Tell an agent
Search text {query}.
Search text {query} using travel mode {mode}.
POST /v2/suggest Suggest places for a partial query · Suggest #
Ask an LLM
“How do I get suggestions for a partially typed place name?”
“Can suggestions be filtered by location?”
Tell an agent
Suggest places for {query}.
Suggest {query} near {bias}.
POST /v2/isolines Calculate reachable areas from a point · Calculate Isolines #
Ask an LLM
“How do I draw a 30-minute drive time area around a store?”
“Can isolines account for traffic?”
Tell an agent
Calculate isolines from {origin} for thresholds {thresholds}.
Draw reachable areas from {origin} for thresholds {thresholds} with traffic {traffic}.
POST /v2/route-matrix Calculate a route matrix between origins and destinations · Calculate Route Matrix #
Ask an LLM
“How do I get travel times between a set of origins and destinations in one call?”
“Can I compute a route matrix that avoids certain roads or traffic?”
Tell an agent
Calculate the route matrix from {origins} to {destinations}.
Compute a route matrix from {origins} to {destinations} avoiding {avoid}.
POST /v2/optimize-waypoints Optimize the order of waypoints for a journey · Optimize Waypoints #
Ask an LLM
“How do I find the fastest order to visit a list of waypoints?”
“Can the waypoint optimizer return the best route for a delivery driver?”
Tell an agent
Optimize the waypoint sequence from {origin} through {waypoints}.
Find the fastest route from {origin} to {destination} via {waypoints}.
POST /v2/snap-to-roads Snap GPS trace points to roads · Snap To Roads #
Ask an LLM
“How do I clean up a GPS trace so it lies on the road network?”
“Can I limit how far a trace point can snap to a road?”
Tell an agent
Snap the trace {trace_points} to roads.
Snap {trace_points} to roads within {snap_radius} meters.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-location-service:amazon-location-service-operations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-location-service-operations-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Location Service Operations API
  version: '2020-11-19'
  description: Generated from AWS's published Smithy model for Amazon Location Service. 36 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://geo.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:


# --- truncated at 32 KB (342 KB total) ---
# Full source: https://artifacts.apis.io/amazon-location-service/openapi/amazon-location-service-operations-api-openapi.yml