> For the complete documentation index, see [llms.txt](https://chekin.gitbook.io/chekin-public-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chekin.gitbook.io/chekin-public-api/api-reference/stats.md).

# Stats

### Overview

The Stats API encompasses a suite of endpoints tailored for accommodation providers to manage their compliance with local statistical reporting requirements. This service allows users to link their statistical accounts (specific to their country, city, or region) and automate the process of data transmission, ensuring that they meet legal obligations efficiently and accurately

### Key capabilities

* [**List Stats Accounts**](/chekin-public-api/api-reference/stats/list-stat-accounts.md)\
  Provides a comprehensive view of all statistical accounts associated with the user's account, facilitating easy management and selection for data submission tasks.
* [**Retrieve Stat Account**](/chekin-public-api/api-reference/stats/retrieve-stat-account.md)\
  Enables users to access detailed information about a specific stats account, including credentials, linked properties, and submission history.
* [**Create Stat Account**](/chekin-public-api/api-reference/stats/create-stat-account.md)\
  Allows for the addition of a new stats account, specifying required credentials and other details necessary for establishing a connection for data submission.
* [**Update Stat Account**](/chekin-public-api/api-reference/stats/update-stat-account.md)\
  Offers the functionality to modify existing stats account details, such as updating credentials, contact information, or associated properties.
* [**Delete Stat Account**](/chekin-public-api/api-reference/stats/delete-stat-account.md)\
  Permits the removal of a stats account from the user's list, ceasing any further data submission activities and unlinking the account from the user's properties.

### How to use

* Authentication to ensure secure access to stats account functionalities, protecting sensitive data and credentials. This is done via a token received on [Authentication](/chekin-public-api/authentication.md)
* Accurate provision of account details, including credentials and specific reporting requirements as mandated by the statistical entity they are registering.
* Regularly updating stats account information to prevent disruptions in the legally required reporting process.
