Tracking items
Create, edit, read, list, stop and delete tracking items.
Create a tracking
Sends a tracking request to the driver's phone and returns the new trackingId.
- Driver has the Load Market driver app (the phone number is registered): the tracking is
created with status
request("Pending driver's approval") and the driver gets a push notification to accept it. - Driver does not have the app yet: a pending installation tracking is created (status
request, description "Pending installation") and the driver receives an SMS invitation. It turns into a regular tracking, with the sametrackingId, once the driver installs the app and signs in with this phone number. scheduleinstead ofexpDate: the tracking is created with statusscheduledand starts automatically atschedule.start(driver invitation included). No webhooks are sent before that.- ELD only (
trackingSource: eld): the truck is tracked through the carrier's ELD instead of a phone. The carrier gets an email to approve the request, and the tracking waits with statusrequestEld("Pending ELD admin approval") until it does. No text message is sent anddriverPhoneis not used. Withschedulethe status isscheduledEld. - Hybrid (
trackingSource: hybrid): the truck's ELD and the driver's phone. The driver is invited as above and the carrier gets the approval email. The status isrequestElduntil the driver accepts or the carrier approves, whichever comes first.
ELD and Hybrid. Load Market enables them per organization (otherwise
403 ELD_TRACKING_NOT_AVAILABLE), and they need the organization's client key: created by
mcNum / dotNum the request answers 400 CLIENT_KEY_REQUIRED unless your partner key is
allowlisted for that organization. The carrier must have connected its ELD to Load Market. Before
anything is saved the create checks the carrier (eld.carrierDotNumber), its ELD connection and
the truck (eld.truckNumber) with the carrier's ELD provider, so it can take a few seconds longer
than a phone-only create. For an ELD only tracking driverPhone and loadInstructions are ignored
and the emails never carry the Live Tracking Link (emailUpdates.realTimeTrackingLink is always
false). See the ELD and Hybrid tracking guide.
Organization. Send the organization's client key in x-api-client-key (recommended).
Without it the organization is resolved from mcNum / dotNum in the body (mcNum wins when
both are sent, and neither answers 400 ORG_IDENTIFIER_REQUIRED). Partners that are not
allowlisted for number-based creation receive 400 CLIENT_KEY_REQUIRED. This rule is being
rolled out and is enforced per partner - until enforcement it runs in shadow mode (the request
is logged and allowed).
Billing. Every tracking consumes 1 tracking request of the organization's plan, or 2 when it
spans more than 5 days (billingWeight). The create is refused with
400 TRACKING_LIMIT_REACHED only when this tracking would exceed the plan's allowance - the
last tracking request of the plan is usable. If the last payment for the organization's plan
failed, the create is refused with 400 PAYMENT_FAILED until the organization admin updates the
payment method and the payment goes through. Organizations without a paid plan are on the Free
plan (5 one-time tracking requests). Stop expectedArrival (Smart Arrival Alerts) requires the
PRO plan (the VIP plan includes it). ELD and Hybrid tracking items are billed the same way.
Idempotency. A create is billed, and a request that timed out may still have created the
tracking. Send an Idempotency-Key header (any unique value, for example a UUID or your load id plus
an attempt counter) and retry with the SAME key: a key that already created a tracking answers that
create's response again, with the header Idempotent-Replayed: true, and nothing new is created or
billed. The same key with another request body answers 409 IDEMPOTENCY_KEY_REUSED, and while the
first create with the key is still running 409 IDEMPOTENCY_IN_PROGRESS with Retry-After. Only a
successful create is remembered (24 hours): an error answer frees the key, so the same key can be
retried after a 5xx or after fixing a 4xx. A 5xx can still mean the tracking was written -
look for your customId in the active list before you retry it.
Test keys. Nothing is sent to a driver and nothing is billed: the plan allowance is neither
checked nor consumed (apiUsage shows the current usage), while the PRO plan check still
applies. The client key is required: without it the request answers
400 ORG_IDENTIFIER_REQUIRED ("MC or DOT number is required"), or 400 CLIENT_KEY_REQUIRED
when mcNum / dotNum was sent. driverPhone 5555550100 simulates a driver who has the
app. Any other valid number simulates a pending installation. The tracking id starts with
api-test-, the response carries testMode: true. A test tracking lasts at most 24 hours:
expDate / schedule.end further out answers 400 EXP_DATE_INVALID / SCHEDULE_INVALID.
A test key can create 200 test tracking items per UTC day (429 TEST_LIMIT_REACHED) and send 60
requests per minute (429 RATE_LIMITED). With trackingSource eld or hybrid only the shape of
the eld block is checked - no carrier, ELD provider or truck lookup - and the carrier's side is
driven with the carrier.* events of POST /test/simulate. A hybrid with driverPhone
5555550100 starts in the driver's app, any other number as pending installation.
Headers
Idempotency-KeyMakes the create safe to retry. A unique value of 1 to 255 visible ASCII characters without spaces (for example a UUID). The same key with the same request answers the first create's response for 24 hours. See create-tracking.
Create a tracking › Request Body
refIdYour load or reference number, shown to the driver and in the Load Market app. Missing or empty
answers 400 REF_ID_REQUIRED, another type or more than 200 characters 400 REF_ID_INVALID.
mcNumOrganization MC number. Used only without x-api-client-key, and wins over dotNum. Anything
but a positive whole number answers 400 ORG_IDENTIFIER_INVALID.
dotNumOrganization US DOT number. Used only without x-api-client-key. Anything but a positive whole
number answers 400 ORG_IDENTIFIER_INVALID.
driverPhoneDriver's US or Canadian mobile phone number as a JSON number, 10 digits without the
country code. An 11-digit number starting with 1 is accepted and the 1 is stripped. The
driver gets the app link by text message, so a number that no US or Canadian phone can have
(an area code or exchange starting with 0 or 1, such as 0004344444 or 1234567890) is
rejected with 400 DRIVER_PHONE_INVALID. Required unless trackingSource is eld, which
ignores it.
expDateTracking expiration, epoch milliseconds (UTC), in the future and at most 240 hours (10 days)
ahead. More than 5 days ahead is billed as 2 tracking requests. Not allowed together with
schedule.
Scheduled tracking window, epoch milliseconds (UTC). The tracking is created with status
scheduled, starts automatically once start passes and expires at end. start must not be
in the past. The window must be at least 1 hour and at most 240 hours (10 days). A window longer
than 5 days is billed as 2 tracking requests.
notesInternal note, not shown to the driver. Another type or more than 5000 characters answers 400 NOTES_INVALID.
loadInstructionsInstructions shown to the driver in the Load Market driver app. Ignored for an ELD only tracking.
Automated Location Updates (email updates). Choose the cadence with intervalMinutes OR
scheduledTimes (not both), or neither when you only want file or stop-status notifications.
At least one of intervalMinutes, scheduledTimes, driverAttachedFilesNotification,
stopStatusEmails must be set. Both cadences run for the whole tracking.
customIdYour own id for the tracking, returned on every read. Another type or more than 200 characters answers 400 CUSTOM_ID_INVALID.
driverTypeCase and surrounding spaces do not matter, and an empty string means solo. Any other value
answers 400 DRIVER_TYPE_INVALID.
Up to 50 stops.
Contact shown to the driver in the Load Market driver app as the person who requested the tracking (instead of a Load Market user).
Free-form metadata stored with the tracking, a JSON object of up to 20 KB (400 METADATA_INVALID
otherwise). Only metadata.shipmentId is returned on reads.
trackingSourceWhat tracks the load:
mobile(default) - the driver's phone.eld- the truck's ELD only, no phone. Needseld.hybrid- the truck's ELD and the driver's phone. NeedseldanddriverPhone.
Absent, null or an empty string means mobile. Case and surrounding spaces do not matter.
eld and hybrid need an organization Load Market enabled for ELD tracking
(403 ELD_TRACKING_NOT_AVAILABLE) and the organization's client key. Any other value answers
400 TRACKING_SOURCE_INVALID for such an organization and is ignored for the others. See the
ELD and Hybrid tracking guide.
The truck an eld or hybrid tracking follows. The carrier must have connected its ELD to Load
Market. The create checks the carrier, its ELD connection and the truck before anything is saved.
A shape error answers 400 ELD_DATA_INVALID.
Create a tracking › Responses
Tracking created (or, with an Idempotency-Key used before, the response of that create).
messageTracking request created, Pending tracking created or Scheduled tracking created. ELD and Hybrid answer Tracking request created (or Scheduled tracking created) also while they wait for the carrier.
trackingIdId of the new tracking. Keep it - every other endpoint takes it.
customIdTracking status. See the Tracking lifecycle guide for when each value appears.
driverHasApptrue when the phone number already belongs to a Load Market driver app user. Always false for an ELD only tracking.
billingWeightTracking requests consumed - 2 when the tracking spans more than 5 days.
Plan usage after this tracking was created. With a TEST key: the current usage, nothing consumed.
scheduleScheduled tracking window, epoch milliseconds (UTC). null for tracking items that were not scheduled.
testModePresent (and true) only when the tracking was created with a TEST key.
Edit a tracking
Updates an existing tracking. Only the fields you send are changed. stopLocations, when
sent, replaces the whole stop list (new stops are geocoded like on create). An empty array is
ignored. A stop that is still the same stop keeps its arrival/departure confirmations and its Smart
Arrival Alerts status: the same customStopId (at any position), within 100 m of where the stop was.
Without ids a stop keeps them at the same position and place, unless stops were removed or inserted and
another stop of the list is at the same place (a round trip's return and its pickup) - send
customStopId to keep them in every case. Any other stop starts without them. Changing only a stop's
expectedArrival keeps the stop and recomputes its Smart Arrival Alert. Before 2.6.0 every stop
started over.
The expiration date, schedule, load instructions and email settings cannot be changed through this endpoint.
The response status is the stored status (without the live refinements such as
notMoving) - call get-tracking for the live status.
Visibility. A tracking is visible to the partner key that created it, or to any partner key
when the organization's client key is sent in x-api-client-key. This ownership rule is being
rolled out and is enforced per partner - until enforcement it runs in shadow mode (the request
is logged and allowed).
Known v1 quirk. An unknown trackingId returns 404 TRACKING_NOT_FOUND here, while
get-tracking, stop-tracking, delete-tracking and get-reports answer 400.
query Parameters
trackingIdThe trackingId returned by create-tracking.
Edit a tracking › Request Body
refIdAn empty string or null answers 400 REF_ID_INVALID - leave the field out to keep the current reference.
notescustomIddriverTypeCase and surrounding spaces do not matter, and an empty string changes nothing.
Replaces the whole stop list (up to 50 stops). An empty array is ignored. A stop that is still the
same stop (the same customStopId within 100 m, or without ids the same position and place - see
edit-tracking) keeps its arrival/departure confirmations and Smart Arrival Alerts status. Any other
stop starts without them.
Contact shown to the driver in the Load Market driver app as the person who requested the tracking (instead of a Load Market user).
Edit a tracking › Responses
Tracking updated.
messageTracking request updated or Pending tracking updated.
trackingIdcustomIdThe stored status, without the live refinements (notMoving, waiting, settings,
noAccount, uninstallAccount) - call get-tracking for the live status.
Get a tracking
Returns the current state of one tracking: status, latest driver position, stops with
arrival/departure confirmations, Smart Arrival Alert status, driver files (BOL/POD), email
settings and the Live Tracking Link (publicLink).
requestStopsEta=0|1addsstopLocationsEta: the Traffic-based ETA (driving distance and duration from the driver's last position to the requested stops, with live traffic: Esri routing, and Mapbox driving-traffic when Esri does not answer). A stop whose ETA cannot be computed, or an index that does not exist, is left out.requestDriverAddress=trueadds the reverse-geocoded address todriverCoords.location.
Driver position. driverCoords is published only while the tracking is live: stored
status active, stop, activeEld or stopEld (the derived notMoving, waiting and
settings come from active). For request, cancel, done, the other ELD statuses, pending
installation and scheduled tracking items it is null. Positions are stored per driver (or
truck), so outside the live window the latest fix may belong to another load. For the same
reason, on a mobile tracking it stays null after the driver accepts, until the phone sends its
first position for this tracking.
Potential Fraud Alerts (PRO). fraudAlerts reports signals about the driver's phone
(jailbroken device, emulator, VPN, IP address or GPS position outside the US and Canada) for
organizations on a PRO or VIP plan, and for tracking items created on the organization's PRO
trial, in the same live window as driverCoords. It is null otherwise, always for an ELD only
tracking, and for a hybrid until the driver accepts it in the app. A signal is not proof of fraud - see the Potential Fraud Alerts guide.
When an optional enrichment cannot be computed the response is still 200 and message
explains what is missing (for example Driver location address can not be provided, driver coordinates not available.).
Visibility. A tracking is visible to the partner key that created it, or to any partner key
when the organization's client key is sent in x-api-client-key. This ownership rule is being
rolled out and is enforced per partner - until enforcement it runs in shadow mode (the request
is logged and allowed).
The driver app reports a position about every 20 seconds. An ELD position is read from the
carrier's ELD provider about once a minute, and its lastUpdate is the time the ELD recorded it.
Poll at most once per minute per tracking and prefer webhooks.
query Parameters
trackingIdThe trackingId returned by create-tracking.
requestStopsEta^\d+(\|\d+)*$Pipe-separated zero-based stop indexes to compute the Traffic-based ETA for, for example
0|1. An index that does not exist is left out of stopLocationsEta.
requestDriverAddressWhen true, the driver's current address is added as driverCoords.location.
requestDriverDetailsWhen true, driverDetails is added: the driver of the tracking item and the device that tracks it
(name, phone, picture, app version and language, device). Every plan. Not in webhooks or the list.
requestPhoneSettingsWhen true, phoneSettings is added: the location settings of the phone that tracks the tracking item
(permission, accuracy, power-save mode) - what the settings status is about, without the driver's
personal data. Every plan. Not in webhooks or the list.
Get a tracking › Responses
Tracking data.
messageOk, or an explanation when a requested enrichment (ETA, driver address, driver details, phone settings) could not be added.
List tracking items of your organization
Returns a slim list of the organization's tracking items. The organization comes from the
mandatory x-api-client-key header. The list never crosses organizations.
type=active: every tracking item that is not finished (including rejected ones) plus pending installation and scheduled tracking items, newest first. No pagination, capped at 500 items per source (regular and pending).type=history: finished tracking items (doneordoneEld) whose expiration date (expDate) falls in the windowfromDate < expDate <= toDate, ordered byexpDateascending, paginated withlimitandcursor. WithoutfromDatethe window starts 7 days ago.
History keeps finished tracking items for a limited time only, so sync what you need
regularly. Stopping a tracking does not change its expDate, so a tracking stopped early
lands in history by its original expDate.
Items are slim by design (no email settings, driver files, ETA or reverse-geocoded address) -
call get-tracking for the full view. driverCoords is set only for live tracking items
(stored status active, stop, activeEld or stopEld). History items always have driverCoords: null.
With a TEST key the list contains test tracking items only, and history returns a single page
(nextCursor is always null).
query Parameters
typeactive for the live list, history for finished tracking items.
fromDateHistory only. Window start in epoch milliseconds (UTC), exclusive, applied to expDate. Defaults to now minus 7 days.
toDateHistory only. Window end in epoch milliseconds (UTC), inclusive, applied to expDate. No upper bound when omitted.
limitHistory only. Page size.
cursorHistory only. Opaque cursor from the previous page's pagination.nextCursor. Send it with the same window.
List tracking items of your organization › Responses
Tracking items. pagination is present on history responses only.
messagePresent on history responses only.
Stop a tracking
Finishes a tracking: its status becomes done (doneEld for an ELD or Hybrid tracking), the
driver's app and the truck's ELD stop sharing the location for it, and it moves to history.
Works on tracking items that exist in the driver's app or were approved by the carrier (any
status). A pending installation, a scheduled tracking that has not started, or an ELD only
tracking still waiting for the carrier's approval is not found here - delete it instead.
For tracking items created through the API with webhooks enabled on the key, the final done
(or doneEld) webhook is sent as well (see Webhooks).
Stopping does not change the tracking's expDate: a tracking stopped early lands in the
history list by its original expDate.
Visibility. A tracking is visible to the partner key that created it, or to any partner key
when the organization's client key is sent in x-api-client-key. This ownership rule is being
rolled out and is enforced per partner - until enforcement it runs in shadow mode (the request
is logged and allowed).
query Parameters
trackingIdThe trackingId returned by create-tracking.
Stop a tracking › Responses
Tracking stopped.
messageDelete a tracking
Permanently deletes a tracking with its driver files, chat and location reports. Works for
every tracking, including pending installation and scheduled ones. Deletion is idempotent on
partial failure: when you get a 500, retry the same call.
Deleting does not refund the tracking request already consumed from the plan.
Visibility. A tracking is visible to the partner key that created it, or to any partner key
when the organization's client key is sent in x-api-client-key. This ownership rule is being
rolled out and is enforced per partner - until enforcement it runs in shadow mode (the request
is logged and allowed).
query Parameters
trackingIdThe trackingId returned by create-tracking.
Delete a tracking › Responses
Tracking deleted.
message
