TrackingMore API

获取运输商 

获取我们支持的所有运输商并通过运单号自动检测运输商。为了查询更准确,我们建议您在调用的时候填上运输商简码。

URI Method Description
GET /carriers GET列出所有运输商以及在TrackingMore系统中相应运输商简码
POST /carriers/detect POST 通过运单号检测运输商

通过运单号检测运输商

https://api.trackingmore.com/v2/carriers/detect

返回一个运单号所匹配的运营商列表

Request body params:

ParamDescription
tracking_numberThe tracking code for which you are trying to find a carier. Required, string, E.x. RN123456789CN.
  • Request
  • Headers
    Content-Type: application/json
    Trackingmore-Api-Key: YOUR_API_KEY
    Body
    {
        "tracking_number": "1881034142"
    }
    
  • Response  200
  • Body
    {
        "meta": {
            "code": 200,
            "type": "Success",
            "message": "Success"
        },
        "data": [{
            "name": "China post",
            "code": "china-post"
        }]
    }
    
  • Facebook Twitter Android App Store
  • ©2014-2018 TrackingMore.All Rights Reserved.