How do I get FedEx tracking data from an API?
FedEx's Track API is POST /track/v1/trackingnumbers with up to 30 numbers, after you create a FedEx Developer Portal project and get an OAuth token. lastscanned returns FedEx tracking as JSON from GET /v1/track/{number} with one Bearer key, takes up to 35 FedEx numbers per request, and gives estimated delivery in UTC when FedEx sends a zone. Pro is $4.99/mo for 1,000 unique numbers, then $0.015 each, with no daily limit. A free key tracks 5 numbers a day. With no key you get 1 lookup a day, then pay per request over MPP: $0.50 by card for a 25-number pack, or $0.02 a number in USDC on Tempo.
Try it
curl "https://api.lastscanned.com/v1/track/873970594430" \
-H "Authorization: Bearer lsk_live_YOUR_KEY"const res = await fetch("https://api.lastscanned.com/v1/track/873970594430", {
headers: { Authorization: `Bearer ${process.env.LASTSCANNED_KEY}` },
});
const t = await res.json();
console.log(t.status, t.statusDescription);
console.log(t.estimatedDelivery); // as FedEx printed it, no zone
console.log(t.estimatedDeliveryAt); // the same moment in UTC (FedEx gives the zone)
console.log(t.events[0]); // newest scan firstWays to get FedEx tracking by API
| Option | How it works | Price | Notes |
|---|---|---|---|
| FedEx Track API | POST /track/v1/trackingnumbers with up to 30 numbers, using an OAuth token from a FedEx Developer Portal project. | Through your FedEx developer account | FedEx only. FedEx's business rules ask you to drop delivered numbers from repeat batches. |
| lastscanned, one number | GET /v1/track/{number} with a Bearer key. | Free: 5 numbers a day. Pro: $4.99/mo for 1,000 unique numbers, then $0.015 each, no daily limit. | Status, every scan, estimated delivery and signature when FedEx gives one. |
| lastscanned, many numbers | GET /v1/track?numbers=a,b,c with up to 35 FedEx numbers (100 in all). | Same plan; on Pro re-checks are free | Each entry comes back with a result or an error, in the order sent. |
Carrier limits from FedEx Developer Portal: Track API, read on November 3, 2026. They can change.
Details
Developer project or one key
FedEx's API needs a Developer Portal project, API credentials and an OAuth token. lastscanned takes one Bearer key that also covers UPS, USPS and the other carriers.
Scan times you can sort by
FedEx gives a zone with each scan, so every event's timestamp converts to UTC exactly, and localTime keeps the time as FedEx printed it.
Delivered numbers
FedEx asks integrators to drop delivered numbers from repeat batches. Watches do that for you: a watch ends on delivered, and on Pro re-checks before then are free.
History FedEx keeps
FedEx says tracking information is available for 90 days after delivery for Express, Ground and Custom Critical shipments.
FAQ
- How many numbers does the FedEx Track API take per request?
- Up to 30.
- Do I need a FedEx account to track FedEx packages by API?
- For FedEx's Track API you create a Developer Portal project and use OAuth. lastscanned needs only a lastscanned key.
- Does lastscanned give FedEx estimated delivery?
- Yes, when FedEx shows one: estimatedDelivery as printed and estimatedDeliveryAt in UTC.
- Can I mix FedEx with UPS and USPS in one request?
- Yes. Up to 100 numbers per request, no more than 35 for any one carrier.