Banner

Tracktry API

Carriers 

This section describes the carrier related resources of the API.

URI Method Description
GET /carriers GET List all carriers
POST /carriers/detect POST Detect a carrier by tracking code

Detect a carrier by tracking code

https://api.tracktry.com/v1/carriers/detect

Headers

Returns a list of carriers that match the tracking code

  • Content-Type: application/json
    Tracktry-Api-Key: YOUR_API_KEY
  • Tips

    此API按调用次数单独收费:每调用5次,扣除1个单号额度

Parameters

ParamDescription
tracking_numberThe tracking code for which you are trying to find a carier. Required, E.g. RN123456789CN.

Request Body

  • {
    	"tracking_number": "RN123456789CN"
    }
    				
  • Response Body 200

    {
        "meta": {
            "code": 200,
            "type": "Success",
            "message": "Success"
        },
        "data": [{
            "name": "China post",
            "code": "china-post"
        }]
    }