PackageMate icon indicating copy to clipboard operation
PackageMate copied to clipboard

Amazon tracker not working

Open jat255 opened this issue 3 years ago • 0 comments

The https://track.amazon.com/ endpoint no longer responds with useful information. For example:

$ curl 'https://track.amazon.com/api/tracker/TBA084495348404' \
        -H 'Pragma: no-cache' \
        -H 'Cache-Control: no-cache' \
        -H 'Accept: application/json' \
        --compressed | jq '.progressTracker | fromjson'
{
  "progressMeter": null,
  "customerRescheduleRequestInfo": null,
  "errors": [
    {
      "errorCode": "TRACKING_ID_NOT_FOUND",
      "errorMessage": "INVALID TRACKING_ID"
    }
  ],
  "summary": {
    "status": null,
    "metadata": {},
    "proofOfDelivery": null,
    "containerStatusTags": null
  },
  "expectedDeliveryDate": null,
  "legType": null,
  "hasDeliveryDelayed": false,
  "trackerSource": "UNKNOWN"
}

This probably won't be fixed until something about the API changes, since it appears otherwise you have to login to your amazon account to see shipment details.

jat255 avatar Aug 24 '22 17:08 jat255