API overview
The Ciconia API is the same API the Home Assistant integration uses. Use it from your own scripts, dashboards or apps to list your trackers and read their latest position and history.
Quick start
# 1. Your token: Integrations → Personal API token
TOKEN=...
# 2. List your trackers
curl -s https://app.getciconia.com/api/v1/devices \
-H "Authorization: Bearer $TOKEN"
# 3. Latest position of one of them
curl -s https://app.getciconia.com/api/v1/devices/dv_8f2a1c4b9e6d \
-H "Authorization: Bearer $TOKEN"
{
"device": {
"device_id": "dv_8f2a1c4b9e6d",
"name": "Car",
"model": "Basic",
"latitude": 52.229676,
"longitude": 21.012229,
"altitude": 112,
"speed": 0,
"battery_level": 87,
"gsm_signal": 4,
"gsm_operator_code": 26003,
"chip_temperature": 23.5,
"satellites": 11,
"hdop": 0.9,
"gps_signal": 5,
"fixed_time": "2026-10-30T10:42:13Z",
"fix_age_seconds": 37,
"device_time": "2026-10-30T10:42:13Z",
"server_time": "2026-10-30T10:42:15Z",
"attributes": {}
}
}
Basics
| Base URL | https://app.getciconia.com |
| Format | JSON |
| Authentication | Authorization: Bearer <token> on every request, with your personal API token. See Your API token. |
| IDs | device_id from the list, also shown as Device ID on the tracker's page. URLs call it {public_id}. |
| Times | ISO 8601, in UTC |
| Units | Speed in km/h, altitude in metres, temperature in °C |
| Machine-readable spec | OpenAPI 3.0 |
Endpoints
| Method | Path | What it does |
|---|---|---|
GET | /api/v1/devices | Your trackers. Fast: names and IDs only, no positions. |
GET | /api/v1/devices/{public_id} | A tracker's latest position. |
GET | /api/v1/devices/{public_id}/history | Its positions, newest first, 50 per page. |
Always live
Positions are read live on every request, never from a cache. To tell how old a position is, use fixed_time (when the tracker measured it) or fix_age_seconds. See How fresh is the data?
Fields that can be null
Every field is always there, so the response has the same shape for every tracker. A field is null when the tracker hasn't reported that value: a new tracker without a first position has null coordinates, for example.
attributes holds every raw value the tracker reported, unfiltered. What's in it depends on the tracker model.
Errors
Errors come as JSON with one error field. Decide what to do from the HTTP status:
| Status | error | When |
|---|---|---|
401 | unauthorized | Missing or invalid token, or a public_id that isn't on this account. |
502 | upstream_unavailable | Ciconia couldn't read the tracker's data just now. Try again on your next poll. |
Limits and good manners
- Asking for a tracker's position every 5 seconds is plenty.
- The list of trackers is cheap. Position and history requests each read live data, so ask only for the trackers you need.