Open documentation ↗Overview
Open Source GPS Tracking Platform
Traccar is a geocoding API from traccar.org. Requests are authenticated with HTTP Basic auth. It is served over HTTPS. Its OpenAPI description documents 61 endpoints.
At a glance
- Authentication
- HTTP Basic
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Geocoding
- Base URL
https://demo.traccar.org/api- Version
- 5.6
- Endpoints
- 61
- OpenAPI
- Specification ↗
- Spec updated
- 2023-03-06
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://demo.traccar.org/api/attributes/computed" \
-H "Accept: application/json" \
-H "Authorization: Basic BASE64_USER_PASSWORD"const response = await fetch("https://demo.traccar.org/api/attributes/computed", {
method: "GET",
headers: {
"Accept": "application/json",
"Authorization": "Basic BASE64_USER_PASSWORD",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://demo.traccar.org/api/attributes/computed",
headers={
"Accept": "application/json",
"Authorization": "Basic BASE64_USER_PASSWORD",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | /attributes/computed | Fetch a list of Attributes |
| POST | /attributes/computed | Create an Attribute |
| PUT | /attributes/computed/{id} | Update an Attribute |
| DELETE | /attributes/computed/{id} | Delete an Attribute |
| GET | /calendars | Fetch a list of Calendars |
| POST | /calendars | Create a Calendar |
| PUT | /calendars/{id} | Update a Calendar |
| DELETE | /calendars/{id} | Delete a Calendar |
| GET | /commands | Fetch a list of Saved Commands |
| POST | /commands | Create a Saved Command |
| GET | /commands/send | Fetch a list of Saved Commands supported by Device at the moment |
| POST | /commands/send | Dispatch commands to device |
| GET | /commands/types | Fetch a list of available Commands for the Device or all possible Commands if Device ommited |
| PUT | /commands/{id} | Update a Saved Command |
| DELETE | /commands/{id} | Delete a Saved Command |
| GET | /devices | Fetch a list of Devices |
| POST | /devices | Create a Device |
| PUT | /devices/{id} | Update a Device |
| DELETE | /devices/{id} | Delete a Device |
| PUT | /devices/{id}/accumulators | Update total distance and hours of the Device |
| GET | /drivers | Fetch a list of Drivers |
| POST | /drivers | Create a Driver |
| PUT | /drivers/{id} | Update a Driver |
| DELETE | /drivers/{id} | Delete a Driver |
| GET | /events/{id} | — |
| GET | /geofences | Fetch a list of Geofences |
| POST | /geofences | Create a Geofence |
| PUT | /geofences/{id} | Update a Geofence |
| DELETE | /geofences/{id} | Delete a Geofence |
| GET | /groups | Fetch a list of Groups |
| POST | /groups | Create a Group |
| PUT | /groups/{id} | Update a Group |
| DELETE | /groups/{id} | Delete a Group |
| GET | /maintenance | Fetch a list of Maintenance |
| POST | /maintenance | Create a Maintenance |
| PUT | /maintenance/{id} | Update a Maintenance |
| DELETE | /maintenance/{id} | Delete a Maintenance |
| GET | /notifications | Fetch a list of Notifications |
| POST | /notifications | Create a Notification |
| POST | /notifications/test | Send test notification to current user via Email and SMS |
| GET | /notifications/types | Fetch a list of available Notification types |
| PUT | /notifications/{id} | Update a Notification |
| DELETE | /notifications/{id} | Delete a Notification |
| POST | /permissions | Link an Object to another Object |
| DELETE | /permissions | Unlink an Object from another Object |
| GET | /positions | Fetches a list of Positions |
| GET | /reports/events | Fetch a list of Events within the time period for the Devices or Groups |
| GET | /reports/route | Fetch a list of Positions within the time period for the Devices or Groups |
| GET | /reports/stops | Fetch a list of ReportStops within the time period for the Devices or Groups |
| GET | /reports/summary | Fetch a list of ReportSummary within the time period for the Devices or Groups |
| GET | /reports/trips | Fetch a list of ReportTrips within the time period for the Devices or Groups |
| GET | /server | Fetch Server information |
| PUT | /server | Update Server information |
| GET | /session | Fetch Session information |
| POST | /session | Create a new Session |
| DELETE | /session | Close the Session |
| GET | /statistics | Fetch server Statistics |
| GET | /users | Fetch a list of Users |
| POST | /users | Create a User |
| PUT | /users/{id} | Update a User |
| DELETE | /users/{id} | Delete a User |
Questions
Does the Traccar API need an API key?
Yes. The Traccar API uses HTTP Basic authentication; the documentation explains how to get credentials.
Does the Traccar API support HTTPS?
Yes, the Traccar API is served over HTTPS.
How many endpoints does the Traccar API have?
Its OpenAPI description lists 61 endpoints in version 5.6. All of them are shown on this page.
What are alternatives to the Traccar API?
Other Geocoding APIs include Bing Maps, ip-api, OpenStreetMap, GeographQL, IP Address Details.
Similar geocoding APIs
Compare alternatives →Bing Maps
GeocodingCreate/customize digital maps based on Bing Maps data
ip-api
GeocodingFind location with IP address or domain
OpenStreetMap
GeocodingNavigation, geolocation and geographical data
GeographQL
GeocodingA Country, State, and City GraphQL API
IP Address Details
GeocodingFind geolocation with ip address
ipapi.co
GeocodingFind IP address location information
Listed from APIs.guru (CC0).