Server and monitoring

Statistics

Retrieving server statistics

Fetch Server Statistics

GET
https://demo.traccar.org/api/statistics

Parameters

fromstring<date-time>requiredquery

in ISO 8601 format. eg. 1963-11-22T18:30:00Z

tostring<date-time>requiredquery

in ISO 8601 format. eg. 1963-11-22T18:30:00Z

Response

OK

Response fields application/json
Show child attributes
captureTimestring<date-time>

in ISO 8601 format. eg. 1963-11-22T18:30:00Z

activeUsersinteger

Number of active users in the capture period

activeDevicesinteger

Number of active devices in the capture period

requestsinteger

Total API requests processed

messagesReceivedinteger

Number of device messages received

messagesStoredinteger

Number of device messages stored to the database

401Unauthorized

Unauthorized

Authorization

BasicAuthhttp (basic)
ApiKeyhttp (bearer)