List of available API commands

for
api.crowdcount.tech

To be used with a Crowd Counter if you wish to integrate its functionality with your own application.

Command Description Parameters
GET /ping Returns "pong", indicating that the server is running.
  • None
GET /totalcount Returns the total count of people ever detected by CrowdCount.
  • None
GET /check_user Checks if a device exists and returns its online status.
  • device_id (required)
GET /connection_status Returns the connection status of a specified device.
  • device_id (required)
POST /check_password Checks if the provided password for a specified device is correct.
Prefer POST with JSON body for security.
  • device_id (required)
  • password (required)
GET /currentcount Returns the current count for a specified device.
  • device_id (required)
POST /currentcount Updates the current count for a specified device.
  • device_id (required)
  • password (required)
  • new_count (required)
GET /get_user_days Returns a list of days for which the device has count data.
  • device_id (required)
  • password (required)
GET /check_if_user_has_day Checks if the device has data for a specific day.
  • device_id (required)
  • password (required)
  • date (required)
GET /get_day_data Returns data for a specific day for the device.
An example of this api call is provided below.
  • device_id (required)
  • password (required)
  • date (required)
GET /get_average_day_data Returns the average data for a specific day for the device.
The average is calculated based on data from the same weekday over the previous 8 weeks, provided there is enough data. A minimum of 2 weeks of data is required.
  • device_id (required)
  • password (required)
  • date (required)
GET /check_if_user_has_week Checks if the device has data for a specific week.
  • device_id (required)
  • password (required)
  • start_date (required)
GET /get_week_data Returns data for a specific week for the device.
To select a week, input any day of that week and it will provide the data from the previous Monday to the next Sunday
  • device_id (required)
  • password (required)
  • date (required)
GET /get_average_week_data Returns the average data for a specific week for the device.
The average is calculated based on weekly weekday data over the previous 4 weeks, provided there is enough data.
  • device_id (required)
  • password (required)
  • date (required)
GET /check_if_user_has_month Checks if the device has data for a specific month.
  • device_id (required)
  • password (required)
  • date (required)
GET /get_month_data Returns data for a specific month for the device.
Returns daily averages for each day of the month that has data.
  • device_id (required)
  • password (required)
  • date (required)
GET /get_average_month_data Returns the average data for a specific month for the device.
The average is calculated based on data from the same month over the previous 5 months, provided there is enough data. A minimum of 2 months of data is required. Returns "N/A" if insufficient data.
  • device_id (required)
  • password (required)
  • date (required)
GET /get_year_data Returns data for a specific year for the device.
Returns monthly averages for each month of the year that has data.
  • device_id (required)
  • password (required)
  • year (required)
GET /get_average_year_data Returns the average data for a specific year for the device.
The average is calculated based on data from the same month over the previous 3 years, provided there is enough data. A minimum of 2 years of data is required. Returns "N/A" if insufficient data.
  • device_id (required)
  • password (required)
  • year (required)
GET /export_csv Exports CSV data for a specified device and date.
If no date is provided, all data is exported in a zip file.
  • device_id (required)
  • password (required)
  • date (optional)

Important Notes


device_id
is the preferred parameter name. user_id is still accepted for backwards compatibility.

For authenticated endpoints,
POST with JSON body
is recommended for security. Example:

{"device_id": "your_id", "password": "your_password"}

The date format used is
yyyy-mm-dd
.

Server timezone is
UTC
, make sure to convert it to your desired timezone in your application.

For year-based endpoints, use a 4-digit year format like
2026
.


The API endpoint is api.crowdcount.tech


Check our server status at crowdcount.tech/status


Here is an
example
of a working API call:


https://api.crowdcount.tech/get_day_data?device_id=Demo&password=password&date=YYYY-MM-DD


© 2026 CrowdCount LLC. All rights reserved. | Privacy Policy | Terms of Use