Get started with Traffic Analytics API

Get started

To get started, sign in to the Traffic Analytics website with your email address and password, then create a sample query.

API workflow

After you are familiar with the query concepts, build your app using the Traffic Analytics REST API.

When your app needs Traffic Analytics data, follow this general flow:

Step 1: Retrieve a security token

Use your API credentials to request a limited-lifetime security token. Include this token in all subsequent API calls.

Step 2: Submit a query

Send the query parameters that define the geographic area, time period, time of day, and requested output fields. The API returns a query ID.

Step 3: Poll the query status

Use the query ID to check whether processing is complete. When the query finishes, the API returns a download URL.

Step 4: Download the results

Retrieve the query results from the download URL.

Query submission guidelines

If you need to submit multiple queries, submit them one at a time. Wait for each query to complete before submitting the next one. Submitting several queries without waiting for completion can cause undefined results. The submitted queries may time out or fail.

As a general guideline:

  • Don't submit more than a few queries per day.
  • Check your product license for download limits, such as a maximum number of downloads per year.
  • Review the service-level agreement (SLA) details in the following table.
Administrative Area TierExample Coverage AreaMax Number of Requests Per DayHistorical Data Limit per RequestAverage Size in GBsSLA per request
Tier 1 AreaPotsdam (Germany), Eindhoven (Netherlands)5Up to 1 year16 hours
Tier 2 AreaStuttgart (Germany), Lyon (France)4Up to 1 year16 hours
Tier 3 AreaBrandenburg (Germany), Normandy (France)3Up to 6 months18 hours
Tier 4 AreaNetherlands, Poland, Israel2Up to 1 month18 hours
Tier 5 AreaFrance, Germany, Italy1Up to 1 month1.58 hours
Tier 6 AreaEEU,WEU, MEA, APAC, CSA, USAN/AProfessional ServicesN/AN/A
Tier 7 AreaFull Europe, Full North AmericaN/AProfessional ServicesN/AN/A
Tier 8 AreaGlobalN/AProfessional ServicesN/AN/A
circle-info

Note:

Concurrent downloads, where multiple download requests are sent simultaneously, must be avoided.

Traffic Analytics data typically takes two days to compile, so the freshest available data is two days old.

The Traffic Analytics API supports a 95% service level. Make sure your app can handle error responses when the service is unavailable during maintenance or outage recovery.