Skip to main content

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 URLhttps://app.getciconia.com
FormatJSON
AuthenticationAuthorization: Bearer <token> on every request, with your personal API token. See Your API token.
IDsdevice_id from the list, also shown as Device ID on the tracker's page. URLs call it {public_id}.
TimesISO 8601, in UTC
UnitsSpeed in km/h, altitude in metres, temperature in °C
Machine-readable specOpenAPI 3.0

Endpoints​

MethodPathWhat it does
GET/api/v1/devicesYour 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}/historyIts 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:

StatuserrorWhen
401unauthorizedMissing or invalid token, or a public_id that isn't on this account.
502upstream_unavailableCiconia 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.