Reports list
Purpose
Send a GET request to retrieve a list of reports generated by the Area Analytics service.
Request data
HTTPS method: GET
For ease of viewing and identification:
- Constants and parameters enclosed in curly brackets { } must be replaced with their values.
- See the following Request parameters section with the required and optional parameters tables for their values. The generic request format is as follows.
Format
https://{baseURL}/areaanalytics/reports?page={page}&namePattern={namePattern}&pageSize={pageSize}&isArchived={isArchived}&key={Your_API_Key}Example
https://api.tomtom.com/areaanalytics/reports?page=1&namePattern=&pageSize=10&isArchived=false&key={Your_API_Key}Request parameters
Required parameters | Description |
|---|---|
| The base URL for calling TomTom services. Value: |
| Authorization key for access to the API. Value: Your valid API key. |
Optional parameters | Description |
|---|---|
| Page number for pagination. Default is |
| Filter reports by name pattern. |
| Number of reports per page. Default is |
| Filter reports based on their archived status. Value: |
| Filter reports based on their statuses. Value: |
Response data
Response example
Here is an example showing the correct response.
{ "data": [ { "id": "a782dd83-2294-4eb4-acd4-ca5cf6008457", "startDate": "2025-01-01", "endDate": "2025-06-30", "frcs": [0, 1, 2, 3, 4, 5], "hours": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23], "name": "2025 H1", "dataTypes": [ "NETWORK_LENGTH", "CONGESTION_LEVEL", "FREE_FLOW_SPEED", "TRAVEL_TIME", "SPEED" ], "status": "DONE", "createdAt": "2025-08-22T10:58:33.085769", "price": 181, "archived": false } ], "page": 1, "pageSize": 10, "totalElements": 1, "totalPages": 1}Response structure
The response contains pagination information along with the report data. The following tables describe the fields in the response.
Data structure
Field | Description |
|---|---|
| Unique identifier for the report. |
| Start date of the report in YYYY-MM-DD format. |
| End date of the report in YYYY-MM-DD format. |
| Functional road classes included in the report. |
| List of hours included in the report. |
| Name for the report. |
| Data types included in the report. Possible values:
|
| Current status of the report. Allowed values:
|
| Timestamp when the report was created, in ISO 8601 format. |
| Token price of the report. |
| Indicates whether the report is archived. |
Pagination structure
Field | Description |
|---|---|
| Current page number. |
| Number of reports per page. |
| Total number of reports available. |
| Total number of pages available. |
Errors
If the supplied parameters are invalid or an internal error occurs, the API returns an error response in the requested format.
Response codes
Code | Meaning & possible causes |
|---|---|
| OK |
| Bad Request |
| Unauthorized |
| Forbidden |
| Not Found |