GPS tracking server API documentation.
iTransfer (5.0)
Download OpenAPI description
Overview
Languages
Servers
Demo Server 1
https://demo.traccar.org/api
- Demo Server 1https://demo.traccar.org/api/devices
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
'https://demo.traccar.org/api/devices?all=true&userId=0&id=0&uniqueId=string'Response
application/json
[ { "id": 0, "name": "string", "uniqueId": "string", "status": "string", "disabled": true, "lastUpdate": "2019-08-24T14:15:22Z", "positionId": 0, "groupId": 0, "phone": "string", "model": "string", "contact": "string", "category": "string", "attributes": {} } ]
- Demo Server 1https://demo.traccar.org/api/devices
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
https://demo.traccar.org/api/devices \
-H 'Content-Type: application/json' \
-d '{
"id": 0,
"name": "string",
"uniqueId": "string",
"status": "string",
"disabled": true,
"lastUpdate": "2019-08-24T14:15:22Z",
"positionId": 0,
"groupId": 0,
"phone": "string",
"model": "string",
"contact": "string",
"category": "string",
"attributes": {}
}'Response
application/json
{ "id": 0, "name": "string", "uniqueId": "string", "status": "string", "disabled": true, "lastUpdate": "2019-08-24T14:15:22Z", "positionId": 0, "groupId": 0, "phone": "string", "model": "string", "contact": "string", "category": "string", "attributes": {} }
- Demo Server 1https://demo.traccar.org/api/devices/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
-u <username>:<password> \
'https://demo.traccar.org/api/devices/{id}' \
-H 'Content-Type: application/json' \
-d '{
"id": 0,
"name": "string",
"uniqueId": "string",
"status": "string",
"disabled": true,
"lastUpdate": "2019-08-24T14:15:22Z",
"positionId": 0,
"groupId": 0,
"phone": "string",
"model": "string",
"contact": "string",
"category": "string",
"attributes": {}
}'Response
application/json
{ "id": 0, "name": "string", "uniqueId": "string", "status": "string", "disabled": true, "lastUpdate": "2019-08-24T14:15:22Z", "positionId": 0, "groupId": 0, "phone": "string", "model": "string", "contact": "string", "category": "string", "attributes": {} }
- Demo Server 1https://demo.traccar.org/api/devices/{id}/accumulators
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
-u <username>:<password> \
'https://demo.traccar.org/api/devices/{id}/accumulators' \
-H 'Content-Type: application/json' \
-d '{
"deviceId": 0,
"totalDistance": 0,
"hours": 0
}'