Skip to content

archive

船舶档案查询

按 MMSI、IMO、船名或呼号查询船舶档案信息。

调用方式:

typescript
const data = await client.ship.archive(params);

请求信息: GET /dataapi/vesselInfo/getShipVesselInfo,鉴权参数 k

请求参数 (ShipArchiveParams)

参数名类型必填描述补充说明
key`stringundefined`User authorization key. Optional when the client already has a default key.

约束: 至少传一个:mmsiimoshipnamecallsign

返回类型: ShipArchiveData

查看类型定义
typescript
export type ShipArchiveData = ShipRecord;