Carriers
GET
https://api.trackified.net /v1/carriers List the carriers we track
Parameters
limitintegerqueryoffsetintegerqueryCode samples
cURL
curl -X GET "https://api.trackified.net/v1/carriers" \
-H "Authorization: Bearer $TRACKIFIED_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Carriers
Example
{
"data": [
{
"id": "string",
"display_name": "string",
"displayName": "string",
"aliases": [
"string"
],
"mode": "scraper",
"regions": [
"string"
],
"tier": 0,
"trackingNumberPattern": "string",
"verification": {}
}
],
"pagination": {
"limit": 0,
"offset": 0,
"total": 0
}
}Schema
dataCarrier[]requiredShow child parameters
idstringrequireddisplay_namestringrequireddisplayNamestringrequireddeprecatedSame as display_name; kept for existing clients.
aliasesstring[]requiredOther names and provider slugs that resolve to this carrier.
modestringregionsstring[]tierintegertrackingNumberPatternstringverificationobjectpaginationobjectrequiredShow child parameters
limitintegeroffsetintegertotalinteger401 Error
Example
{
"error": {
"code": "string",
"message": "string",
"request_id": "string"
}
}Schema
errorobjectShow child parameters
codestringmessagestringrequest_idstringGET
https://api.trackified.net /v1/carriers/resolve Resolve a carrier name to our carrier id
Free text to one of our carrier ids: our ids, display names, common and service names ("USPS Priority Mail", "Hermes UK") and other providers' slugs (Shippo, EasyPost, AfterShip: "dhl_express", "fedex_smartpost"). Case, accents and punctuation are ignored. Only carriers we can track resolve; anything else is {"carrier": null, "confidence": 0}. POST /v1/trackings accepts any carrier this resolves with confidence 0.8 or more, and stores our id.
Parameters
namestringqueryrequiredCode samples
cURL
curl -X GET "https://api.trackified.net/v1/carriers/resolve?name=USPS%20Priority%20Mail" \
-H "Authorization: Bearer $TRACKIFIED_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 The match, or carrier null
Example
{
"carrier": "usps",
"name": "USPS",
"confidence": 0.97,
"matched": "alias"
}Schema
carrierstringrequiredOur carrier id, or null when nothing we track matches.
namestringOur display name. Absent when carrier is null.
confidencenumberrequiredmatchedstringWhat matched. Absent when carrier is null.
GET
https://api.trackified.net /v1/carriers/{id} Get a carrier
Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://api.trackified.net/v1/carriers/{id}" \
-H "Authorization: Bearer $TRACKIFIED_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 The carrier
Example
{
"id": "string",
"display_name": "string",
"displayName": "string",
"aliases": [
"string"
],
"mode": "scraper",
"regions": [
"string"
],
"tier": 0,
"trackingNumberPattern": "string",
"verification": {}
}Schema
idstringrequireddisplay_namestringrequireddisplayNamestringrequireddeprecatedSame as display_name; kept for existing clients.
aliasesstring[]requiredOther names and provider slugs that resolve to this carrier.
modestringregionsstring[]tierintegertrackingNumberPatternstringverificationobjectGET
https://api.trackified.net /v1/carriers/detect Detect the carrier for a tracking number
Parameters
numberstringqueryrequiredCode samples
cURL
curl -X GET "https://api.trackified.net/v1/carriers/detect?number=<number>" \
-H "Authorization: Bearer $TRACKIFIED_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Candidates, most likely first
Example
{
"tracking_number": "string",
"candidates": [
{
"carrier": "string",
"confidence": 0,
"reason": "string"
}
]
}Schema
tracking_numberstringcandidatesCarrierCandidate[]Show child parameters
carrierstringconfidencenumberreasonstringGET
https://api.trackified.net /v1/carriers/catalog Search carriers by name
Parameters
qstringquerysupportstringquerylimitintegerqueryCode samples
cURL
curl -X GET "https://api.trackified.net/v1/carriers/catalog"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Matching carriers, ones we track first
Example
{
"total": 0,
"data": [
{}
]
}Schema
totalintegerdataobject[]GET
https://api.trackified.net /v1/carriers/status How each carrier has been validated
Code samples
cURL
curl -X GET "https://api.trackified.net/v1/carriers/status" \
-H "Authorization: Bearer $TRACKIFIED_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Updated