OnTrac package tracking, and the API behind it.
OnTrac and the former LaserShip network, now one carrier, in one response shape. One free lookup a day, no sign-up.
Also known as LaserShip, OnTrac LaserShip.
OnTrac tracking numbers
We recognize these formats from the number alone. For anything else from OnTrac, add ?carrier=ontrac.
- OnTrac
- C or D + 14 digits
- LaserShip
- 1LS + 12–15 letters and digits, or L + letter + 8 digits
- Example (format only)
- C11234567890123
- Category
- Major carriers
- API carrier code
- ontrac
OnTrac tracking API quickstart
One request per number, or up to 100 at once with ?numbers=a,b,c. Your agents can use the same data over MCP.
REST
curl "https://api.lastscanned.com/v1/track/C11234567890123?carrier=ontrac"Claude Code
claude mcp add --transport http lastscanned https://mcp.lastscanned.comThen ask
> Where is my OnTrac package C11234567890123? When will it arrive?
OnTrac tracking FAQ
- How do I track a OnTrac package?
- Paste the tracking number into the lookup on this page. We read OnTrac's own tracking data and show every scan, the current status and the delivery details. Anyone can do one lookup a day without signing up.
- Is there a OnTrac tracking API?
- Yes. GET https://api.lastscanned.com/v1/track/:number?carrier=ontrac returns OnTrac tracking as JSON, in the same shape as every other carrier lastscanned covers. Sign up for a free key with 5 lookups a day, or Pro for $4.99 a month with 1,000 numbers.
- What does a OnTrac tracking number look like?
- OnTrac: C or D + 14 digits; LaserShip: 1LS + 12–15 letters and digits, or L + letter + 8 digits. For example C11234567890123. lastscanned recognizes these formats on its own, so ?carrier=ontrac is optional for them.
- Does this work for LaserShip and OnTrac LaserShip numbers?
- Yes. They are tracked through OnTrac and come back as carrier "ontrac".
- Can an AI agent track OnTrac packages?
- Yes. Add lastscanned as an MCP server (https://mcp.lastscanned.com) in Claude, ChatGPT, Cursor or VS Code and ask it where a OnTrac parcel is.
Other carriers
Major carriers
Regional US last mile
Tracking pages are for people. This is for your code.
Every carrier shows a parcel differently. lastscanned reads them all and answers in one shape, so your app, your spreadsheet or your agent handles any carrier the same way.
| Carrier website | lastscanned API | |
|---|---|---|
| Carriers | One carrier per site | 18 carriers behind one endpoint |
| Response | A web page to read | The same JSON for every carrier |
| Volume | One number at a time | Up to 100 numbers per request |
| Agents | Copy and paste | MCP server for Claude, ChatGPT and Cursor |
| Automation | Check back by hand | Poll from your own code or workflow |
Free: 5 numbers a day with a key. Pro: $4.99 a month for 1,000 numbers, then $0.015 each.