> For the complete documentation index, see [llms.txt](https://navixy.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://navixy.com/docs/analytics-api/readme.md). Agents can also search and read this documentation through its [MCP server](https://navixy.com/docs/~gitbook/mcp).

# Analytics API

Read report and dashboard data from your own code: the REST APIs of Navixy Reports and Dashboards, their addresses, and how to call them with an API key.

The Analytics API lets your app read the same data that Navixy Reports and Dashboards show in Location Intelligence. Your app can run a report for a period and a set of assets. It gets the summary of the report for the fleet and for each asset. It can also read a whole dashboard for a period. For example, an app can export the daily mileage of each vehicle to your accounting system or show a fleet panel on your own website.

The Analytics API has 2 REST APIs, one for each product. Each API has its own address and its own reference. Both APIs use the same access token as [Navixy GraphQL API](https://navixy.com/docs/navixy-graphql-api/), which your app gets by exchanging an API key. See [Authentication](https://navixy.com/docs/analytics-api/authentication.md). To make your first requests, see [Getting started](https://navixy.com/docs/analytics-api/getting-started.md).

## The 2 APIs

<table><thead><tr><th width="160">API</th><th width="300">Address</th><th>What it returns</th></tr></thead><tbody><tr><td><a href="https://navixy.com/docs/analytics-api/products/reports.md">Reports API</a></td><td><code>https://reports.&#x3C;REGION>.navixy.com/api</code></td><td>Report types and assets, report summaries for a period, and links that open a report in Location Intelligence</td></tr><tr><td><a href="https://navixy.com/docs/analytics-api/products/dashboards.md">Dashboards API</a></td><td><code>https://dashboards.&#x3C;REGION>.navixy.com/api</code></td><td>The dashboards of a workspace and their periods, and the dashboard data of a whole dashboard for a period</td></tr></tbody></table>

Replace `<REGION>` with the region of your organization: `eu` for the European Union or `us` for the United States. Use the region of the identity service that issued your token.

## How it works

Every request is an HTTP `POST` request to one of the 2 addresses, with an access token in the `Authorization` header and a JSON body. Every body includes `timeZone`. See [Time zone](#time-zone).

The token gives access to one workspace, so the response has the data of that workspace only. The API key's role decides which reports and dashboards your app can read. See [Users and roles](https://navixy.com/docs/navixy-console/users-and-roles.md) in the Navixy Console documentation.

The workspace must have the product: the Reports API needs Reports, and the Dashboards API needs Dashboards. To learn what each product shows, see [Reports](https://navixy.com/docs/location-intelligence/products/reports.md) and [Dashboards](https://navixy.com/docs/location-intelligence/products/dashboards.md) in the Location Intelligence documentation.

### Time zone

Every request body includes `timeZone`, the time zone of your app's user, as an IANA name such as `Europe/Berlin`. The API uses it in 2 ways:

* The Reports API reads the days of a period on the calendar of this time zone. For example, `last_week` starts on Monday in Berlin. A Dashboards API period, such as `7d`, ends at the moment of the request.
* It writes every date and time of the response in this time zone, with its offset, such as `2026-11-27T16:07:52+01:00`. A time in `UTC` ends in `Z`.

`UTC` is accepted. A fixed offset, such as `+01:00` or `Etc/GMT+2`, returns HTTP 400 with `invalid_tool_call`. A wrong `timeZone` is reported alone, before the other fields of the body are checked.

## Analytics API or GraphQL API

Use the Analytics API to read what Reports and Dashboards calculate: report summaries and dashboard data. Use [Navixy GraphQL API](https://navixy.com/docs/navixy-graphql-api/) to read and change the records that these products calculate from, such as assets, devices, and geo objects. One access token works for both APIs.

## Section contents

* [Getting started](https://navixy.com/docs/analytics-api/getting-started.md): Make your first requests, from an API key to a report summary and dashboard data.
* [Authentication](https://navixy.com/docs/analytics-api/authentication.md): How to get an access token from an API key and send it with every request.
* [Error handling](https://navixy.com/docs/analytics-api/error-handling.md): The error format, the codes that both APIs return, and how to retry a request.
* [Limits](https://navixy.com/docs/analytics-api/limits.md): How many requests an API key can make in a day, and the limits of each request.
* [Reports API](https://navixy.com/docs/analytics-api/products/reports.md): Get the report types and assets that your token can use, report summaries, and links that open reports in Location Intelligence.
* [Dashboards API](https://navixy.com/docs/analytics-api/products/dashboards.md): List the dashboards and periods that the token can read, and read the data of each dashboard.

## Developer resources

* [Reports API reference](https://navixy.com/docs/analytics-api/products/reports/api-reference.md) and [Dashboards API reference](https://navixy.com/docs/analytics-api/products/dashboards/api-reference.md): every operation and response model.
* The OpenAPI specifications: [Reports API](https://openapi.gitbook.com/o/YVLWhgAwCZPoU5vlRsCs/spec/analytics-reports.json) and [Dashboards API](https://openapi.gitbook.com/o/YVLWhgAwCZPoU5vlRsCs/spec/analytics-dashboards.json), to load into an API client or a code generator.
* [Contact Navixy](https://www.navixy.com/en/contact?utm_source=navixy-docs\&utm_campaign=analytics-api) for help with the Analytics API.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://navixy.com/docs/analytics-api/readme.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
