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

运价查询接口

POST
/api/spotrate/getSpotrateList
*所有的日期字段都是字符串类型,格式为 "yyyy-MM-dd", 如果没有值则为空字符串""。*

请求参数

Query 参数
companyCode
string 
必需
公司编码(需向云当网申请)
orgCode
string 
组织编码
可选
token
string 
必需
获取token接口返回的token值
Body 参数application/json
polCd
string 
始发港五字码
必需
<= 12 字符
podCd
string 
目的港五字码
必需
<= 12 字符
carrierCodeList
array[string]
船公司代码,支持多选
可选
放空则默认查所有船东
etd
string <date>
离港开始时间
可选
yyyy-MM-dd,放空或小于当日则默认为当天日期
weeksOut
string 
周数
可选
最长8周,放空则默认为2周
<= 1 字符
示例
{
    "polCd": "CNXMN",
    "podCd": "NLRTM",
    "carrierCodeList": [
        "COSCO",
        "CMA"
    ],
    "etd": "2025-03-10",
    "weeksOut": "1"
}

示例代码

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/spotrate/getSpotrateList?companyCode&orgCode&token' \
--header 'Content-Type: application/json' \
--data-raw '{
    "polCd": "CNXMN",
    "podCd": "NLRTM",
    "carrierCodeList": [
        "COSCO",
        "CMA"
    ],
    "etd": "2025-03-10",
    "weeksOut": "1"
}'

返回响应

🟢200成功
application/json
Body
code
integer 
请求状态
必需
200=请求成功,其他=请求失败
codeDesc
string 
请求状态代码
必需
success=成功,其他=失败
<= 255 字符
message
string 
失败信息
必需
<= 255 字符
result
array [object {13}] 
结果集
必需
polCd
string 
始发港五字码
可选
<= 12 字符
podCd
string 
目的港五字码
可选
<= 12 字符
carrierCd
string 
船公司代码
可选
<= 18 字符
vessel
string 
船名
可选
<= 20 字符
voyage
string 
航次
可选
<= 36 字符
transClause
string 
CY-CY/CY-DOOR/DOOR-DOOR
可选
<= 20 字符
etd
string <date>
预计开航日期
可选
eta
string <date>
预计到港日期
可选
expireStart
string <date>
有效期起始
可选
expireEnd
string <date>
有效期结束
可选
basePriceList
array [object {4}] 
基础运价列表
可选
transitPort
array [object {9}] 
中转数据
可选
固定3个ts,值可为空(如遇直航则返回[])
localChargeList
array [object {4}] 
港杂费数据
可选
示例
{
    "code": 200,
    "codeDesc": "success",
    "message": "Operation succeeded",
    "result": [
        {
            "polCd": "CNXMN",
            "podCd": "NLRTM",
            "carrierCd": "CMA",
            "vessel": "COS TBN 25",
            "voyage": "0PFNUW1MA",
            "transClause": "CY-CY",
            "etd": "2025-04-30",
            "eta": "2025-06-06",
            "expireStart": "2025-04-14",
            "expireEnd": "2025-04-30",
            "basePriceList": [
                {
                    "ctnType": "20GP",
                    "basePrice": "1460.00",
                    "totalPrice": "1485.00",
                    "currency": "USD"
                },
                {
                    "ctnType": "40GP",
                    "basePrice": "2520.00",
                    "totalPrice": "2545.00",
                    "currency": "USD"
                },
                {
                    "ctnType": "40HQ",
                    "basePrice": "2520.00",
                    "totalPrice": "2545.00",
                    "currency": "USD"
                }
            ],
            "transitPort": [],
            "localChargeList": [
                {
                    "feeName": "单证费",
                    "feeCode": "doc_fee",
                    "type": 0,
                    "fee": 450
                },
                {
                    "feeName": "出口单证费",
                    "feeCode": "edoc_fee",
                    "type": 0,
                    "fee": 100
                },
                {
                    "feeName": "电放费",
                    "feeCode": "tlx_fee",
                    "type": 0,
                    "fee": 450
                },
                {
                    "feeName": "信息传输费",
                    "feeCode": "info_fee",
                    "type": 0,
                    "fee": 5
                },
                {
                    "feeName": "码头操作费",
                    "feeCode": "othc_fee",
                    "type": 1,
                    "fee": {
                        "20gp": "550",
                        "40gp": "825",
                        "40hq": "825",
                        "45hq": "1020",
                        "20rf": "615",
                        "40rh": "915",
                        "20ot": "725",
                        "40ot": "1075"
                    }
                },
                {
                    "feeName": "封志费",
                    "feeCode": "seal_fee",
                    "type": 1,
                    "fee": {
                        "20gp": "30",
                        "40gp": "30",
                        "40hq": "30",
                        "45hq": "30",
                        "20rf": "30",
                        "40rh": "30",
                        "20ot": "30",
                        "40ot": "30"
                    }
                },
                {
                    "feeName": "设备交接单费",
                    "feeCode": "eir_fee",
                    "type": 1,
                    "fee": {
                        "20gp": "35",
                        "40gp": "35",
                        "40hq": "35",
                        "45hq": "35",
                        "20rf": "35",
                        "40rh": "35",
                        "20ot": "35",
                        "40ot": "35"
                    }
                }
            ]
        },
        {
            "polCd": "CNXMN",
            "podCd": "NLRTM",
            "carrierCd": "COSCO",
            "vessel": "CMA CGM IGUACU",
            "voyage": "017W",
            "transClause": "CY-CY",
            "etd": "2025-05-02",
            "eta": "2025-06-07",
            "expireStart": "2025-05-01",
            "expireEnd": "2025-05-12",
            "basePriceList": [
                {
                    "ctnType": "20GP",
                    "basePrice": "2150.00",
                    "totalPrice": "2175.00",
                    "currency": "USD"
                },
                {
                    "ctnType": "40GP",
                    "basePrice": "3600.00",
                    "totalPrice": "3625.00",
                    "currency": "USD"
                },
                {
                    "ctnType": "40HQ",
                    "basePrice": "3600.00",
                    "totalPrice": "3625.00",
                    "currency": "USD"
                }
            ],
            "transitPort": [
                {
                    "pod": "SINGAPORE",
                    "podCode": "SGSIN",
                    "wharf": "",
                    "vessel": "CMA CGM RIVOLI",
                    "voyage": "016W",
                    "lineCode": "AEU6",
                    "eta": "2025-05-08",
                    "etd": "2025-05-08",
                    "mode": "VESSEL"
                },
                {
                    "pod": "",
                    "podCode": "",
                    "wharf": "",
                    "vessel": "",
                    "voyage": "",
                    "lineCode": "",
                    "eta": "",
                    "etd": "",
                    "mode": ""
                },
                {
                    "pod": "",
                    "podCode": "",
                    "wharf": "",
                    "vessel": "",
                    "voyage": "",
                    "lineCode": "",
                    "eta": "",
                    "etd": "",
                    "mode": ""
                }
            ],
            "localChargeList": [
                {
                    "feeName": "单证费",
                    "feeCode": "doc_fee",
                    "type": 0,
                    "fee": 500
                },
                {
                    "feeName": "出口单证费",
                    "feeCode": "edoc_fee",
                    "type": 0,
                    "fee": 100
                },
                {
                    "feeName": "电放费",
                    "feeCode": "tlx_fee",
                    "type": 0,
                    "fee": 300
                },
                {
                    "feeName": "信息传输费",
                    "feeCode": "info_fee",
                    "type": 0,
                    "fee": 5
                },
                {
                    "feeName": "码头操作费",
                    "feeCode": "othc_fee",
                    "type": 1,
                    "fee": {
                        "20gp": "646",
                        "40gp": "982",
                        "40hq": "982",
                        "45hq": "1448",
                        "20rf": "798",
                        "40rh": "1241",
                        "20ot": "798",
                        "40ot": "1241"
                    }
                },
                {
                    "feeName": "封志费",
                    "feeCode": "seal_fee",
                    "type": 1,
                    "fee": {
                        "20gp": "30",
                        "40gp": "30",
                        "40hq": "30",
                        "45hq": "30",
                        "20rf": "30",
                        "40rh": "30",
                        "20ot": "30",
                        "40ot": "30"
                    }
                },
                {
                    "feeName": "设备交接单费",
                    "feeCode": "eir_fee",
                    "type": 1,
                    "fee": {
                        "20gp": "30",
                        "40gp": "30",
                        "40hq": "30",
                        "45hq": "30",
                        "20rf": "30",
                        "40rh": "30",
                        "20ot": "30",
                        "40ot": "30"
                    }
                }
            ]
        }
    ]
}
上一页
运价支持清单
下一页
船期支持清单
Built with