vessels
Retrieve a list of vessels from a name, a MMSI or an IMO.
This endpoint is used to retrieve a list of vessels that can match your input.
It will return a list of of none/one/several vessels depending of the result of the search.
If there is no vessel that match your input the vessels list will be empty.
get/vessels
Request
- Base URLhttps://api.sinay.ai/ports-vessels/api/v1
- AuthAPI key in header API_KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
vesselNameOrCodestring required
Please enter at least 3 letters of the vessel name, the MMSI or the IMO.
numberOfResultinteger
Number of results per request. Default is 10, minimum is 10, maximum is 100.
Response
Successful Response
Example response
{
"input": "cla",
"vesselsList": [
{
"name": "SANTA CLARA"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.