Carriers

iMile Tracking API & MCP

Query live iMile (imile) package status and scan history in a single synchronous GET request or MCP tool call. lastscanned auto-detects the number format below.

Overview & Quick Facts

PropertyValue
Carrier slug (?carrier=)imile
Brand aliasesiMile, iMile Delivery, imile.com
CategoryMiddle East, Australia and Latin America last-mile courier
Single-package REST endpointGET https://api.lastscanned.com/v1/track/{trackingNumber}
Batch REST endpointGET https://api.lastscanned.com/v1/track?numbers=...
MCP server (https://mcp.lastscanned.com)track_package, track_packages, list_carriers
Authentication & pricingAuthorization: Bearer lsk_live_... · 1 free keyless lookup/day per IP

Tracking Number Formats & Auto-Detection

PassRule / RegexCheck DigitExamples
Pass 1 (matches)/^IM0601\d{10}$/noneIM06011234567890
Pass 2 (mayMatch)nonenonenone

iMile numbers are claimed by imile, so ?carrier=imile is optional.

Synchronous GET Request & Normalized JSON Response

curl -s "https://api.lastscanned.com/v1/track/3781052124989?carrier=imile" \
  -H "Authorization: Bearer $LASTSCANNED_API_KEY"
{
  "carrier": "imile",
  "trackingNumber": "3781052124989",
  "status": "delivered",
  "statusDescription": "Your order has been delivered successfully.",
  "service": null,
  "deliveredAt": null,
  "deliveredAtLocal": "2026-09-30T12:52:30",
  "signedBy": null,
  "destination": null,
  "message": null,
  "events": [
    {
      "timestamp": null,
      "localTime": "2026-09-30T12:52:30",
      "status": "delivered",
      "description": "Your order has been delivered successfully.",
      "location": "Sydney Center",
      "code": "2060"
    },
    {
      "timestamp": null,
      "localTime": "2026-09-28T17:27:30",
      "status": "out_for_delivery",
      "description": "Our delivery associate is out for delivery.",
      "location": "Sydney Center",
      "code": "1003"
    },
    {
      "timestamp": null,
      "localTime": "2026-09-24T12:14:05",
      "status": "in_transit",
      "description": "Parcel is currently being processed.",
      "location": "Sydney Center",
      "code": "1003"
    }
  ]
}

Notes

  • Signed request: the tracking page sends sign, the waybill number RSA-encrypted (PKCS#1 v1.5) with the public key in its own script, and code, an MD5 of the number plus a constant. Both are built per lookup.
  • Time zone: iMile prints scan times without a zone (the parcel's own country, and it serves several), so timestamp is null and only localTime is set.
  • Detection: only the IM0601… form is claimed; the plain 13-digit waybills are a shape other carriers use.

On this page