Carrier API error decoder & serverless bypass guide.
Look up why direct carrier calls from Cloudflare Workers, Vercel, and AWS Lambda fail with Akamai 403/428, UPS 250003, FedEx 422, or 17TRACK -18019902 / -18010020—and replace them with one synchronous GET across 125 carriers.
Akamai Bot Manager blocking Cloudflare Workers, Vercel Functions & AWS Lambda datacenter IPs
Why it fails: UPS's tracking endpoints sit behind Akamai Bot Manager, TLS fingerprinting, and legacy XML Access License deprecation (error 250003). Direct requests from serverless functions (Cloudflare Workers, Vercel, AWS Lambda) lack enterprise shipper OAuth credentials or fail Akamai sensor challenges with 403 / 428.
How lastscanned fixes it: Replace the direct UPS OAuth + Track API handshake with a single stateless GET request to lastscanned. Zero UPS shipper account numbers or OAuth token caches required.
Drop-in synchronous replacement
curl "https://api.lastscanned.com/v1/track/1Z999AA10123456784" \
-H "Authorization: Bearer lsk_live_YOUR_API_KEY"USPS Web Tools XML retirement, v3 OAuth rate limits, and missing 926129 / 927489 consolidator scans
Why it fails: USPS retired its legacy TrackV2 XML API in favor of v3 OAuth 2.0 (which requires COPRA/Business Customer Gateway enrollment and enforces strict 429 rate limits). Furthermore, USPS returns only 'Shipping Label Created, USPS Awaiting Item' for 3–7 days while OSM Worldwide or Pitney Bowes transports 92… parcels.
How lastscanned fixes it: Query GET /v1/track/{number} for USPS, and pass ?carrier=osm or ?carrier=pitneybowes on 92… barcodes to pull live middle-mile sort hub scans before USPS DDU induction.
Drop-in synchronous replacement
curl "https://api.lastscanned.com/v1/track/92612903029511573030094531?carrier=osm" \
-H "Authorization: Bearer lsk_live_YOUR_API_KEY"FedEx Track API OAuth token churn in stateless edge functions & production project validation gates
Why it fails: FedEx's REST Track API requires a short-lived OAuth 2.0 bearer token on every call (causing token-churn latency in stateless edge workers), rejects unvalidated production keys with NOT.AUTHORIZED.ERROR, and returns 422 or incomplete scan history on smartpost/ground reference numbers.
How lastscanned fixes it: Call GET /v1/track/{number} with your static lastscanned API key. 12, 15, 20, and 22-digit (96…) FedEx numbers are auto-detected and normalized in one call.
Drop-in synchronous replacement
curl "https://api.lastscanned.com/v1/track/794812345678" \
-H "Authorization: Bearer lsk_live_YOUR_API_KEY"Regional last-mile couriers lack public self-serve REST APIs or enforce Firebase App Check / Turnstile
Why it fails: Regional couriers like Veho (VH…), UniUni (UUS…), SpeedX (SPX…), GOFO Express (GFUS…), OnTrac/LaserShip (1LS…), Better Trucks, and Intelcom/Dragonfly either gate their APIs behind enterprise merchant contracts or require browser-minted Firebase App Check / proof-of-work tokens.
How lastscanned fixes it: lastscanned supports all regional last-mile couriers out of the box behind the exact same GET /v1/track/{number} endpoint and JSON schema.
Drop-in synchronous replacement
curl "https://api.lastscanned.com/v1/track/VH0123456789AB" \
-H "Authorization: Bearer lsk_live_YOUR_API_KEY"Asynchronous register-first latency, 10× Instant quota cost, and April 2026 USPS Mailer ID (mid) gates
Why it fails: Calling 17TRACK's gettrackinfo on a new number fails with -18019902 unless you first POST /register and wait for an async webhook. Their synchronous getRealTimeTrackInfo costs 10 quotas per call, blocks USPS (21051) and DHL eCommerce US (7047), and requires extra parameters (-18010020, including USPS 6-digit Mailer ID mid since April 1, 2026) across 150 carriers.
How lastscanned fixes it: Switch to GET /v1/track/{number} on lastscanned: synchronous on the first call, 1 quota per unique number per month (unlimited free re-polls on Pro), and zero extra parameters required.
Drop-in synchronous replacement
curl "https://api.lastscanned.com/v1/track/LP00658129481029" \
-H "Authorization: Bearer lsk_live_YOUR_API_KEY"Test a live synchronous lookup right now
No carrier developer portal approval, no shipper account number, and no webhook registration queue.
Carrier API troubleshooting FAQ
- Why does calling UPS or FedEx tracking endpoints from Cloudflare Workers, Vercel, or AWS Lambda return 403 Forbidden?
- Major carrier portals sit behind Akamai Bot Manager and TLS/IP reputation filters that block cloud datacenter ASN ranges, or require multi-step shipper account OAuth handshakes. lastscanned gives your serverless function a clean REST endpoint (https://api.lastscanned.com/v1/track/{number}) with Browser Integrity Check disabled so any HTTP client works.
- What causes 17TRACK error -18019902 and -18010020?
- Error -18019902 ('Tracking number is not registered yet') occurs because 17TRACK requires an asynchronous POST /register step before you can query tracking info. Error -18010020 ('Submitted additional parameters are incorrect') happens on 150 carriers where 17TRACK requires extra parameters such as destination_country, postal_code, or USPS Mailer ID (mid). lastscanned requires only the tracking number on a single synchronous GET call.
- What replaces the retired USPS Web Tools TrackV2 XML API?
- Instead of migrating to USPS v3 OAuth 2.0 and enrolling in the Business Customer Gateway (which still misses OSM Worldwide and Pitney Bowes middle-mile scans on 92… labels), call GET https://api.lastscanned.com/v1/track/{number}.
All 125 supported carriers
Major carriers
Regional and last mile
- UniUniUniUni Express
- GOFOGOFO Express
- VehoVeho Technologies
- Spee-DeeSpee-Dee Delivery
- CDL Last MileCDL
- Better TrucksBetterTrucks
- AxleHireJitsu
- CirroCirro E-Commerce
- SpeedXSpeed X
- TForce Final MileTForce Logistics
- GLS USGSO
- OSM WorldwideOSM
- IntelcomDragonfly
- Sendlesendle.com
- Canpar ExpressCanpar
- Loomis ExpressLoomis
- GLS CanadaDicom
- NationexNationex Courier
- ICS CourierICS
- DHL eCommerceDHL eCommerce Americas
International posts and couriers
- Japan PostJapan Post
- Singapore PostSingPost
- Korea PostePOST
- NZ PostNew Zealand Post
- DPD UKDPD Local
- bpostbpost Belgium
- PostNordPostNord Sweden
- Österreichische PostAustrian Post
- Poczta PolskaPolish Post
- GLS Group EuropeGLS
- InPostInPost Paczkomat
- PacketaZásilkovna
- Hermes GermanyHermes
- La Poste / ColissimoColissimo
- PostNLPost NL
- CorreosCorreos España
- Poste Italianeposte.it
- CJ LogisticsCJ Korea Express
- Yamato TransportKuroneko Yamato
- DelhiveryDelhivery Express
- Blue DartBlue Dart Express
- EvriHermes UK
- An PostIrish Post
- Swiss PostDie Post
- BRT (Bartolini)Bartolini
- Aramex Australia / NZAramex AU
- CouriersPleaseCouriers Please
- Team Global ExpressTGE
- Ninja VanNinja Xpress
- Flash ExpressFlash Express Thailand
- Sagawa ExpressSagawa
- AramexAramex International
- T-cat (Taiwan Pelican Express)Black Cat
- HanjinHanjin Express
- Lotte Global LogisticsLotte Logistics
- LogenLogen Express
- ShadowfaxShadowfax Technologies
- NZ CouriersNew Zealand Couriers
- Post HastePostHaste
- Castle ParcelsCastle Parcels NZ
- ChronopostChronopost Express
- Bring / Posten NorgeBring
- Posti FinlandPosti
- Česká poštaCzech Post
- CTT PortugalCTT
- SEURSEUR Predict
- Nova PoshtaНова пошта
- SamedaySameday Courier
- FAN CourierFAN Courier Romania
- EcontEcont Express
- Yurtiçi KargoYurtici Kargo
- PaquetexpressPaquete Express
- Andreani
- The Courier GuyTCG
- PostNetPostNet South Africa
- 99minutos99 minutos
- MainfreightMainfreight Transport
- YTO ExpressYTO
- SPL Saudi PostSPL
- KEX Express ThailandKerry Express Thailand
- Pos MalaysiaPos Laju
- GDEXGD Express
- City-Link ExpressCityLink
- LBC ExpressLBC
- DHL Parcel NLDHL Parcel Benelux
- DHL Parcel IberiaDHL Parcel Spain
- DHL Parcel PLDHL Parcel Poland
- DHL eCommerce UKDHL Parcel UK
- DHL FreightDHL ActiveTracing
Cross-border
- YanwenYanwen Logistics
- 4PX4PX Worldwide Express
- CainiaoAliExpress Standard Shipping
- YunExpressYun Express
- Pitney BowesPB
- CNE ExpressCNE
- SunYouSYPost
- UBI Smart ParcelUBI
- AsendiaAsendia USA
- APC Postal LogisticsAPC-PLI
- Landmark GlobalLandmark
- YDHYDH Express
- Equick ChinaEquick
- TopYouTopyou Express
- Chit ChatsChitChats
- PassportPassport Global
- ePost GlobalEPG
- JYExpressJY Express
- SFC (Sendfromchina)Sendfromchina
- Anjun LogisticsAnjun
- Winit万邑通
- Gaopost高翔物流
- YF Express亿飞国际货运
- GDWSE威速易
- MeestMeest Group
- DHLinkDHL ink
- XQ ExpressXQ
- Ali Business LogisticsAli Business