- 通用接口
- 海运数据接口
- 空运数据接口
- 陆运数据接口
- 关务数据接口
- 其他接口
运价查询接口
POST
/api/spotrate/getSpotrateList
请求参数
Query 参数
companyCode
string
必需
orgCode
string
组织编码
token
string
必需
Body 参数application/json
polCd
string
始发港五字码
<= 12 字符
podCd
string
目的港五字码
<= 12 字符
carrierCodeList
array[string]
船公司代码,支持多选
etd
string <date-time>
离港开始时间
weeksOut
string
周数
<= 1 字符
示例
{
"polCd": "CNXMN",
"podCd": "NLRTM",
"carrierCodeList": [
"COSCO",
"CMA"
],
"etd": "20250310",
"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": "20250310",
"weeksOut": "1"
}'
返回响应
🟢200成功
application/json
Body
code
integer
请求状态
codeDesc
string
请求状态代码
<= 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-time>
预计开航日期
eta
string <date-time>
预计到港日期
expireStart
string <date-time>
有效期起始
expireEnd
string <date-time>
有效期结束
basePriceList
array [object {4}]
基础运价列表
transitPort
array [object {9}]
中转数据
localChargeList
array [object {4}]
港杂费数据
示例
{
"code": 200,
"codeDesc": "success",
"message": "Operation succeeded",
"result": [
{
"polCd": "CNXMN",
"podCd": "NLRTM",
"carrierCd": "CMA",
"vessel": "APL CHANGI",
"voyage": "0FLRRW1MA",
"transClause": "CY-CY",
"etd": "2025-03-11",
"eta": "2025-04-19",
"expireStart": "2025-02-13",
"expireEnd": "2025-03-11",
"basePriceList": [
{
"ctnType": "20GP",
"basePrice": "2355.00",
"totalPrice": "2355.00",
"currency": "USD"
},
{
"ctnType": "40GP",
"basePrice": "4310.00",
"totalPrice": "4310.00",
"currency": "USD"
},
{
"ctnType": "40HQ",
"basePrice": "4310.00",
"totalPrice": "4310.00",
"currency": "USD"
}
],
"transitPort": [
{
"pod": "SINGAPORE,SG",
"podCode": "SGSIN",
"wharf": "CMA CGM PSA LION TERMINAL",
"vessel": "CMA CGM PALAIS ROYAL",
"voyage": "0FMJ4W1MA",
"lineCode": "FAL3",
"eta": "",
"etd": "",
"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": 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 MAUI",
"voyage": "003W",
"transClause": "CY-CY",
"etd": "2025-03-13",
"eta": "2025-04-15",
"expireStart": "2025-03-12",
"expireEnd": "2025-03-13",
"basePriceList": [
{
"ctnType": "20GP",
"basePrice": "2350.00",
"totalPrice": "2375.00",
"currency": "USD"
},
{
"ctnType": "40GP",
"basePrice": "4000.00",
"totalPrice": "4025.00",
"currency": "USD"
},
{
"ctnType": "40HQ",
"basePrice": "4000.00",
"totalPrice": "4025.00",
"currency": "USD"
}
],
"transitPort": [
{
"pod": "SINGAPORE",
"podCode": "SGSIN",
"wharf": "",
"vessel": "COSCO SHIPPING GALAXY",
"voyage": "025W",
"lineCode": "AEU3",
"eta": "2025-03-19",
"etd": "2025-03-18",
"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"
}
}
]
},
{
"polCd": "CNXMN",
"podCd": "NLRTM",
"carrierCd": "CMA",
"vessel": "OOCL SPAIN",
"voyage": "0VAKFW1MA",
"transClause": "CY-CY",
"etd": "2025-03-15",
"eta": "2025-04-24",
"expireStart": "2025-03-14",
"expireEnd": "2025-03-29",
"basePriceList": [
{
"ctnType": "20GP",
"basePrice": "1455.00",
"totalPrice": "1480.00",
"currency": "USD"
},
{
"ctnType": "40GP",
"basePrice": "2510.00",
"totalPrice": "2535.00",
"currency": "USD"
},
{
"ctnType": "40HQ",
"basePrice": "2510.00",
"totalPrice": "2535.00",
"currency": "USD"
}
],
"transitPort": [
{
"pod": "SINGAPORE",
"podCode": "SGSIN",
"wharf": "CMA CGM PSA LION TERMINAL",
"vessel": "CMA CGM PALAIS ROYAL",
"voyage": "",
"lineCode": "FAL3",
"eta": "2025-03-20",
"etd": "2025-03-25",
"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": 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"
}
}
]
}
]
}
修改于 2025-03-10 09:30:19