πŸ”‘ Royal Mail Track and Trace

Inputs

NameDescription
Royal Mail Tracking IdThe tracking Id for Royal Mail
Royal Mail Client IdThe Client Id for Royal Mail
Royal Mail Client SecretThe Client Secrect for Royalmail

Outputs

NameDescription
Rate limitWhether the API rate limit has been exceeded
Tracking Found?Whether any tracking info was found for the tracking number provided
Tracking URLThe URL link for the Tracking Page
StatusStatus of the package delivery
Status DescriptionStatus description of the package delivery
Last Event DateDate of the Last Tracking Event
Activity HistoryHistory of events for this package

Sample Response

Event History

{
        "statusDescription": "Your item was delivered on 10-01-2024. ",
        "rate_limit": false,
        "lastEventDate": "2024-01-10T19:10:11Z",
        "status": "Delivered",
        "tracking_url": "https://www.royalmail.com/track-your-item#/tracking-results/XF133641044GB",
        "trackingEvents": [
            {
                "eventCode": "EVGMI",
                "eventName": "In Transit",
                "eventDateTime": "2024-01-16T08:10:40Z",
                "locationName": null
            },
            {
                "eventCode": "EVDAV",
                "eventName": "In Transit",
                "eventDateTime": "2024-01-14T02:59:47Z",
                "locationName": null
            },
            {
                "eventCode": "EVKSP",
                "eventName": "Delivered and Signed",
                "eventDateTime": "2024-01-10T19:10:11Z",
                "locationName": null
            },
            {
                "eventCode": "EVGPD",
                "eventName": "In Transit",
                "eventDateTime": "2024-01-10T19:06:38Z",
                "locationName": null
            },
            {
                "eventCode": "EVNRT",
                "eventName": "Item Retention",
                "eventDateTime": "2024-01-10T04:04:57Z",
                "locationName": null
            },
            {
                "eventCode": "EVOCO",
                "eventName": "We've received your item and its now being processed for delivery.",
                "eventDateTime": "2024-01-10T02:53:26Z",
                "locationName": null
            },
            {
                "eventCode": "EVDAC",
                "eventName": "In Transit",
                "eventDateTime": "2024-01-09T00:59:22Z",
                "locationName": null
            },
            {
                "eventCode": "EVPPA",
                "eventName": "Accepted at Post Office.",
                "eventDateTime": "2024-01-08T10:17:40Z",
                "locationName": null
            }
        ],
        "found_tracking": true
    }