Search vessel registry
Changed onSearch the vessel database by any combination of type, name, dimensions, country, or year built, without needing a specific MMSI or IMO. Returns static specifications for each match.
Returns up to 500 results per page. When more results exist, meta.next carries a pagination token. Pass it back as the next parameter to fetch the following page, and stop when meta.next is absent.
Credit cost: 1 per vessel found, capped at 500 credits per request.
Request
- Base URLhttps://api.datalastic.com
- Auth
- API key in header x-api-key
- or API key in query parameter api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Partial or full vessel name.
Flag state ISO 3166-1 alpha-2 code.
Vessel type (e.g. Cargo, Tanker).
Vessel subtype (see ship-types reference in the docs).
0 for exact name match (default), 1 for approximate match.
Include or exclude vessels with a null type.
Minimum gross tonnage.
Maximum gross tonnage.
Minimum deadweight.
Maximum deadweight.
Minimum length in metres.
Maximum length in metres.
Minimum breadth in metres.
Maximum breadth in metres.
Earliest year built.
Latest year built.
Pagination token from the previous response's meta.next. Omit for the first page.
Response
Matching vessels.
Example response
{
"data": [
{
"name": "MAERSK CHENNAI",
"mmsi": "566093000",
"imo": "9525338",
"callsign": "9V9409",
"country_iso": "SG",
"country_name": "Singapore",
"type": "Cargo - Hazard A (Major)",
"type_specific": "Container Ship",
"gross_tonnage": 50869,
"deadweight": 61614,
"teu": 4500,
"length": 249.12,
"breadth": 37.4,
"year_built": 2011,
"home_port": "SINGAPORE"
}
],
"meta": {
"duration": 0.012,
"endpoint": "/api/v0/vessel",
"success": true,
"next": "00e32b7a-4067-d6b2-8d73-2bdda4fe72bb"
}
}Changes
- warning
deleted the
queryrequest parameterapi-key - warning
deleted the
queryrequest parameterpage - info
added the new optional
queryrequest parameter_empty_ - info
added the new optional
queryrequest parameterbreadth_max - info
added the new optional
queryrequest parameterbreadth_min - info
added the new optional
queryrequest parameterdeadweight_max - info
added the new optional
queryrequest parameterdeadweight_min - info
added the new optional
queryrequest parametergross_tonnage_max - info
added the new optional
queryrequest parametergross_tonnage_min - info
added the new optional
queryrequest parameterlength_max - info
added the new optional
queryrequest parameterlength_min - info
added the new optional
queryrequest parameternext - info
added the new optional
queryrequest parameteryear_built_max - info
added the new optional
queryrequest parameteryear_built_min - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
/to the response with the status
- warning
- info
added the new optional
queryrequest parameterfuzzy
- info