This API is very similar to Object API, but additionally it provides latest location of an object (vehicle).
On V2 API location is provided in a form of coordinates while on V3 it is additionally provided in a form of address.
Get list of objects with last coordinate v2
This API endpoint will provide list of objects which are visible for a User under certain Client. Location is provided in a form of coordinates. If system does not have any coordinate received, last_coordinate parameter will be empty.
GET /objects-last-coordinate?version=2&api_key=<...>&limit=<...>&continuation_token=<...> HTTP/1.1
Host: api.fm-track.com
Content-Type: application/json;charset=UTF-8
Parameter Type Description Is Required? Remarks version Int API version YES MUST BE 2 api_key String User identification key YES limit Int Object retrieval amount NO default = 100, max = 1000 continuation_token String NO
Curl request example
For quick testing you can try using curl request (API key should be replaced with actual one).
curl -X GET "https://api.fm-track.com/objects-last-coordinate?version=2&api_key=r5B5p-CgBlEOpb11HqjZbfbUEI_LTjO9" \ -H "Accept: application/json"
Response example
{ "results": [ { "id": "9db8ce84-85ef-11e9-89b6-b33c5b120f33", "name": "AAAAAAAA", "imei": 999955557777, "vehicle_params": { "model": "R1250", "make": "BMW", "vin": null, "plate_number": null, "average_fuel_consumption": null, "fuel_tank_capacity": null, "fuel_type": "DIESEL" }, "last_coordinate": { "satellites_count": 13, "altitude": 30, "speed": 104, "direction": 166, "latitude": 50.311658, "longitude": 14.607314, "datetime": "2025-05-01T13:02:00.000Z", "last_valid_gps_datetime": "2022-09-01T13:02:00.000Z", "server_datetime": "2022-09-02T09:25:55.980Z" } }, { "id": "7bf8990c-dba6-11e9-bdfc-1ff21de66015", "name": "AAA333", "imei": 490154203237001, "vehicle_params": { "model": "", "make": "", "vin": null, "plate_number": null, "average_fuel_consumption": 0.00, "fuel_tank_capacity": null, "fuel_type": "DIESEL" }, "last_coordinate": { "satellites_count": 13, "altitude": 30, "speed": 104, "direction": 166, "latitude": 50.311658, "longitude": 14.607314, "datetime": "2025-05-01T13:02:00.000Z", "last_valid_gps_datetime": "2022-09-01T13:02:00.000Z", "server_datetime": "2022-09-02T09:25:55.980Z" } } ], "continuation_token": "12300000-0000-0000-0000-000008823234" }
Continuation token
In case continuation_token is provided within the response, it means that not all objects are fitting into the response and additional call should be initiated. Continuation token in this case is external object ID. When making another call, remaining list of objects will be returned starting from that object ID. Calls should be repeated until no continuation token is provided within the response.
Get one object with last coordinate v2
If last coordinate is needed for one object, this API should be used.
GET /objects-last-coordinate/{objectId}?version=2&api_key=<...> HTTP/1.1
Host: api.fm-track.com
Content-Type: application/json;charset=UTF-8
Parameter Type Description Is Required? Remarks version Int API version YES MUST BE 2 api_key String User identification key YES
Curl request example
For quick testing you can try using curl request (API key should be replaced with actual one).
curl -X GET "https://api.fm-track.com/objects-last-coordinate/7bf8990c-dba6-11e9-bdfc-1ff21de66015?version=2&api_key=r5B5p-CgBlEOpb11HqjZbfbUEI_LTjO9" \ -H "Accept: application/json"
Response example
{ "id": "7bf8990c-dba6-11e9-bdfc-1ff21de66015", "name": "AAA333", "imei": 490154203237001, "vehicle_params": { "model": "", "make": "", "vin": null, "plate_number": null, "average_fuel_consumption": 0.00, "fuel_tank_capacity": null, "fuel_type": "DIESEL" }, "last_coordinate": { "satellites_count": 13, "altitude": 30, "speed": 104, "direction": 166, "latitude": 50.311658, "longitude": 14.607314, "datetime": "2025-05-01T13:02:00.000Z", "last_valid_gps_datetime": "2025-05-01T13:02:00.000Z", "server_datetime": "2025-05-02T09:25:55.980Z" } }