Amazon Location Service Location Service Tracking API

The Location Service Tracking API from Amazon Location Service — 1 operation(s) for location service tracking.

GitHub OpenAPI

Operations 5

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 /tracking/v0/trackers Create a tracker for device location · Create Tracker #
Ask an LLM
“How do I create a tracker so I can track devices?”
“Can I set a pricing plan when creating a tracker?”
Tell an agent
Create tracker {name}.
Create tracker {name} with description {description}.
GET /tracking/v0/trackers/{TrackerName} Get a tracker's details · Describe Tracker #
Ask an LLM
“What are the details of a tracker?”
“Can I check a tracker's position filtering?”
Tell an agent
Describe tracker {name}.
Show the details of tracker {name}.
PATCH /tracking/v0/trackers/{TrackerName} Update a tracker's settings · Update Tracker #
Ask an LLM
“How do I change a tracker's position filtering?”
“Can I enable EventBridge events on an existing tracker?”
Tell an agent
Update tracker {name} to position filtering {filtering}.
Set EventBridge enabled to {enabled} on tracker {name}.
DELETE /tracking/v0/trackers/{TrackerName} Delete a tracker · Delete Tracker #
Ask an LLM
“How do I delete a tracker?”
“Is deleting a tracker permanent?”
Tell an agent destructive · confirm first
Delete tracker {name}.
Remove tracker {name} from my account.
POST /tracking/v0/list-trackers List trackers · List Trackers #
Ask an LLM
“Which trackers do I have?”
“Can I page through my trackers?”
Tell an agent
List my trackers.
List up to {max} trackers.

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-tracking-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-tracking-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Location Service Tracking API
  version: '2020-11-19'
  description: Generated from AWS's published Smithy model for Amazon Location Service. 5 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:
- sigv4: []
paths:
  /tracking/v0/trackers:
    post:
      operationId: CreateTracker
      summary: Create Tracker
      description: Creates a tracker resource in your Amazon Web Services account, which lets you retrieve current and historical
        location of devices.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateTrackerResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                TrackerName:
                  type: string
                  description: 'The name for the tracker resource. Requirements: Contain only alphanumeric characters (A-Z,
                    a-z, 0-9) , hyphens (-), periods (.), and underscores (_). Must be a unique tracker resource name. No
                    spaces allowed. For example, ExampleTracker.'
                PricingPlan:
                  type: string
                  description: No longer used. If included, the only allowed value is RequestBasedUsage.
                KmsKeyId:
                  type: string
                  description: A key identifier for an Amazon Web Services KMS customer managed key. Enter a key ID, key ARN,
                    alias name, or alias ARN.
                PricingPlanDataSource:
                  type: string
                  description: This parameter is no longer used.
                Description:
                  type: string
                  description: An optional description for the tracker resource.
                Tags:
                  type: object
                  additionalProperties:
                    type: string
                  description: 'Applies one or more tags to the tracker resource. A tag is a key-value pair helps manage,
                    identify, search, and filter your resources by labelling them. Format: "key" : "value" Restrictions: Maximum
                    50 tags per resource Each resource tag must be unique with a maximum of one value. Maximum key length:
                    128 Unicode characters in UTF-8 Maximum value length: 256 Unicode characters in UTF-8 Can use alphanumeric
                    characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @. Cannot use "aws:" as a prefix
                    for a key.'
                PositionFiltering:
                  type: string
                  description: 'Specifies the position filtering for the tracker resource. Valid values: TimeBased - Location
                    updates are evaluated against linked geofence collections, but not every location update is stored. If
                    your update frequency is more often than 30 seconds, only one update per 30 seconds is stored for each
                    unique device ID. DistanceBased - If the device has moved less than 30 m (98.4 ft), location updates are
                    ignored. Location updates within this area are neither evaluated against linked geofence collections,
                    nor stored. This helps control costs by reducing the number of geofence evaluations and histo'
                EventBridgeEnabled:
                  type: boolean
                  description: Whether to enable position UPDATE events from this tracker to be sent to EventBridge. You do
                    not need enable this feature to get ENTER and EXIT events for geofences with this tracker. Those events
                    are always sent to EventBridge.
                KmsKeyEnableGeospatialQueries:
                  type: boolean
                  description: Enables GeospatialQueries for a tracker that uses a Amazon Web Services KMS customer managed
                    key. This parameter is only used if you are using a KMS customer managed key. If you wish to encrypt your
                    data using your own KMS customer managed key, then the Bounding Polygon Queries feature will be disabled
                    by default. This is because by using this feature, a representation of your device positions will not
                    be encrypted using the your KMS managed key. The exact device position, however; is still encrypted using
                    your managed key. You can choose to opt-in to the Bounding Polygon Quseries feature. Thi
              required:
              - TrackerName
      tags:
      - Tracking
  /tracking/v0/trackers/{TrackerName}:
    get:
      operationId: DescribeTracker
      summary: Describe Tracker
      description: Retrieves the tracker resource details.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DescribeTrackerResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: TrackerName
        in: path
        required: true
        schema:
          type: string
        description: The name of the tracker resource.
      tags:
      - Tracking
    patch:
      operationId: UpdateTracker
      summary: Update Tracker
      description: Updates the specified properties of a given tracker resource.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateTrackerResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: TrackerName
        in: path
        required: true
        schema:
          type: string
        description: The name of the tracker resource to update.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                PricingPlan:
                  type: string
                  description: No longer used. If included, the only allowed value is RequestBasedUsage.
                PricingPlanDataSource:
                  type: string
                  description: This parameter is no longer used.
                Description:
                  type: string
                  description: Updates the description for the tracker resource.
                PositionFiltering:
                  type: string
                  description: 'Updates the position filtering for the tracker resource. Valid values: TimeBased - Location
                    updates are evaluated against linked geofence collections, but not every location update is stored. If
                    your update frequency is more often than 30 seconds, only one update per 30 seconds is stored for each
                    unique device ID. DistanceBased - If the device has moved less than 30 m (98.4 ft), location updates are
                    ignored. Location updates within this distance are neither evaluated against linked geofence collections,
                    nor stored. This helps control costs by reducing the number of geofence evaluations and his'
                EventBridgeEnabled:
                  type: boolean
                  description: Whether to enable position UPDATE events from this tracker to be sent to EventBridge. You do
                    not need enable this feature to get ENTER and EXIT events for geofences with this tracker. Those events
                    are always sent to EventBridge.
                KmsKeyEnableGeospatialQueries:
                  type: boolean
                  description: Enables GeospatialQueries for a tracker that uses a Amazon Web Services KMS customer managed
                    key. This parameter is only used if you are using a KMS customer managed key.
      tags:
      - Tracking
    delete:
      operationId: DeleteTracker
      summary: Delete Tracker
      description: Deletes a tracker resource from your Amazon Web Services account. This operation deletes the resource permanently.
        If the tracker resource is in use, you may encounter an error. Make sure that the target resource isn't a dependency
        for your applications.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteTrackerResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: TrackerName
        in: path
        required: true
        schema:
          type: string
        description: The name of the tracker resource to be deleted.
      tags:
      - Tracking
  /tracking/v0/list-trackers:
    post:
      operationId: ListTrackers
      summary: List Trackers
      description: Lists tracker resources in your Amazon Web Services account.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListTrackersResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                MaxResults:
                  type: integer
                  description: 'An optional limit for the number of resources returned in a single call. Default value: 100'
                NextToken:
                  type: string
                  description: 'The pagination token specifying which page of results to return in the response. If no token
                    is provided, the default page is the first page. Default value: null'
      tags:
      - Tracking
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: geo
  schemas:
    AccessDeniedException:
      type: object
      properties:
        Message:
          type: string
      required:
      - Message
    ConflictException:
      type: object
      properties:
        Message:
          type: string
      required:
      - Message
    CreateTrackerResponse:
      type: object
      properties:
        TrackerName:
          type: string
          description: The name of the tracker resource.
        TrackerArn:
          type: string
          description: 'The Amazon Resource Name (ARN) for the tracker resource. Used when you need to specify a resource
            across all Amazon Web Services. Format example: arn:aws:geo:region:account-id:tracker/ExampleTracker'
        CreateTime:
          type: string
          format: date-time
          description: 'The timestamp for when the tracker resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.'
      required:
      - TrackerName
      - TrackerArn
      - CreateTime
    DeleteTrackerResponse:
      type: object
      properties: {}
    DescribeTrackerResponse:
      type: object
      properties:
        TrackerName:
          type: string
          description: The name of the tracker resource.
        TrackerArn:
          type: string
          description: 'The Amazon Resource Name (ARN) for the tracker resource. Used when you need to specify a resource
            across all Amazon Web Services. Format example: arn:aws:geo:region:account-id:tracker/ExampleTracker'
        Description:
          type: string
          description: The optional description for the tracker resource.
        PricingPlan:
          type: string
          description: Always returns RequestBasedUsage.
        PricingPlanDataSource:
          type: string
          description: No longer used. Always returns an empty string.
        Tags:
          type: object
          additionalProperties:
            type: string
          description: The tags associated with the tracker resource.
        CreateTime:
          type: string
          format: date-time
          description: 'The timestamp for when the tracker resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.'
        UpdateTime:
          type: string
          format: date-time
          description: 'The timestamp for when the tracker resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.'
        KmsKeyId:
          type: string
          description: A key identifier for an Amazon Web Services KMS customer managed key assigned to the Amazon Location
            resource.
        PositionFiltering:
          type: string
          description: The position filtering method of the tracker resource.
        EventBridgeEnabled:
          type: boolean
          description: Whether UPDATE events from this tracker in EventBridge are enabled. If set to true these events will
            be sent to EventBridge.
        KmsKeyEnableGeospatialQueries:
          type: boolean
          description: Enables GeospatialQueries for a tracker that uses a Amazon Web Services KMS customer managed key. This
            parameter is only used if you are using a KMS customer managed key. If you wish to encrypt your data using your
            own KMS customer managed key, then the Bounding Polygon Queries feature will be disabled by default. This is because
            by using this feature, a representation of your device positions will not be encrypted using the your KMS managed
            key. The exact device position, however; is still encrypted using your managed key. You can choose to opt-in to
            the Bounding Polygon Quseries feature. Thi
      required:
      - TrackerName
      - TrackerArn
      - Description
      - CreateTime
      - UpdateTime
    InternalServerException:
      type: object
      properties:
        Message:
          type: string
      required:
      - Message
    ListTrackersResponse:
      type: object
      properties:
        Entries:
          type: array
          items:
            $ref: '#/components/schemas/ListTrackersResponseEntry'
          description: Contains tracker resources in your Amazon Web Services account. Details include tracker name, description
            and timestamps for when the tracker was created and last updated.
        NextToken:
          type: string
          description: A pagination token indicating there are additional pages available. You can use the token in a following
            request to fetch the next set of results.
      required:
      - Entries
    ListTrackersResponseEntry:
      type: object
      properties:
        TrackerName:
          type: string
          description: The name of the tracker resource.
        Description:
          type: string
          description: The description for the tracker resource.
        PricingPlan:
          type: string
          description: Always returns RequestBasedUsage.
        PricingPlanDataSource:
          type: string
          description: No longer used. Always returns an empty string.
        CreateTime:
          type: string
          format: date-time
          description: 'The timestamp for when the tracker resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.'
        UpdateTime:
          type: string
          format: date-time
          description: 'The timestamp at which the device''s position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.'
      required:
      - TrackerName
      - Description
      - CreateTime
      - UpdateTime
    ResourceNotFoundException:
      type: object
      properties:
        Message:
          type: string
      required:
      - Message
    ServiceQuotaExceededException:
      type: object
      properties:
        Message:
          type: string
          description: A message with the reason for the service quota exceeded exception error.
      required:
      - Message
    ThrottlingException:
      type: object
      properties:
        Message:
          type: string
      required:
      - Message
    UpdateTrackerResponse:
      type: object
      properties:
        TrackerName:
          type: string
          description: The name of the updated tracker resource.
        TrackerArn:
          type: string
          description: 'The Amazon Resource Name (ARN) of the updated tracker resource. Used to specify a resource across
            AWS. Format example: arn:aws:geo:region:account-id:tracker/ExampleTracker'
        UpdateTime:
          type: string
          format: date-time
          description: 'The timestamp for when the tracker resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.'
      required:
      - TrackerName
      - TrackerArn
      - UpdateTime
    ValidationException:
      type: object
      properties:
        Message:
          type: string
        Reason:
          type: string
          description: A message with the reason for the validation exception error.
        FieldList:
          type: array
          items:
            $ref: '#/components/schemas/ValidationExceptionField'
          description: The field where the invalid entry was detected.
      required:
      - Message
      - Reason
      - FieldList
    ValidationExceptionField:
      type: object
      properties:
        Name:
          type: string
          description: The field name where the invalid entry was detected.
        Message:
          type: string
          description: A message with the reason for the validation exception error.
      required:
      - Name
      - Message
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/location/service/2020-11-19/location-2020-11-19.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)