Aftership
API to update, manage and track shipment efficiently
- Authentication
- API Key
- HTTPS
- Yes
- CORS
- Yes
- Category
- Tracking
- Documentation / URL
- https://developers.aftership.com/reference/quick-start
Overview
AfterShip’s API tracks packages across 1,200+ couriers — one endpoint for any carrier. Auth is an API key (an invalid key returns 401, verified).
Quick Start
List couriers (replace YOUR_KEY):
curl "https://api.aftership.com/v4/couriers" \
-H "aftership-api-key: YOUR_KEY"
{
"data": {
"total": 1200,
"couriers": [ { "slug": "dhl", "name": "DHL" } ]
}
}
Track a shipment:
curl -X POST "https://api.aftership.com/v4/trackings" \
-H "aftership-api-key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"tracking": {"tracking_number": "123456789", "slug": "dhl"}}'
Authentication
- Register at aftership.com → API key.
- Send as the
aftership-api-keyheader (invalid → 401, verified).
Rate Limits & Notes
- Free tier: ~100 tracked shipments/month (check the docs); paid plans scale.
- One API covers 1,200+ couriers (auto-detect slugs).
- Webhook notifications for delivery events.
FAQ
Is AfterShip free? Free tier with a monthly shipment allowance; more is paid.
How do I get a key? aftership.com → dashboard → API key.
What’s the auth style?
aftership-api-key header (verified).
More in Tracking
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| Correios Integration to provide information and prepare shipments using Correio's services | API Key | Yes | Unknown | ↗ |
| Mapbox Maps, directions, geocoding | API Key | Yes | Unknown | ↗ |
| Pixela API for recording and tracking habits or effort, routines | X-Mashape-Key | Yes | Yes | ↗ |
| PostalPinCode API for getting Pincode details in India | No auth | Yes | Unknown | ↗ |
| Postmon An API to query Brazilian ZIP codes and orders easily, quickly and free | No auth | No | Unknown | ↗ |