T

Traccar REST API

REST discovered

Details
URL
http://{host}:{port}/api
Spec
https://raw.githubusercontent.com/traccar/traccar/master/openapi.yaml
Docs
https://www.traccar.org/api-reference/
Authentication
Traccar user email and password basic discovered Get credentials ↗
Authorization: Basic <credential>

Create or use an existing user account on your Traccar server. On a demo server, open a demo server and click Register on the login screen to create your own account. For production, use your own installed server or a subscription service. Then send the account email and password with HTTP Basic auth.

Traccar account token bearer discovered Get token ↗
Authorization: Bearer <credential>

Generate an account token from the Traccar web app or via an API call, as described on the Traccar API page. Use that token either as a bearer token for API requests or as the token query parameter on the session endpoint, depending on the surface.