Trackingeyes数据接口
  1. 海运跟踪
Trackingeyes数据接口
  • 新手指南
  • 通用接口
    • 获取token
      POST
    • 获取港口支持代码
      GET
    • 获取船东支持代码
      GET
  • 海运数据接口
    • 海运数据
      • 海运状态码
      • 海运支持清单
      • 海运跟踪
        • 批量运单订阅接口
          POST
        • 推送运单动态接口
          POST
        • 批量及时更新接口
          POST
        • 下载运单详情接口
          GET
      • 及时请求
        • 批量及时请求接口
        • 及时请求推送接口
    • 港区数据
      • 中国港区支持清单
      • 中国港区数据订阅接口
      • 中国港区数据推送接口
      • 中国港区数据下载接口
    • 集装箱轨迹
      • 集装箱轨迹接口
    • 船舶AIS
      • 单船搜索接口
      • 船舶定位接口
      • 船舶历史挂港接口
      • 船舶轨迹接口
    • 船舶计划
      • 口岸支持清单
      • 船舶计划查询接口
    • 船东电商运价
      • 运价支持清单
      • 运价查询接口
    • 电子围栏
      • 电子围栏查询接口
  • 船期表接口
    • 港到港船期表
      • 船期支持清单
      • 国内船期查询接口
      • 船期分页推送接口
    • 航线规划路径
      • 航线规划路径接口
    • 航次挂靠路径
      • 航次挂靠路径支持清单
      • 航次挂靠路径查询接口
  • 空运数据接口
    • 空运状态码
    • 空运支持清单
    • 空运跟踪
      • 批量运单订阅接口
      • 推送运单动态接口
      • 批量运单下载接口
  • 陆运数据接口
    • EIR(电子设备交接单)
      • EIR支持清单
      • EIR获取接口
    • 场站数据
      • 场站支持清单
      • 场站数据订阅接口
      • 场站数据推送接口
    • 车辆GPS
      • 车辆定位接口
      • 车辆轨迹接口
  • 关务数据接口
    • 报关状态
      • 报关状态代码表
      • 报关状态订阅接口
      • 报关状态推送接口
      • 下载报关状态接口
    • 舱单数据
      • 舱单数据订阅接口
      • 舱单数据推送接口
      • 下载舱单数据接口
  • 海外数据接口
    • 全球码头数据
      • 全球码头支持清单
      • 全球码头数据订阅接口
      • 全球码头数据推送接口
      • 全球码头数据下载接口
    • 美国清关状态
      • 清关状态代码
      • 美国清关数据查询接口
  • 快递数据接口
    • 国家、地区ISO Alpha-3代码表
    • 主状态代码表
    • 子状态代码表
    • 承运商代码表
    • 承运商集团表
    • 特殊承运人代码表
    • 快递数据订阅接口
    • 快递数据推送接口
    • 快递数据下载接口
  • 其他数据接口
    • 通用港杂费
      • 港杂费代码清单
      • 通用港杂费查询接口
    • 操作时间
      • 操作时间查询接口
  1. 海运跟踪

批量运单订阅接口

POST
/api/oceanbill/batchOceanBill
1.中外运(SINO)可直接箱号订阅。若提单号订阅,必须提单号+其中一个箱号一起订阅,同时按照指定的Json格式将箱号传入extendNo参数里。
2.订阅综合接口数据时,起运港polCd需上传代码,同时serviceType参数填写CT。
3.接口不支持只调用码头数据,如需码头数据请使用港区数据接口。
4.每次订阅数量限制30条。

请求参数

Query 参数

Body 参数application/json

示例
[
    {
        "deliveryNo": null,
        "orderNo": null,
        "localKey": "",
        "referenceNo": "177QAZAZXTCN0541",
        "blType": "BL",
        "carrierCd": "MSC",
        "extendNo": null,
        "customer": null,
        "polCd": null,
        "customerService": null,
        "noticeEmail": null,
        "remark": null,
        "serviceType": "C",
    },
    {
        "deliveryNo": null,
        "orderNo": null,
        "localKey": "",
        "referenceNo": "SNLFSKALB61601",
        "blType": "BL",
        "carrierCd": "SINO",
        "extendNo": {"CtnrNo":"BHCU4987386"},
        "customer": null,
        "polCd": null,
        "customerService": null,
        "noticeEmail": null,
        "remark": null,
        "serviceType": "C",
    },
    {
        "deliveryNo": null,
        "orderNo": null,
        "localKey": "",
        "referenceNo": "6414918850",
        "blType": "",
        "carrierCd": "COSCO",
        "extendNo": null,
        "customer": null,
        "polCd": null,
        "customerService": null,
        "noticeEmail": null,
        "remark": null,
        "serviceType": "C"
     }
]

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.trackingeyes.com/api/oceanbill/batchOceanBill?companyCode&token&orgCode' \
--header 'Content-Type: application/json' \
--data-raw '[
    {
        "deliveryNo": null,
        "orderNo": null,
        "localKey": "",
        "referenceNo": "177QAZAZXTCN0541",
        "blType": "BL",
        "carrierCd": "MSC",
        "extendNo": null,
        "customer": null,
        "polCd": null,
        "customerService": null,
        "noticeEmail": null,
        "remark": null,
        "serviceType": "C",
    },
    {
        "deliveryNo": null,
        "orderNo": null,
        "localKey": "",
        "referenceNo": "SNLFSKALB61601",
        "blType": "BL",
        "carrierCd": "SINO",
        "extendNo": {"CtnrNo":"BHCU4987386"},
        "customer": null,
        "polCd": null,
        "customerService": null,
        "noticeEmail": null,
        "remark": null,
        "serviceType": "C",
    },
    {
        "deliveryNo": null,
        "orderNo": null,
        "localKey": "",
        "referenceNo": "6414918850",
        "blType": "",
        "carrierCd": "COSCO",
        "extendNo": null,
        "customer": null,
        "polCd": null,
        "customerService": null,
        "noticeEmail": null,
        "remark": null,
        "serviceType": "C"
     }
]'

返回响应

🟢200成功
application/json
Body

示例
{
    "code": 200,
    "type": "success",
    "message": "",
    "result": [
        {
            "resultType": "订阅成功",
            "resultTypeCd": "success",
            "error": "",
            "id": "627472342581317",
            "deliveryNo": null,
            "orderNo": null,
            "localKey": null,
            "referenceNo": "278342554",
            "ctnrNo": null,
            "carrierCd": "MSK",
            "trackStatus": "跟踪中",
            "trackStatusCd": "T",
            "errorMessage": "",
            "errorStatus": "T",
            "billCreateTime": "2024-12-28 11:31:32",
            "dataStatus": null,
            "blType": "BL"
        }
    ],
    "time": "2024-12-28 11:31:32"
}
修改于 2025-09-12 12:53:29
上一页
海运支持清单
下一页
推送运单动态接口
Built with