Amazon Location Service
amazonaws · Cloud
"Suite of geospatial services including Maps, Places, Routes, Tracking, and Geofencing"
Authentication
Sample Requests
Returns a list of tags that are applied to the specified Amazon Location resource.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/amazonaws.com/location/2020-11-19/tags/{ResourceArn}"import requests
response = requests.get(
"https://api.apis.guru/v2/specs/amazonaws.com/location/2020-11-19/tags/{ResourceArn}",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/amazonaws.com/location/2020-11-19/tags/{ResourceArn}';
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/amazonaws.com/location/2020-11-19/tags/{ResourceArn}"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/amazonaws.com/location/2020-11-19/tags/{ResourceArn}")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/location/2020-11-19/tags/{ResourceArn}";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Retrieves the map style descriptor from a map resource. The style descriptor contains specifications on how features render on a map. For example, what data to display, what order to display the data in, and the style for the data. Style descriptors follow the Mapbox Style Specification.</
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/amazonaws.com/location/2020-11-19/maps/v0/maps/{MapName}/style-descriptor?key=YOUR_API_KEY"import requests
params = {
"key": "YOUR_API_KEY"
}
response = requests.get(
"https://api.apis.guru/v2/specs/amazonaws.com/location/2020-11-19/maps/v0/maps/{MapName}/style-descriptor",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/amazonaws.com/location/2020-11-19/maps/v0/maps/{MapName}/style-descriptor');
url.searchParams.set('key', 'YOUR_API_KEY');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/amazonaws.com/location/2020-11-19/maps/v0/maps/{MapName}/style-descriptor")
q := baseURL.Query()
q.Set("key", "YOUR_API_KEY")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/amazonaws.com/location/2020-11-19/maps/v0/maps/{MapName}/style-descriptor")
uri.query = URI.encode_www_form({
"key" => "YOUR_API_KEY"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/location/2020-11-19/maps/v0/maps/{MapName}/style-descriptor?" . http_build_query([
"key" => "YOUR_API_KEY"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Retrieves the geofence collection details.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/amazonaws.com/location/2020-11-19/geofencing/v0/collections/{CollectionName}"import requests
response = requests.get(
"https://api.apis.guru/v2/specs/amazonaws.com/location/2020-11-19/geofencing/v0/collections/{CollectionName}",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/amazonaws.com/location/2020-11-19/geofencing/v0/collections/{CollectionName}';
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/amazonaws.com/location/2020-11-19/geofencing/v0/collections/{CollectionName}"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/amazonaws.com/location/2020-11-19/geofencing/v0/collections/{CollectionName}")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/location/2020-11-19/geofencing/v0/collections/{CollectionName}";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with Amazon Location Service?
Amazon Location Service is a Cloud API. Developers commonly use cloud APIs for:
- provisioning and managing cloud infrastructure
- automating deployments and container orchestration
- monitoring uptime and performance metrics
- managing storage buckets and databases
- setting up auto-scaling and load balancing
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Amazon Location Service is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide