Server information
Traccar (6.10.0)
Traccar GPS tracking server API documentation. To use the API you need to have a server instance. For testing purposes you can use one of free demo servers. For production use you can install your own server or get a subscription service.
Download OpenAPI description
Overview
Languages
Servers
Mock server
https://docs2.mygpsapi.com/_mock/openapi
Doha Dynamics API (Production)
https://mygpsapi.com/api
- Mock serverhttps://docs2.mygpsapi.com/_mock/openapi/server
- Doha Dynamics API (Production)https://mygpsapi.com/api/server
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
https://docs2.mygpsapi.com/_mock/openapi/serverResponse
application/json
{ "id": 0, "registration": true, "readonly": true, "deviceReadonly": true, "limitCommands": true, "map": "string", "bingKey": "string", "mapUrl": "string", "poiLayer": "string", "latitude": 0, "longitude": 0, "zoom": 0, "version": "string", "forceSettings": true, "coordinateFormat": "string", "openIdEnabled": true, "openIdForce": true, "attributes": {} }
- Mock serverhttps://docs2.mygpsapi.com/_mock/openapi/server
- Doha Dynamics API (Production)https://mygpsapi.com/api/server
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
-u <username>:<password> \
https://docs2.mygpsapi.com/_mock/openapi/server \
-H 'Content-Type: application/json' \
-d '{
"id": 0,
"registration": true,
"readonly": true,
"deviceReadonly": true,
"limitCommands": true,
"map": "string",
"bingKey": "string",
"mapUrl": "string",
"poiLayer": "string",
"latitude": 0,
"longitude": 0,
"zoom": 0,
"version": "string",
"forceSettings": true,
"coordinateFormat": "string",
"openIdEnabled": true,
"openIdForce": true,
"attributes": {}
}'Response
application/json
{ "id": 0, "registration": true, "readonly": true, "deviceReadonly": true, "limitCommands": true, "map": "string", "bingKey": "string", "mapUrl": "string", "poiLayer": "string", "latitude": 0, "longitude": 0, "zoom": 0, "version": "string", "forceSettings": true, "coordinateFormat": "string", "openIdEnabled": true, "openIdForce": true, "attributes": {} }