Get data from an interactive map layer

You can get data from an interactive map layer using the interactive API.

The typical flow for getting data consists of the following steps.

  1. Obtain an authorization token
  2. Get API base URLs
  3. Determine the scope of the data and get the data handle
  4. Get feature collection

Obtain an authorization token

Obtain an authorization token for your HTTP requests. For more information, see the Identity & Access Management Guide.

Note

For authorization in a GET request you can also use an API Key as a query parameter instead of a bearer token in an authorization header.

Get API base URLs

Use the API Lookup service to get the API endpoints for the catalog you want to get data from. For instructions, see the API Lookup Developer Guide.

Determine the scope of the data

Note

The non-error response is always a FeatureCollection, even when there are no features found.

There are several ways you can ask for data:

results matching ""

    No results matching ""