Carriers
AJEX Tracking API & MCP
Query live AJEX (ajex) package status and scan history in a single synchronous GET request or MCP tool call.
Overview & Quick Facts
| Property | Value |
|---|---|
Carrier slug (?carrier=) | ajex |
| Brand aliases | AJEX, Aj-ex, aj-ex.com |
| Category | Saudi Arabia, UAE and Bahrain express and e-commerce parcels |
| Single-package REST endpoint | GET https://api.lastscanned.com/v1/track/{trackingNumber} |
| Batch REST endpoint | GET https://api.lastscanned.com/v1/track?numbers=AJA100000201697,AJA100000201697 |
MCP server (https://mcp.lastscanned.com) | track_package, track_packages, list_carriers |
| Authentication & pricing | Authorization: Bearer lsk_live_... · 1 free keyless lookup/day per IP |
Tracking Number Formats & Auto-Detection
| Pass | Rule / Regex | Check Digit | Examples |
|---|---|---|---|
Pass 1 (matches) | /^AJ[AS]\d{12}$/ | none | AJA100000201697 |
Pass 2 (mayMatch) | none | none | none |
AJA…/AJS… numbers belong to AJEX alone, so ?carrier=ajex is optional.
Synchronous GET Request & Normalized JSON Response
curl -s "https://api.lastscanned.com/v1/track/AJA100000201697?carrier=ajex" \
-H "Authorization: Bearer $LASTSCANNED_API_KEY"{
"carrier": "ajex",
"trackingNumber": "AJA100000201697",
"status": "delivered",
"statusDescription": "Shipment delivered",
"service": "Domestic e-Commerce Express",
"deliveredAt": "2026-03-12T14:21:08Z",
"deliveredAtLocal": "2026-03-12T17:21:08",
"signedBy": null,
"destination": null,
"events": [
{
"timestamp": "2026-03-12T14:21:08Z",
"localTime": "2026-03-12T17:21:08",
"status": "delivered",
"description": "Shipment delivered",
"location": "Riyadh",
"code": "80"
},
{
"timestamp": "2026-03-12T08:02:40Z",
"localTime": "2026-03-12T11:02:40",
"status": "out_for_delivery",
"description": "Shipment assigned to driver",
"location": "Riyadh",
"code": "204"
},
{
"timestamp": "2026-03-11T19:44:12Z",
"localTime": "2026-03-11T22:44:12",
"status": "in_transit",
"description": "Shipment arrived at Riyadh Hub",
"location": "Riyadh",
"code": "50"
},
{
"timestamp": "2026-03-10T09:15:00Z",
"localTime": "2026-03-10T12:15:00",
"status": "in_transit",
"description": "Shipment picked up",
"location": "Jeddah",
"code": "54"
},
{
"timestamp": "2026-03-09T13:30:00Z",
"localTime": "2026-03-09T16:30:00",
"status": "label_created",
"description": "Shipment pickup scheduled",
"location": "Jeddah",
"code": "100"
}
]
}Notes
- Route: the customer-portal API behind aj-ex.com's tracking box.
lastscannedlogs in with the page's visitor token (an AES-CBC encryption of a constant, with the key published in the site's own script), sends the waybill encrypted the same way, and decrypts the answer. No account. - Time zone: event times are epoch instants, so
timestampis exact.localTimeis that instant in the shipment's country (Saudi Arabia and Bahrain UTC+3, UAE UTC+4). - Status: AJEX's status codes (100 pickup scheduled, 54 picked up, 50/618 hub scans, 204 assigned to driver, 70 undelivered, 80 delivered) are mapped; the "Undelivered (reason)" scans become
exception.
Related Resources
- Regex & check digits: Tracking number formats & auto-detection
AIT Worldwide Tracking API & MCP
Track AIT Worldwide (United States) parcels via synchronous REST GET or MCP. Normalized JSON status and scan history, no carrier credentials required.
AM Home Delivery Tracking API & MCP
Track AM Home Delivery (AM Trucking, United States) deliveries via synchronous REST GET or MCP. Normalized JSON status and scan history, no carrier credentials required.