Load Market
Concepts

Potential Fraud Alerts

Potential Fraud Alerts tell you when something about the driver's phone looks unusual for a load in the US or Canada: a jailbroken or rooted phone, an emulator instead of a real phone, a VPN, or a phone that appears to be outside the US and Canada. They are the alerts the Load Market web app shows in the tracking details, delivered as the fraudAlerts field.

A signal, not proof

Each alert is a signal that is worth a second look, never proof of fraud. Drivers use VPNs for privacy, and a phone can report outside the US and Canada for legitimate reasons. Review the load and contact the carrier before you act, and never cancel or hold a load on an alert alone.

Who gets them

Potential Fraud Alerts come with the PRO plan, and the VIP plan includes them. The plan of the organization that owns the tracking decides, not the partner key that reads it. On other plans fraudAlerts is null, except for tracking items created on the organization's PRO trial. See Billing and usage.

Where they appear

fraudAlerts
GET /get-trackingYes
Webhooks (trackingUpdate)Yes
GET /get-all-tracking-items (list items)No
Pending installation and scheduled tracking items (TrackingPendingData)No, the field is not present

Shape

JSONCode
{ "fraudAlerts": { "alerts": ["vpn", "ipOutsideUsCa"], "signals": { "jailbrokenDevice": false, "emulator": false, "vpn": true, "ipOutsideUsCa": true, "gpsOutsideUsCa": false }, "ipLocation": { "country": "DE", "countryName": "Germany", "stateProvince": "Berlin", "city": "Berlin", "zip": "10115" } } }

In this example the truck drives in Illinois (GPS is inside the US) while the phone's VPN exits in Germany.

  • alerts lists the codes that are raised right now, in the order of the table below. An empty list means nothing is raised. Branch on this list.
  • signals gives every check on its own: true = raised, false = checked and clear, null = the driver's phone has not reported it yet (for example an older version of the driver app).
  • ipLocation is filled only while ipOutsideUsCa is true, otherwise it is null.

Alert codes

CodeRaised when
jailbrokenDeviceThe driver's phone is jailbroken or rooted
emulatorThe driver app runs on an emulator, not on a physical phone
vpnThe driver's phone uses a VPN
ipOutsideUsCaThe phone's internet connection (IP address) resolves outside the US and Canada
gpsOutsideUsCaThe phone's own positions place it outside the US and Canada

ipOutsideUsCa and gpsOutsideUsCa answer different questions. The IP address shows where the phone's network connection comes out, which a VPN or a mobile carrier can move far away from the truck. The GPS signal comes from the phone's own positions. A phone abroad on roaming can still look domestic to ipOutsideUsCa, never to gpsOutsideUsCa.

New codes may be added over time. Ignore a code you do not know, and keep showing the ones you do.

IP location

ipLocation says where the phone's IP address resolves to: the ISO 3166-1 alpha-2 country code, countryName, stateProvince, city and zip. Any of them can be null when it is not known. The location is approximate and can be far from the truck, for example behind a VPN. The IP address itself is never returned.

When fraudAlerts is null

  • The organization is not on a PRO or VIP plan, and the tracking item was not created on its PRO trial (see PRO features).
  • The tracking is not live. Alerts are filled only for stored status active or stop (and the derived notMoving, waiting and settings, which come from active), or activeEld or stopEld for a hybrid, the same window as driverCoords. A tracking that is request, cancel or done has none.
  • The driver has not accepted the tracking in the driver app yet.
  • The tracking is ELD only: there is no driver phone. A hybrid has alerts once its driver accepted it in the app.
  • The alerts could not be read at that moment. The next update or get-tracking call tries again.

How fresh they are

The alerts describe the driver's phone, not one load. They show the current state and stay raised until a later check clears them. That is also why they are published only while the tracking is live: outside that window the phone's state belongs to the driver's other work.

A change in the alerts does not send a webhook on its own. The current value arrives with the next webhook update for the tracking (while the driver is moving that is about once a minute) and on every get-tracking call.

Testing

Test tracking items report a clean phone by default once the driver accepted. Raise alerts with the driver.flagged event of POST /test/simulate, and send an empty list to clear them:

TerminalCode
curl -X POST https://api.load-market.com/v1/test/simulate \ -H "x-api-key: YOUR_TEST_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "trackingId": "api-test-Zr8pL3nW6yQ1cV5kT9xB", "event": "driver.flagged", "alerts": ["vpn", "ipOutsideUsCa"] }'

The plan rule applies in test mode too: the organization of the test tracking item needs a PRO or VIP plan. The event is accepted in any status except pending installation and scheduled, and the alerts show only while the tracking is active or stop. See Test mode.

Checklist

  • Read fraudAlerts.alerts and handle an empty list, null and unknown codes.
  • Show the alert to a person who can review the load, never act on it automatically.
  • Expect the value to change only with the next update, not as a separate event.
Last modified on