Skip to content

Delhivery tracking ​

All three tracking methods call Delhivery's package endpoint (/api/v1/packages/json/) and return the same normalized shape.

Methods ​

MethodQuery sent
trackByWaybill(waybill)waybill=<waybill>
trackByOrderId(orderId)ref_nos=<orderId>
trackByWaybills(waybills)waybill=<comma-separated list>
ts
const tracking = await sdk.trackByWaybill("1234567890");

console.log(tracking.currentStatus, tracking.statusCode);
for (const scan of tracking.scans) {
  console.log(scan.scan_date, scan.status, scan.location);
}

Response ​

FieldTypeNotes
waybillsstring[]Waybills included in the response
currentStatusstring | nullLatest status label
statusCodestring | nullProvider status code
scansDelhiveryTrackingScan[]Scan history
rawunknownOriginal Delhivery payload

Each scan can include scan_date, scan_time, status, status_code, location, instructions, and remark. The raw response also carries ShipmentData for fields the SDK does not promote.