Carriers

Embed
Preview of the card
<a href="https://trackified.net/docs/ref-carriers"><img src="https://trackified.net/docs/_api/public/orgs/e2a7773e-db9e-41cb-bd59-bd248745cac3/spaces/9d63a5d4-feb0-4803-84a5-dc68639362a6/pages/c08eb599-64a9-41dd-a942-cd43f70f31bc/social-card.svg?v=3e7ae33eec8b" alt="Carriers" width="600" height="315"></a>
GEThttps://api.trackified.net/v1/carriers

List the carriers we track

Parameters

limitintegerquery
= 50
offsetintegerquery
= 0

Code 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[]required
Show child parameters
idstringrequired
display_namestringrequired
displayNamestringrequireddeprecated
Same as display_name; kept for existing clients.
aliasesstring[]required
Other names and provider slugs that resolve to this carrier.
modestring
scraper | api
regionsstring[]
tierinteger
trackingNumberPatternstring
verificationobject
paginationobjectrequired
Show child parameters
limitinteger
offsetinteger
totalinteger
401 Error
Example
{
  "error": {
    "code": "string",
    "message": "string",
    "request_id": "string"
  }
}
Schema
errorobject
Show child parameters
codestring
messagestring
request_idstring
GEThttps://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

namestringqueryrequired

Code 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
carrierstringrequired
Our carrier id, or null when nothing we track matches.
namestring
Our display name. Absent when carrier is null.
confidencenumberrequired
matchedstring
What matched. Absent when carrier is null.
id | alias | name | provider_slug | prefix
400 Error

Same as 401 · GET /v1/carriers

401 Error

Same as 401 · GET /v1/carriers

GEThttps://api.trackified.net/v1/carriers/{id}

Get a carrier

Parameters

idstringpathrequired

Code 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
idstringrequired
display_namestringrequired
displayNamestringrequireddeprecated
Same as display_name; kept for existing clients.
aliasesstring[]required
Other names and provider slugs that resolve to this carrier.
modestring
scraper | api
regionsstring[]
tierinteger
trackingNumberPatternstring
verificationobject
401 Error

Same as 401 · GET /v1/carriers

404 Error

Same as 401 · GET /v1/carriers

GEThttps://api.trackified.net/v1/carriers/detect

Detect the carrier for a tracking number

Parameters

numberstringqueryrequired

Code 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_numberstring
candidatesCarrierCandidate[]
Show child parameters
carrierstring
confidencenumber
reasonstring
400 Error

Same as 401 · GET /v1/carriers

401 Error

Same as 401 · GET /v1/carriers

GEThttps://api.trackified.net/v1/carriers/catalog

Search carriers by name

Parameters

qstringquery
supportstringquery
scraper | api | unsupported
limitintegerquery
= 50

Code 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
totalinteger
dataobject[]
GEThttps://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

Responses

200 Counts and per-carrier results
{}
401 Error

Same as 401 · GET /v1/carriers

Updated