A lightweight analytics service that collects heartbeat data from Pocket ID instances to count active deployments.
Seeing how many active Pocket ID instances are out there through our analytics server genuinely motivates our team to keep developing and maintaining the project. The instance count is also displayed on the Pocket ID website.
Only minimal, non-identifiable data is collected, and analytics can be completely disabled by users.
The server stores only the following information:
Field | Description |
---|---|
Instance ID | A unique, non-identifiable UUID for the Pocket ID instance |
First seen | Timestamp when the instance first sent a heartbeat |
Last seen | Timestamp of the most recent heartbeat |
Last version | Version of the Pocket ID instance |
- Active: Instance has sent a heartbeat within the last day after initial registration
- Inactive: No heartbeat received for 2+ consecutive days
This server is hosted at https://analytics.pocket-id.org
.
GET /stats
Returns active instance count and historical data.
Query Parameters:
timeframe
(optional): Data timeframedaily
- Daily counts for last 30 days (default)monthly
- Monthly counts
Example Response:
{
"total": 5,
"history": [
{
"date": "2025-05-23",
"count": 1
},
{
"date": "2025-05-24",
"count": 3
},
{
"date": "2025-05-25",
"count": 5
}
]
}
POST /heartbeat
Registers or updates an instance's heartbeat.
Request Body:
{
"instance_id": "b316815f-5f81-488f-89f8-12b62013dfa4",
"version": "1.0.0"
}
Parameters:
instance_id
(string, required): Unique UUID for the Pocket ID instanceversion
(string, required): Current version of the Pocket ID instance
For more information about Pocket ID, visit the main repository.