Location trail
The location trail, at most one point per minute, oldest first (location_history; kept 30 days). Default: the last 30 days.
Authorization
bearerAuth An API key from the hub’s API keys page.
In: header
Path Parameters
The account's public id (opaque, base62), as id in /accounts.
^[0-9A-Za-z]{1,64}$Query Parameters
Start of the range (ISO-8601 date-time). Default: to − 30 days.
date-timeEnd of the range (ISO-8601 date-time). Default: now.
date-timeResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/accounts/4fT9kQ2mXa7B/locations"{ "data": { "account": { "id": "string", "name": "string" }, "from": "2019-08-24T14:15:22Z", "to": "2019-08-24T14:15:22Z", "points": [ { "at": "2019-08-24T14:15:22Z", "x": 0, "y": 0, "plane": 0, "world": 0, "is_on_boat": true } ] }, "meta": { "generated_at": "2019-08-24T14:15:22Z" }}Carried wealth per day GET
Carried value (inventory + equipment at GE prices) per UTC day, oldest first (`inventory`). Default: the last 30 days.
Location trails of several accounts GET
The location trails of several accounts in one call, in request order (`location_history`): up to 10 accounts with a user key, 50 with a service key, each trail exactly what `/accounts/{id}/locations` returns for the same range (at most one point per minute, oldest first, kept 30 days). An account the key can’t read makes the whole request 404. Default: the last 30 days.