AïoliTrack

The documentation is in English. The interactive reference: /docs/api.

Aïoli Track: GNSS-NA geolocation API (v1)

Base URL: https://track.aioeli.com.

Aïoli Track solves the GNSS-NA scans of trackers built on the Semtech LR11xx, the GNSS-NG frames of LoRa Basics Modem, with Aïoli's own solver. You send each scan with its DevEUI and scan time. For every scan you get back:

  • the measured position, with its accuracy radius;
  • optionally, a filtered position with its own accuracy radius;
  • the sky view (open or obstructed).

Accounts are free and include 1 000 positions per day (UTC).

Coverage: today the service works in Switzerland and surrounding countries. For other countries, send a request to hello@aioeli.com.


1. Quick start #

  1. Sign up at track.aioeli.com with your email. You receive a link and a 6-digit code, and the account works at once.
  2. In Account → API keys, create a key. Copy it now: it is shown only once.
  3. Send a scan:
curl -X POST "https://track.aioeli.com/v1/scans" \
  -H "X-Api-Key: $AIOLI_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "devEui": "0011223344556677",
        "scanTime": "2026-11-19T12:00:00Z",
        "payload": "<GNSS-NG frame, hex>",
        "uuid": "7c1e2f0a-…",
        "filter": "medium" }'
{ "data": { "uuid": "7c1e2f0a-…", "devEui": "0011223344556677", "status": "pending" },
  "message": "Accepted.", "status": 202 }
  1. Receive the position on your webhook (section 6), or read it:
curl "https://track.aioeli.com/v1/devices/0011223344556677/positions?limit=10" \
  -H "X-Api-Key: $AIOLI_KEY"

2. Authentication and API keys #

Send your key in the X-Api-Key header (or Authorization: Bearer <key>). A key in the URL is refused (400 key_in_query) and marked as exposed in your account: rotate it.

Format: trk_live_, then 38 characters. The last 6 are a checksum, so a mistyped key is refused at once.

Scopes: scans:write, positions:read, devices:read, webhooks:manage. Give each integration only what it needs.

Managing keys (Account → API keys):

  • Limit: up to 10 active keys per user.
  • Rotate: a new key is issued (shown once). The old one keeps working for the grace period you choose (none, 1 hour, 24 hours by default, 7 days), then it stops. A key in its grace period does not count towards the 10.
  • Revoke: takes effect immediately.
  • Expiry: optional, 30, 90 or 365 days.
  • Emails: you are emailed when a key is rotated or revoked, and 7 days before it expires.
  • The list shows each key's prefix, scopes, dates and last use, never the key itself.

Aïoli stores only a one-way hash: a lost key cannot be recovered, only replaced. Treat keys like passwords, and never put them in front-end code or a public repository.


3. Sending scans: POST /v1/scans #

Scope: scans:write.

Body #

One scan:

{ "devEui": "0011223344556677", "scanTime": "2026-11-19T12:00:00Z",
  "payload": "<hex>", "uuid": "7c1e2f0a-…", "filter": "medium" }

or a batch of 1 to 100 scans: { "scans": [ { … }, { … } ] }.

FieldRequiredMeaning
devEuiyesThe tracker's DevEUI, 16 hex characters (any value: no range or prefix is restricted)
scanTimeyesWhen the scan was made (RFC 3339, UTC). The solver depends on it: send the device's capture time, not the time you received the uplink
payloadyesThe GNSS-NG frame (LR11xx NAV group frame), hex, as the device sent it
uuidrecommendedYour unique id for the scan; makes retries safe
filternonone | low | medium | high (section 5). If omitted, your key's default level is used, otherwise none

A scan group spread over several frames is assembled automatically. Send each frame as its own scan, with its own scanTime.

Answer #

POST is asynchronous: the position is computed once the scan group is complete, usually within a minute.

StatusMeaning
202, status: "pending"Accepted. The position follows on your webhook and on GET …/positions
200, existing scanDuplicate (same uuid, same Idempotency-Key header, or the same device + time + payload). Not counted twice
422Invalid scan: invalid_dev_eui, payload_not_hex, not_a_gnss_frame, scan_time_in_future, scan_time_too_old. In a batch nothing is stored, and errors[] lists each bad item by index
429, quota_exceededToday's 1 000 positions are used up. resetsAt gives the next reset (midnight UTC)

Optional ?wait=1…10: the call waits up to that many seconds and answers 200 with the position if it is ready in time; otherwise it answers 202 as usual.

GET /v1/scans/{uuid} gives a scan's status (pending, solved, rejected with a reason, expired) and its position's uuid. Scans are kept 24 hours.

Devices are registered automatically on their first scan.


4. Positions #

Scope: positions:read.

EndpointReturns
GET /v1/devices/{devEui}/positionsA device's positions
GET /v1/positionsAll your devices' positions
GET /v1/positions/{uuid}One position
GET /v1/devices, GET /v1/devices/{devEui}Your devices, each with lastPosition (scope devices:read)

Query parameters:

ParameterMeaning
page, limitDefault 1 / 10. limit up to 10 000 on a device's positions, up to 100 elsewhere
from, toRFC 3339
sortcapturedAt:asc|desc, receivedAt:asc|desc
movingtrue / false: only positions where the solver sees the tracker moving (or not)
maxAccuracyMetres; leaves out wider positions
filterWhich filtered position to include (section 5)
includeRejected=trueAlso return scans the solver rejected, with the reason

Positions are available for a limited time (section 9). Store the ones you need on your side.

Envelope #

{ "data": [ … ], "message": "The request was successful.",
  "metadata": { "page": 1, "limit": 10, "total": 240, "totalPages": 24 }, "status": 200 }

The position model #

FieldTypeMeaning
uuidstringPosition id
devEuistringThe tracker
scanstringThe uuid of the scan that completed the group
capturedAtRFC 3339When the scan was made, as estimated by the solver from the satellites' signals (within 2 minutes of the scanTime you sent; otherwise your scanTime)
receivedAt, createdAtRFC 3339When Aïoli received the scan / computed the position
sourcestringgnss
latitude, longitudenumber | nullRaw position: the solver's fix, WGS84; null when the scan was not solved (not_solved)
altitudenumber | nullHeight of the raw position in metres above sea level (the solved GNSS height minus the EGM2008 geoid); null when the solver gives none
accuracynumber | nullAccuracy radius of the raw position, in metres: the true position lies inside this circle 95 % of the time; null when not solved
pdopnumber | nullDilution of precision; null when not solved
framesnumber | nullThe frames of the scan group: 1 or 2
filterstringThe level of filtered
filteredobject | null{ latitude, longitude, accuracy }: the filtered position and its accuracy radius (95 %, metres). null when filter is none; for other cases see filteredReason
filteredReasonstring | nullout_of_order: the scan arrived after a newer one, so it is not filtered: filtered is set to its raw position and accuracy. Positions already filtered do not change
skystringopen, obstructed (a window, a roof, a bag, a narrow street) or uncertain: read from this scan's satellites and their signal strength
statusstringaccepted, or rejected (only with includeRejected=true)
rejectReasonstring | nulltoo_few_satellites (the scan received too few satellites to be placed or checked, often indoors), unreadable_scan (the scan's content could not be read), no_ephemeris, inconsistent_fix (the measurements do not agree on one position), low_accuracy (a position was found but too vaguely: its accuracy radius is above the maximum, 350 m), outlier, not_solved (no position: latitude, longitude, altitude, accuracy, pdop are null)

Example:

{
  "uuid": "1b9e…", "devEui": "0011223344556677", "scan": "7c1e2f0a-…",
  "capturedAt": "2026-11-19T12:00:00Z", "receivedAt": "2026-11-19T12:00:41Z", "createdAt": "2026-11-19T12:00:43Z",
  "source": "gnss",
  "latitude": 46.99012, "longitude": 6.88021, "altitude": 452.1, "accuracy": 18.4,
  "pdop": 1.8, "frames": 2,
  "filter": "medium",
  "filtered": { "latitude": 46.99009, "longitude": 6.88018, "accuracy": 12.1 },
  "filteredReason": null,
  "sky": "open",
  "status": "accepted", "rejectReason": null
}

5. Filtering levels #

The filtered position uses only past positions of the same tracker, never later ones. How much it smooths depends on speed:

  • at rest or walking pace, it averages the scatter of successive fixes;
  • at road or rail speed, it follows the measured fixes with almost no lag.
LevelBehaviourTypical use
none (default)No filtered positionYou filter yourself
lowLight smoothingFast-moving assets, minimum lag
mediumBalancedMost fleets
highStrongest smoothing at low speedMostly parked or slow assets

On Aïoli's test drives, a parked tracker's 90th-percentile error went from about 27 m raw to 17–19 m filtered, while moving tracks stayed at the raw level. These figures are indicative, not a guarantee.

All levels are computed for every fix, so you can change level at any time, or read another level with GET …/positions?filter=.

  • The filtered position is derived from the raw one. It never changes the raw position, its accuracy radius or the solver's decisions.
  • A filtered position already delivered never changes.
  • After 6 hours without a fix, filtering starts again from the next fix.

6. Webhooks #

Set up to 5 endpoints in Account → Webhooks (or /v1/webhooks, scope webhooks:manage). Each endpoint has:

  • an HTTPS URL;
  • its events: position.created, scan.rejected;
  • its filter level (or "as sent with the scan");
  • a signing secret whsec_…, shown once and rotatable with 24 hours of overlap.

Payload #

One event per request:

{ "type": "position.created", "data": { …the position model… } }

Signature (Standard Webhooks) #

Every request carries three headers:

webhook-id: msg_2b7f…
webhook-timestamp: 1763553643
webhook-signature: v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4=

To verify a request:

  1. Compute base64(HMAC-SHA256(secret, id + "." + timestamp + "." + rawBody)), where the secret is the part after whsec_, base64-decoded.
  2. Compare it with the value after v1,.
  3. Reject timestamps more than 5 minutes old.
import crypto from 'node:crypto';

export function verify(rawBody, headers, secret) {
  const id = headers['webhook-id'], ts = headers['webhook-timestamp'];
  if (Math.abs(Date.now() / 1000 - Number(ts)) > 300) return false;
  const key = Buffer.from(secret.replace(/^whsec_/, ''), 'base64');
  const sig = crypto.createHmac('sha256', key).update(`${id}.${ts}.${rawBody}`).digest('base64');
  return headers['webhook-signature'].split(' ').some(s => {
    const v = s.split(',')[1] || '';
    return v.length === sig.length && crypto.timingSafeEqual(Buffer.from(v), Buffer.from(sig));
  });
}

The libraries at standardwebhooks.com do the same in other languages.

Delivery #

  • Answer any 2xx within 10 seconds; do slow work after answering.
  • Failed deliveries are retried after 1 min, 5 min, 30 min, 2 h, 6 h, 12 h and 24 h, then dropped.
  • An endpoint that fails for 3 days in a row is disabled, and you are emailed.
  • Order is not guaranteed and an event may arrive twice: deduplicate on webhook-id, and order by capturedAt.
  • Send test event checks your endpoint.

7. Errors #

{ "errors": { "code": 422, "message": "payload is not a GNSS-NG frame" },
  "error": "not_a_gnss_frame", "message": "The request failed.", "status": 422 }

error is a stable machine-readable code. message may change.

HTTPTypical error
400bad_json, key_in_query, batch_too_large, invalid_query
401unauthorized (missing, unknown, revoked or expired key)
403missing_scope, account_suspended
404not_found
409key_limit_reached
413payload_too_large (2 MB)
422invalid_dev_eui, payload_not_hex, not_a_gnss_frame, scan_time_in_future, scan_time_too_old
429rate_limited, quota_exceeded
5xxRetry with backoff; scans with a uuid are safe to resend

8. Rate limits and quota #

WhatLimit
Positions1 000 per day per account, reset at midnight UTC (rejected scans do not count)
POST /v1/scans60 requests / min per key, up to 100 scans per request
Read endpoints60 requests / min per key
Whole API120 requests / min per account
Failed authentications10 / min per IP, then blocked for 15 min

Every answer carries a RateLimit-Policy header. Answers to POST /v1/scans also carry RateLimit with your remaining positions, and a 429 carries RateLimit with r=0. A 429 also carries Retry-After (seconds) and names the limit that was hit in its limit field (scans, reads, account, auth); for the position quota it gives resetsAt. Your current usage is shown in Account → Usage. To send many scans, use batches rather than more requests.


9. Data and privacy #

Aïoli keeps your data only as long as the solver needs it:

DataKept
ScansUntil their group is solved (at most 1 hour for an incomplete group), then deleted. Scans are not archived
PositionsUp to 7 days, as the solver uses recent fixes of the same tracker. Then deleted
Each tracker's last valid fixUntil the tracker has been silent for 7 days. Every new solve starts from it
Webhook eventsOnly while being delivered (up to 24 hours of retries)
UsageDaily counts only, no locations, 35 days
  • All data is stored and processed in the EU / Switzerland.
  • Your data is visible only to your account. It is never used to position another customer's trackers, and never sent to an AI model.
  • Deleting your account erases all of it at once.
  • Asset tracking only: tracking people is not permitted with this service.

10. Versioning #

The API is versioned in the path (/v1). Fields may be added within v1; a field is removed or renamed only with notice. Breaking changes come with /v2, with at least 6 months of overlap. The solver improves over time; the meaning of the fields stays the same.

The machine-readable reference (OpenAPI 3.1) is at /v1/openapi.json, and the interactive reference at /docs/api.