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/commands
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
'https://demo.traccar.org/api/commands?all=true&userId=0&deviceId=0&groupId=0&refresh=true'Response
application/json
[ { "id": 0, "deviceId": 0, "description": "string", "type": "string", "attributes": {} } ]
- Demo Server 1https://demo.traccar.org/api/commands
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
https://demo.traccar.org/api/commands \
-H 'Content-Type: application/json' \
-d '{
"id": 0,
"deviceId": 0,
"description": "string",
"type": "string",
"attributes": {}
}'Response
application/json
{ "id": 0, "deviceId": 0, "description": "string", "type": "string", "attributes": {} }
- Demo Server 1https://demo.traccar.org/api/commands/{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/commands/{id}' \
-H 'Content-Type: application/json' \
-d '{
"id": 0,
"deviceId": 0,
"description": "string",
"type": "string",
"attributes": {}
}'Response
application/json
{ "id": 0, "deviceId": 0, "description": "string", "type": "string", "attributes": {} }
- Demo Server 1https://demo.traccar.org/api/commands/send
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
'https://demo.traccar.org/api/commands/send?deviceId=0'Response
application/json
[ { "id": 0, "deviceId": 0, "description": "string", "type": "string", "attributes": {} } ]
- Demo Server 1https://demo.traccar.org/api/commands/send
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
https://demo.traccar.org/api/commands/send \
-H 'Content-Type: application/json' \
-d '{
"id": 0,
"deviceId": 0,
"description": "string",
"type": "string",
"attributes": {}
}'Response
application/json
{ "id": 0, "deviceId": 0, "description": "string", "type": "string", "attributes": {} }
- Demo Server 1https://demo.traccar.org/api/commands/types
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
'https://demo.traccar.org/api/commands/types?deviceId=0&protocol=string&textChannel=true'