This documentation is for the v4 (stable) version of the API.
Invocation URL: /v4/tracktrace/detail

Descripton:

Do a Track/Trace lookup on the specified LabelNumber.

Parameters:

LabelNo - The label number to look up
CountryCode - The code of the country in which the label resides. Optional: If omitted, will be automatically determined. See here for a list of valid country codes.
SortByType - If set to 'true', ignores the scan date and sorts the returned scans by Pickup scans first, then Transit scans, then Delivery scans.
AllowEndOfDayMessage - add message iff last scan of the day is an ONB

Returns:

A data structure like the following:

{
    LabelNumber: '3a0000253492',
    Scans: [{
            Type: 'P' (or 'D' or 'T'. P is Pickup, D is Delivery and T is Transit)
            Courier: '110'
            Description: 'Pickup'
            Date: '12/10/2010 4:02:16 p.m.'
			UploadDate: '13/10/2010 4:03:12 p.m.'
            Name: 'Whangarei'
            Status: 'PPP'
            Franchise: 'WRE'
            StatusDescription: 'Your parcel was picked up.'
            CompanyInfo: {
				ContactName: '',
				Company: 'ELEPHANT HILL ESTATE & WINERY',
				Address1: '',
				Address2: '86 CIFTON RD',
				Address3: 'TE AWANGA',
				Address4: 'HAWKES BAY',
				Address5: '',
				Address6: '',
				Address7: '06 8726060',
				Address8: '',
				Comment: ''
			}
        }, {
            ...etc
    }],
    Signature: 'http://link/to/signature.jpg'
    DistributedTo: 'Whangarei',
    DistributedDate:'29 / 04 / 2017',
    Reference:'',
    OriginalLabelNumber:'MS0000172438',
    IsOnforward:'0',
    CallingCard:'',
    CountryCode:'1',
    CallingCardLabelNumbers:[],
    AddressOnParcel:{  
         dataSource:'My Fastway',
         company:'',
         name:'Sarah Smith',
         address1:'2020 Burwood St',
         address2:'',
         address3:'Hawthorn East,
         address4:'3123',
         phone:'1234567890',
         emailAddress:'email@fastway.org',
         isPopulated:true
      }

}

Example:

https://nz.api.fastway.org/v4/tracktrace/detail/3a0000253492/6?api_key=YOUR_API_KEY

Back to Track and Trace