- 通用接口
- 海运数据接口
- 空运数据接口
- 陆运数据接口
- 关务数据接口
- 其他接口
船舶定位接口
GET
/api/shipAIS/getShipStatus
请求参数
Query 参数
companyCode
string
必需
orgCode
string
组织编码
token
string
必需
mmsi
string
船舶MMSI代码
示例值:
414700000
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.trackingeyes.com/api/shipAIS/getShipStatus?companyCode&orgCode&token&mmsi=414700000'
返回响应
🟢200成功
application/json
Body
code
integer
请求状态
codeDesc
string
请求状态代码
message
string
失败信息
result
object
结果
shipId
string
船舶ID
<= 12 字符
imo
string
船舶IMO代码
<= 7 字符
mmsi
string
船舶MMSI代码
<= 9 字符
vslName
string
船名
<= 20 字符
callSign
string
船舶呼号
<= 5 字符
shipType
integer
船舶类型
length
integer
船舶长度
width
integer
船舶宽度
draught
integer
船舶吃水
dest
string
下一港
<= 64 字符
destCode
string
下一港代码
<= 18 字符
nationality
string
船籍二字码
<= 2 字符
builtYear
string
建造年份
<= 4 字符
eta
string <date-time>
下一港预计到达时间
naviStatus
integer
航行状态
latitude
number <double>
纬度
longitude
number <double>
经度
hdg
string
航艏向
<= 12 字符
cog
string
航向
<= 12 字符
sog
string
航速
<= 12 字符
lastTime
string <date-time>
更新时间
示例
{
"code": 200,
"codeDesc": "success",
"message": "Operation succeeded",
"result": {
"shipId": "9794",
"imo": "9523005",
"mmsi": "414700000",
"vslName": "XIN QIN ZHOU",
"callSign": "BPKF",
"shipType": 70,
"length": 255,
"width": 37,
"draught": 116000,
"dest": "TIANJIN,CN",
"destCode": "",
"nationality": "CN",
"builtYear": "2012",
"eta": "2025/4/19 1:00:00",
"naviStatus": 0,
"latitude": 34.505,
"longitude": 123.38166666667,
"hdg": "",
"cog": "3590",
"sog": "150",
"lastTime": "2025/4/17 15:54:40"
}
}
修改于 2025-03-24 07:51:02