Download OpenAPI specification:Download
This API provides access to the data available in the Oceanbolt Data Platform. The API is accessible on the following base url: https://api.oceanbolt.com/v3.
This API is documented in OpenAPI format. The api allows for programmatic access to the different data resources that are also accessible in the Oceanbolt Data Platform. The resources are grouped into the following categories:
Detailed information on how to query and filter the data is available in the documentation on the individual endpoints.
This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with W3C spec. And that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site.
Authentication to the Oceanbolt Data Api is done through bearer token. To make calls to the API, send the API token in the Authorization HTTP header using the Bearer authentication scheme. You can create access tokens from your profile page on: Oceanbolt Data Platform. Access tokens should be provided as a bearer token, e.g. it should be in the form of a header with the following format:
Authorization: Bearer <TOKEN>
By default the Oceanbolt API will extract data for dry bulk vessels, but it also covers multiple other shipping segments, such as tankers, lng and lpg carriers.
In order to extract tanker data from the platform, you will need to specify the platform to connect to when making the request by adding the following header:
x-ob-platform
This expects to be a comma separated string of the platforms you would like to query data from, the options are:
E.g.
If you wanted just Tanker data:
x-ob-platform: tanker
If you would like data on Dry, Tanker and LNG then the header will look like the following:
x-ob-platform: dry,tanker,lng
GetCongestionVessels retrieves congestion data for a specified list of port_ids/segments
Congestion request object.
portId | Array of integers <int32> [ items <int32 > ] List of Oceanbolt port ids to filter on. This filters on the port where the vessel is currently congested. |
portUnlocode | Array of strings List of five letter UNLOCODEs for to filter on. |
countryCode | Array of strings The list of 2-letter ISO countries to get congestion data for. This filters on the country where the vessel is currently congested. Country code can be obtained either from the /entities/countries endpoint. |
regionId | Array of strings The list of regionIds to get congestion data for. This filters on the region where the vessel is currently congested. Region Id can be obtained either from the /entities/regions endpoint. |
operation | Array of strings List of port call operation types to filter on. Allowed values are: **["load","discharge";"yard","unknown"]. |
commodity | Array of strings List of commodities to get data for (get a list of all commodities from /entities/commodities). |
commodityGroup | Array of strings List of commodity groups to get data for (get a list of all commodity groups from /entities/commodities). |
ladenStatus | Array of strings Laden status to filter on. Allowed values are ['laden', 'ballast']. |
groupBy | string Determines the grouping of the timeseries data. This parameter only applies to the /portcalls/timeseries endpoint. |
frequency | string Not implemented. |
lastLoadCountryCode | Array of strings The list of 2-letter ISO countries to get congestion data for. This filters on the country where the vessel loaded its prior cargo. Country code can be obtained either from the /entities/countries endpoint. |
lastLoadPortId | Array of integers <int32> [ items <int32 > ] List of Oceanbolt port ids to filter on. This filters on the ports where the vessel loaded its prior cargo. |
exclude | integer <int32> Specifies whether to exclude congestion stays that have a longer duration than N (in days).
For example if a value of |
maxStayLength | integer <int32> Specifies whether to exclude congestion stays that have a longer duration than N (in days).
For example if a value of |
includeVesselsCurrentlyAtBerth | boolean Flag to indicate whether vessels that are currently at berth should be included in congestion statistics. |
includeVesselsPreviouslyBerthed | boolean Flag to indicate whether vessels that have already visited a berth (but are not currently in a berth) as part of the current Port Call should be included in congestion statistics. |
format | string The return format of the data ["csv","json", "xlsx"]. Default is "json". |
startDate | string The UTC start date of the date filter. |
endDate | string The UTC end date of the date filter. |
lastNDays | integer <int32> Short hand parameter for quickly getting data for the last N days. Cannot be supplied along either start_date or end_date. |
sort | string Specifies whether results should be sorted in ascending or descing order. Allowed values: ["asc","desc"]. |
displayDate | string Parameter used to display historical vessel lists for congested vessels. It is only applicable to the CongestionVessels method. |
object (filtersVesselFilter) |
{- "portId": [
- 0
], - "portUnlocode": [
- "string"
], - "countryCode": [
- "string"
], - "regionId": [
- "string"
], - "operation": [
- "string"
], - "commodity": [
- "string"
], - "commodityGroup": [
- "string"
], - "ladenStatus": [
- "string"
], - "groupBy": "string",
- "frequency": "string",
- "lastLoadCountryCode": [
- "string"
], - "lastLoadPortId": [
- 0
], - "exclude": 0,
- "maxStayLength": 0,
- "includeVesselsCurrentlyAtBerth": true,
- "includeVesselsPreviouslyBerthed": true,
- "format": "string",
- "startDate": "string",
- "endDate": "string",
- "lastNDays": 0,
- "sort": "string",
- "displayDate": "string",
- "vesselFilter": {
- "imo": [
- 0
], - "beam": [
- 0
], - "built": [
- 0
], - "dwt": [
- 0
], - "flagState": [
- "string"
], - "gasCapacityCbm": [
- 0
], - "geared": true,
- "grainCapacity": [
- 0
], - "gt": [
- 0
], - "iceClassed": true,
- "loa": [
- 0
], - "logFitted": true,
- "maxDraught": [
- 0
], - "mpv": true,
- "segment": [
- "string"
], - "selfUnloader": true,
- "subSegment": [
- "string"
], - "vesselType": [
- "string"
]
}
}
{- "numberOfCurrentVessels": 0,
- "currentTopPorts": [
- {
- "item": "string",
- "count": 0,
- "dwt": 0,
- "countPercent": 0,
- "dwtPercent": 0
}
], - "currentTopSubSegments": [
- {
- "item": "string",
- "count": 0,
- "dwt": 0,
- "countPercent": 0,
- "dwtPercent": 0
}
], - "currentTopCommodityGroups": [
- {
- "item": "string",
- "count": 0,
- "dwt": 0,
- "countPercent": 0,
- "dwtPercent": 0
}
], - "currentTopLoadCountries": [
- {
- "item": "string",
- "count": 0,
- "dwt": 0,
- "countPercent": 0,
- "dwtPercent": 0
}
], - "timeseriesDefault": {
- "group": "string",
- "rows": [
- {
- "date": "string",
- "vesselCount": 0,
- "vesselDwt": 0,
- "avgWaitingDays": 0,
- "medianWaitingDays": 0
}
]
}, - "currentVessels": [
- {
- "imo": 0,
- "vesselName": "string",
- "segment": "string",
- "subSegment": "string",
- "dwt": 0,
- "currentPortId": "string",
- "currentPortName": "string",
- "currentCountry": "string",
- "currentCountryCode": "string",
- "arrivedAt": "string",
- "waitingTimeDays": 0,
- "lastLoadCountry": "string",
- "lastLoadCountryCode": "string",
- "lastLoadPortName": "string",
- "lastLoadBerthName": "string",
- "lastPortDepartedAt": "string",
- "lastLoadPortId": 0,
- "commodityGroup": "string",
- "commodity": "string",
- "volume": 0,
- "lat": 0,
- "lng": 0,
- "course": 0,
- "speed": 0,
- "ladenStatus": "string"
}
], - "timeseries": [
- {
- "group": "string",
- "rows": [
- {
- "date": "string",
- "vesselCount": 0,
- "vesselDwt": 0,
- "avgWaitingDays": 0,
- "medianWaitingDays": 0
}
]
}
], - "csv": "string",
- "xlsx": "string"
}
GetCongestionTimeseries retrieves congestion data for a specified list of port_ids/segments
Congestion request object.
portId | Array of integers <int32> [ items <int32 > ] List of Oceanbolt port ids to filter on. This filters on the port where the vessel is currently congested. |
portUnlocode | Array of strings List of five letter UNLOCODEs for to filter on. |
countryCode | Array of strings The list of 2-letter ISO countries to get congestion data for. This filters on the country where the vessel is currently congested. Country code can be obtained either from the /entities/countries endpoint. |
regionId | Array of strings The list of regionIds to get congestion data for. This filters on the region where the vessel is currently congested. Region Id can be obtained either from the /entities/regions endpoint. |
operation | Array of strings List of port call operation types to filter on. Allowed values are: **["load","discharge";"yard","unknown"]. |
commodity | Array of strings List of commodities to get data for (get a list of all commodities from /entities/commodities). |
commodityGroup | Array of strings List of commodity groups to get data for (get a list of all commodity groups from /entities/commodities). |
ladenStatus | Array of strings Laden status to filter on. Allowed values are ['laden', 'ballast']. |
groupBy | string Determines the grouping of the timeseries data. This parameter only applies to the /portcalls/timeseries endpoint. |
frequency | string Not implemented. |
lastLoadCountryCode | Array of strings The list of 2-letter ISO countries to get congestion data for. This filters on the country where the vessel loaded its prior cargo. Country code can be obtained either from the /entities/countries endpoint. |
lastLoadPortId | Array of integers <int32> [ items <int32 > ] List of Oceanbolt port ids to filter on. This filters on the ports where the vessel loaded its prior cargo. |
exclude | integer <int32> Specifies whether to exclude congestion stays that have a longer duration than N (in days).
For example if a value of |
maxStayLength | integer <int32> Specifies whether to exclude congestion stays that have a longer duration than N (in days).
For example if a value of |
includeVesselsCurrentlyAtBerth | boolean Flag to indicate whether vessels that are currently at berth should be included in congestion statistics. |
includeVesselsPreviouslyBerthed | boolean Flag to indicate whether vessels that have already visited a berth (but are not currently in a berth) as part of the current Port Call should be included in congestion statistics. |
format | string The return format of the data ["csv","json", "xlsx"]. Default is "json". |
startDate | string The UTC start date of the date filter. |
endDate | string The UTC end date of the date filter. |
lastNDays | integer <int32> Short hand parameter for quickly getting data for the last N days. Cannot be supplied along either start_date or end_date. |
sort | string Specifies whether results should be sorted in ascending or descing order. Allowed values: ["asc","desc"]. |
displayDate | string Parameter used to display historical vessel lists for congested vessels. It is only applicable to the CongestionVessels method. |
object (filtersVesselFilter) |
{- "portId": [
- 0
], - "portUnlocode": [
- "string"
], - "countryCode": [
- "string"
], - "regionId": [
- "string"
], - "operation": [
- "string"
], - "commodity": [
- "string"
], - "commodityGroup": [
- "string"
], - "ladenStatus": [
- "string"
], - "groupBy": "string",
- "frequency": "string",
- "lastLoadCountryCode": [
- "string"
], - "lastLoadPortId": [
- 0
], - "exclude": 0,
- "maxStayLength": 0,
- "includeVesselsCurrentlyAtBerth": true,
- "includeVesselsPreviouslyBerthed": true,
- "format": "string",
- "startDate": "string",
- "endDate": "string",
- "lastNDays": 0,
- "sort": "string",
- "displayDate": "string",
- "vesselFilter": {
- "imo": [
- 0
], - "beam": [
- 0
], - "built": [
- 0
], - "dwt": [
- 0
], - "flagState": [
- "string"
], - "gasCapacityCbm": [
- 0
], - "geared": true,
- "grainCapacity": [
- 0
], - "gt": [
- 0
], - "iceClassed": true,
- "loa": [
- 0
], - "logFitted": true,
- "maxDraught": [
- 0
], - "mpv": true,
- "segment": [
- "string"
], - "selfUnloader": true,
- "subSegment": [
- "string"
], - "vesselType": [
- "string"
]
}
}
{- "numberOfCurrentVessels": 0,
- "currentTopPorts": [
- {
- "item": "string",
- "count": 0,
- "dwt": 0,
- "countPercent": 0,
- "dwtPercent": 0
}
], - "currentTopSubSegments": [
- {
- "item": "string",
- "count": 0,
- "dwt": 0,
- "countPercent": 0,
- "dwtPercent": 0
}
], - "currentTopCommodityGroups": [
- {
- "item": "string",
- "count": 0,
- "dwt": 0,
- "countPercent": 0,
- "dwtPercent": 0
}
], - "currentTopLoadCountries": [
- {
- "item": "string",
- "count": 0,
- "dwt": 0,
- "countPercent": 0,
- "dwtPercent": 0
}
], - "timeseriesDefault": {
- "group": "string",
- "rows": [
- {
- "date": "string",
- "vesselCount": 0,
- "vesselDwt": 0,
- "avgWaitingDays": 0,
- "medianWaitingDays": 0
}
]
}, - "currentVessels": [
- {
- "imo": 0,
- "vesselName": "string",
- "segment": "string",
- "subSegment": "string",
- "dwt": 0,
- "currentPortId": "string",
- "currentPortName": "string",
- "currentCountry": "string",
- "currentCountryCode": "string",
- "arrivedAt": "string",
- "waitingTimeDays": 0,
- "lastLoadCountry": "string",
- "lastLoadCountryCode": "string",
- "lastLoadPortName": "string",
- "lastLoadBerthName": "string",
- "lastPortDepartedAt": "string",
- "lastLoadPortId": 0,
- "commodityGroup": "string",
- "commodity": "string",
- "volume": 0,
- "lat": 0,
- "lng": 0,
- "course": 0,
- "speed": 0,
- "ladenStatus": "string"
}
], - "timeseries": [
- {
- "group": "string",
- "rows": [
- {
- "date": "string",
- "vesselCount": 0,
- "vesselDwt": 0,
- "avgWaitingDays": 0,
- "medianWaitingDays": 0
}
]
}
], - "csv": "string",
- "xlsx": "string"
}
GetCongestion retrieves congestion data for a specified list of port_ids/segments
Congestion request object.
portId | Array of integers <int32> [ items <int32 > ] List of Oceanbolt port ids to filter on. This filters on the port where the vessel is currently congested. |
portUnlocode | Array of strings List of five letter UNLOCODEs for to filter on. |
countryCode | Array of strings The list of 2-letter ISO countries to get congestion data for. This filters on the country where the vessel is currently congested. Country code can be obtained either from the /entities/countries endpoint. |
regionId | Array of strings The list of regionIds to get congestion data for. This filters on the region where the vessel is currently congested. Region Id can be obtained either from the /entities/regions endpoint. |
operation | Array of strings List of port call operation types to filter on. Allowed values are: **["load","discharge";"yard","unknown"]. |
commodity | Array of strings List of commodities to get data for (get a list of all commodities from /entities/commodities). |
commodityGroup | Array of strings List of commodity groups to get data for (get a list of all commodity groups from /entities/commodities). |
ladenStatus | Array of strings Laden status to filter on. Allowed values are ['laden', 'ballast']. |
groupBy | string Determines the grouping of the timeseries data. This parameter only applies to the /portcalls/timeseries endpoint. |
frequency | string Not implemented. |
lastLoadCountryCode | Array of strings The list of 2-letter ISO countries to get congestion data for. This filters on the country where the vessel loaded its prior cargo. Country code can be obtained either from the /entities/countries endpoint. |
lastLoadPortId | Array of integers <int32> [ items <int32 > ] List of Oceanbolt port ids to filter on. This filters on the ports where the vessel loaded its prior cargo. |
exclude | integer <int32> Specifies whether to exclude congestion stays that have a longer duration than N (in days).
For example if a value of |
maxStayLength | integer <int32> Specifies whether to exclude congestion stays that have a longer duration than N (in days).
For example if a value of |
includeVesselsCurrentlyAtBerth | boolean Flag to indicate whether vessels that are currently at berth should be included in congestion statistics. |
includeVesselsPreviouslyBerthed | boolean Flag to indicate whether vessels that have already visited a berth (but are not currently in a berth) as part of the current Port Call should be included in congestion statistics. |
format | string The return format of the data ["csv","json", "xlsx"]. Default is "json". |
startDate | string The UTC start date of the date filter. |
endDate | string The UTC end date of the date filter. |
lastNDays | integer <int32> Short hand parameter for quickly getting data for the last N days. Cannot be supplied along either start_date or end_date. |
sort | string Specifies whether results should be sorted in ascending or descing order. Allowed values: ["asc","desc"]. |
displayDate | string Parameter used to display historical vessel lists for congested vessels. It is only applicable to the CongestionVessels method. |
object (filtersVesselFilter) |
{- "portId": [
- 0
], - "portUnlocode": [
- "string"
], - "countryCode": [
- "string"
], - "regionId": [
- "string"
], - "operation": [
- "string"
], - "commodity": [
- "string"
], - "commodityGroup": [
- "string"
], - "ladenStatus": [
- "string"
], - "groupBy": "string",
- "frequency": "string",
- "lastLoadCountryCode": [
- "string"
], - "lastLoadPortId": [
- 0
], - "exclude": 0,
- "maxStayLength": 0,
- "includeVesselsCurrentlyAtBerth": true,
- "includeVesselsPreviouslyBerthed": true,
- "format": "string",
- "startDate": "string",
- "endDate": "string",
- "lastNDays": 0,
- "sort": "string",
- "displayDate": "string",
- "vesselFilter": {
- "imo": [
- 0
], - "beam": [
- 0
], - "built": [
- 0
], - "dwt": [
- 0
], - "flagState": [
- "string"
], - "gasCapacityCbm": [
- 0
], - "geared": true,
- "grainCapacity": [
- 0
], - "gt": [
- 0
], - "iceClassed": true,
- "loa": [
- 0
], - "logFitted": true,
- "maxDraught": [
- 0
], - "mpv": true,
- "segment": [
- "string"
], - "selfUnloader": true,
- "subSegment": [
- "string"
], - "vesselType": [
- "string"
]
}
}
{- "numberOfCurrentVessels": 0,
- "currentTopPorts": [
- {
- "item": "string",
- "count": 0,
- "dwt": 0,
- "countPercent": 0,
- "dwtPercent": 0
}
], - "currentTopSubSegments": [
- {
- "item": "string",
- "count": 0,
- "dwt": 0,
- "countPercent": 0,
- "dwtPercent": 0
}
], - "currentTopCommodityGroups": [
- {
- "item": "string",
- "count": 0,
- "dwt": 0,
- "countPercent": 0,
- "dwtPercent": 0
}
], - "currentTopLoadCountries": [
- {
- "item": "string",
- "count": 0,
- "dwt": 0,
- "countPercent": 0,
- "dwtPercent": 0
}
], - "timeseriesDefault": {
- "group": "string",
- "rows": [
- {
- "date": "string",
- "vesselCount": 0,
- "vesselDwt": 0,
- "avgWaitingDays": 0,
- "medianWaitingDays": 0
}
]
}, - "currentVessels": [
- {
- "imo": 0,
- "vesselName": "string",
- "segment": "string",
- "subSegment": "string",
- "dwt": 0,
- "currentPortId": "string",
- "currentPortName": "string",
- "currentCountry": "string",
- "currentCountryCode": "string",
- "arrivedAt": "string",
- "waitingTimeDays": 0,
- "lastLoadCountry": "string",
- "lastLoadCountryCode": "string",
- "lastLoadPortName": "string",
- "lastLoadBerthName": "string",
- "lastPortDepartedAt": "string",
- "lastLoadPortId": 0,
- "commodityGroup": "string",
- "commodity": "string",
- "volume": 0,
- "lat": 0,
- "lng": 0,
- "course": 0,
- "speed": 0,
- "ladenStatus": "string"
}
], - "timeseries": [
- {
- "group": "string",
- "rows": [
- {
- "date": "string",
- "vesselCount": 0,
- "vesselDwt": 0,
- "avgWaitingDays": 0,
- "medianWaitingDays": 0
}
]
}
], - "csv": "string",
- "xlsx": "string"
}
GetPolygonCounts returns vessels counts (points) in polygon the given filter parameters
geojson | string (GeoJSON formatted string with polygon data) |
ladenStatus | Array of strings (Laden status to filter on. Allowed values are ['laden', 'ballast']) |
segment | Array of strings (List of vessel segments to filter on.
Allowed values can be obtained from the **/entities/segments** endpoint.
Cannot be supplied alongside subSegment) |
subSegment | Array of strings (List of vessel sub segments to filter on.
Allowed values can be obtained from the **/entities/segments** endpoint.
Cannot be supplied alongside segment) |
startDate | string (The UTC start date of the date filter) |
endDate | string (The UTC end date of the date filter) |
{- "geojson": "string",
- "ladenStatus": [
- "string"
], - "segment": [
- "string"
], - "subSegment": [
- "string"
], - "startDate": "string",
- "endDate": "string"
}
{- "timeseries": [
- {
- "group": "string",
- "rows": [
- {
- "date": "string",
- "value": 0
}
]
}
]
}
Array of objects (Array of distance requests) |
{- "requests": [
- {
- "locations": [
- {
- "imo": 0,
- "unlocode": "string",
- "point": {
- "lon": 0,
- "lat": 0
}, - "portId": 0
}
], - "speed": 0,
- "transform": "string",
- "longitudeAdjustment": "string",
- "blockSuez": true,
- "blockPanama": true
}
]
}
{- "responses": [
- {
- "totalDistance": 0,
- "totalDurationHours": 0,
- "totalShortestPath": [
- {
- "lon": 0,
- "lat": 0
}
], - "individualLegs": [
- {
- "distance": 0,
- "durationHours": 0,
- "shortestPath": [
- {
- "lon": 0,
- "lat": 0
}
], - "startingPointModified": true
}
], - "status": "ERROR"
}
]
}
Calculates distances for the shortest route between a two or more locations. Distances are returned both for the voyage as a whole, and individually for each leg of the voyage. Endpoint also returns the shortest route as a series of points. If speed is specified, expected duration of the voyage will also be returned.
Array of objects (distancecalculatorv3Location) List of locations to calculate the shortest route between. If more than 2 locations are specified, then routing will be calculated through all locations, using intermediary locations as waypoints. The routing order of the locations will be based on the order of the locations in the request body. | |
speed | number <double> An optional speed parameter. If this is supplied, then the API will return an estimate of the total duration of the voyage, based on the supplied speed. Speed parameter should be supplied in knots. |
transform | string Specifies a transformation to be applied to the returned shortest path. Allowed values are [great_circle]. |
longitudeAdjustment | string Specifies whether the resulting points/lines crossing the antimeridian should be adjusted to form a continuous line for plotting. Allowed values are [antimeridian,none]. Default value is 'antimeridian. |
blockSuez | boolean (Flag indicating whether to block navigation through the Suez Canal) |
blockPanama | boolean (Flag indicating whether to Block navigation through the Panama Canal) |
{- "locations": [
- {
- "imo": 0,
- "unlocode": "string",
- "point": {
- "lon": 0,
- "lat": 0
}, - "portId": 0
}
], - "speed": 0,
- "transform": "string",
- "longitudeAdjustment": "string",
- "blockSuez": true,
- "blockPanama": true
}
{- "totalDistance": 0,
- "totalDurationHours": 0,
- "totalShortestPath": [
- {
- "lon": 0,
- "lat": 0
}
], - "individualLegs": [
- {
- "distance": 0,
- "durationHours": 0,
- "shortestPath": [
- {
- "lon": 0,
- "lat": 0
}
], - "startingPointModified": true
}
], - "status": "ERROR"
}
GetDryDockStays retrives individual historical dry dock stays
object (filtersVesselFilter) | |
portId | Array of integers <int32> [ items <int32 > ] This filters on the port where the vessel is currently in dry dock. |
shipyardId | Array of integers <int32> [ items <int32 > ] List of Oceanbolt shipyard ids to filter on. |
unlocode | Array of strings UNLOCODE of the port. |
startDate | string (The UTC start date of the date filter) |
endDate | string (The UTC end date of the date filter) |
latestOnly | boolean Flat to indiciate whether only the latest port call should be included on an IMO basis. If this is enabled, only the latest port call for each imo passing the filter will be returned. |
format | string The return format of the data ["csv","json", "xlsx"]. Default is "json". |
sort | string Specifies whether results should be sorted in ascending or descing order. Allowed values: ["asc","desc"]. |
groupBy | string Determines the grouping of the timeseries data. This parameter only applies to the /drydock/timeseries endpoint. |
{- "vesselFilter": {
- "imo": [
- 0
], - "beam": [
- 0
], - "built": [
- 0
], - "dwt": [
- 0
], - "flagState": [
- "string"
], - "gasCapacityCbm": [
- 0
], - "geared": true,
- "grainCapacity": [
- 0
], - "gt": [
- 0
], - "iceClassed": true,
- "loa": [
- 0
], - "logFitted": true,
- "maxDraught": [
- 0
], - "mpv": true,
- "segment": [
- "string"
], - "selfUnloader": true,
- "subSegment": [
- "string"
], - "vesselType": [
- "string"
]
}, - "portId": [
- 0
], - "shipyardId": [
- 0
], - "unlocode": [
- "string"
], - "startDate": "string",
- "endDate": "string",
- "latestOnly": true,
- "format": "string",
- "sort": "string",
- "groupBy": "string"
}
{- "data": [
- {
- "shipyardStayId": "string",
- "imo": 0,
- "mmsi": 0,
- "vesselName": "string",
- "segment": "string",
- "subsegment": "string",
- "dwt": 0,
- "portId": 0,
- "portName": "string",
- "unlocode": "string",
- "countryCode": "string",
- "region": "string",
- "shipyardName": "string",
- "shipyardId": 0,
- "arrivedAt": "string",
- "departedAt": "string",
- "durationDays": 0
}
], - "csv": "string",
- "xlsx": "string",
- "previousToken": "string",
- "nextToken": "string",
- "maxResults": 0
}
GetDryDockVessels retrieves list of currently active dry dock stays for a specified list of port_ids/segments
DryDock request object.
portId | Array of integers <int32> [ items <int32 > ] List of Oceanbolt port ids to filter on. This filters on the port where the vessel is currently in dry dock. |
portUnlocode | Array of strings List of five letter UNLOCODEs for to filter on. |
shipyardId | Array of integers <int32> [ items <int32 > ] List of Oceanbolt shipyard ids to filter on. This filters on the shipyard where the vessel is currently in dry dock. |
countryCode | Array of strings The list of 2-letter ISO countries to get congestion data for. This filters on the country where the vessel is currently congested. Country code can be obtained either from the /entities/countries endpoint. |
regionId | Array of strings The list of region IDs to get dry dock data for. Region ID can be obtained either from the /entities/regions endpoint. |
segment | Array of strings (Cannot be supplied alongside subSegment) |
subSegment | Array of strings (List of vessel sub segments to filter on.
Allowed values can be obtained from the **/entities/segments** endpoint.
Cannot be supplied alongside segment) |
groupBy | string Determines the grouping of the timeseries data. This parameter only applies to the /drydock/timeseries endpoint. |
exclude | integer <int32> 60 days will be excluded from the returned data. |
format | string The return format of the data ["csv","json", "xlsx"]. Default is "json". |
startDate | string (The UTC start date of the date filter) |
endDate | string (The UTC end date of the date filter) |
lastNDays | integer <int32> Short hand parameter for quickly getting data for the last N days. Cannot be supplied along either start_date or end_date. |
sort | string Specifies whether results should be sorted in ascending or descing order. Allowed values: ["asc","desc"]. |
displayDate | string Parameter used to display historical vessel lists for congested vessels. It is only applicable to the DryDockVessels method. |
{- "portId": [
- 0
], - "portUnlocode": [
- "string"
], - "shipyardId": [
- 0
], - "countryCode": [
- "string"
], - "regionId": [
- "string"
], - "segment": [
- "string"
], - "subSegment": [
- "string"
], - "groupBy": "string",
- "exclude": 0,
- "format": "string",
- "startDate": "string",
- "endDate": "string",
- "lastNDays": 0,
- "sort": "string",
- "displayDate": "string"
}
{- "numberOfCurrentVessels": 0,
- "currentTopPorts": [
- {
- "item": "string",
- "count": 0,
- "dwt": 0,
- "countPercent": 0,
- "dwtPercent": 0
}
], - "currentTopSubSegments": [
- {
- "item": "string",
- "count": 0,
- "dwt": 0,
- "countPercent": 0,
- "dwtPercent": 0
}
], - "currentTopCountries": [
- {
- "item": "string",
- "count": 0,
- "dwt": 0,
- "countPercent": 0,
- "dwtPercent": 0
}
], - "currentTopShipyards": [
- {
- "item": "string",
- "count": 0,
- "dwt": 0,
- "countPercent": 0,
- "dwtPercent": 0
}
], - "timeseriesDefault": {
- "group": "string",
- "rows": [
- {
- "date": "string",
- "vesselCount": 0,
- "vesselDwt": 0,
- "avgWaitingDays": 0,
- "medianWaitingDays": 0
}
]
}, - "currentVessels": [
- {
- "imo": 0,
- "vesselName": "string",
- "segment": "string",
- "subSegment": "string",
- "dwt": 0,
- "portId": 0,
- "portName": "string",
- "shipyardId": 0,
- "shipyardName": "string",
- "countryName": "string",
- "countryCode": "string",
- "currentCountryCode": "string",
- "arrivedAt": "string",
- "waitingTimeDays": 0,
- "lat": 0,
- "lng": 0,
- "course": 0,
- "speed": 0
}
], - "timeseries": [
- {
- "group": "string",
- "rows": [
- {
- "date": "string",
- "vesselCount": 0,
- "vesselDwt": 0,
- "avgWaitingDays": 0,
- "medianWaitingDays": 0
}
]
}
], - "csv": "string",
- "xlsx": "string"
}
GetDryDockTimeseries retrieves dry dock timeseries data for a specified list of port_ids/segments
DryDock request object.
portId | Array of integers <int32> [ items <int32 > ] List of Oceanbolt port ids to filter on. This filters on the port where the vessel is currently in dry dock. |
portUnlocode | Array of strings List of five letter UNLOCODEs for to filter on. |
shipyardId | Array of integers <int32> [ items <int32 > ] List of Oceanbolt shipyard ids to filter on. This filters on the shipyard where the vessel is currently in dry dock. |
countryCode | Array of strings The list of 2-letter ISO countries to get congestion data for. This filters on the country where the vessel is currently congested. Country code can be obtained either from the /entities/countries endpoint. |
regionId | Array of strings The list of region IDs to get dry dock data for. Region ID can be obtained either from the /entities/regions endpoint. |
segment | Array of strings (Cannot be supplied alongside subSegment) |
subSegment | Array of strings (List of vessel sub segments to filter on.
Allowed values can be obtained from the **/entities/segments** endpoint.
Cannot be supplied alongside segment) |
groupBy | string Determines the grouping of the timeseries data. This parameter only applies to the /drydock/timeseries endpoint. |
exclude | integer <int32> 60 days will be excluded from the returned data. |
format | string The return format of the data ["csv","json", "xlsx"]. Default is "json". |
startDate | string (The UTC start date of the date filter) |
endDate | string (The UTC end date of the date filter) |
lastNDays | integer <int32> Short hand parameter for quickly getting data for the last N days. Cannot be supplied along either start_date or end_date. |
sort | string Specifies whether results should be sorted in ascending or descing order. Allowed values: ["asc","desc"]. |
displayDate | string Parameter used to display historical vessel lists for congested vessels. It is only applicable to the DryDockVessels method. |
{- "portId": [
- 0
], - "portUnlocode": [
- "string"
], - "shipyardId": [
- 0
], - "countryCode": [
- "string"
], - "regionId": [
- "string"
], - "segment": [
- "string"
], - "subSegment": [
- "string"
], - "groupBy": "string",
- "exclude": 0,
- "format": "string",
- "startDate": "string",
- "endDate": "string",
- "lastNDays": 0,
- "sort": "string",
- "displayDate": "string"
}
{- "numberOfCurrentVessels": 0,
- "currentTopPorts": [
- {
- "item": "string",
- "count": 0,
- "dwt": 0,
- "countPercent": 0,
- "dwtPercent": 0
}
], - "currentTopSubSegments": [
- {
- "item": "string",
- "count": 0,
- "dwt": 0,
- "countPercent": 0,
- "dwtPercent": 0
}
], - "currentTopCountries": [
- {
- "item": "string",
- "count": 0,
- "dwt": 0,
- "countPercent": 0,
- "dwtPercent": 0
}
], - "currentTopShipyards": [
- {
- "item": "string",
- "count": 0,
- "dwt": 0,
- "countPercent": 0,
- "dwtPercent": 0
}
], - "timeseriesDefault": {
- "group": "string",
- "rows": [
- {
- "date": "string",
- "vesselCount": 0,
- "vesselDwt": 0,
- "avgWaitingDays": 0,
- "medianWaitingDays": 0
}
]
}, - "currentVessels": [
- {
- "imo": 0,
- "vesselName": "string",
- "segment": "string",
- "subSegment": "string",
- "dwt": 0,
- "portId": 0,
- "portName": "string",
- "shipyardId": 0,
- "shipyardName": "string",
- "countryName": "string",
- "countryCode": "string",
- "currentCountryCode": "string",
- "arrivedAt": "string",
- "waitingTimeDays": 0,
- "lat": 0,
- "lng": 0,
- "course": 0,
- "speed": 0
}
], - "timeseries": [
- {
- "group": "string",
- "rows": [
- {
- "date": "string",
- "vesselCount": 0,
- "vesselDwt": 0,
- "avgWaitingDays": 0,
- "medianWaitingDays": 0
}
]
}
], - "csv": "string",
- "xlsx": "string"
}
GetDryDockWeb retrieves current and live dry dock data for a specified list of port_ids/segments
DryDock request object.
portId | Array of integers <int32> [ items <int32 > ] List of Oceanbolt port ids to filter on. This filters on the port where the vessel is currently in dry dock. |
portUnlocode | Array of strings List of five letter UNLOCODEs for to filter on. |
shipyardId | Array of integers <int32> [ items <int32 > ] List of Oceanbolt shipyard ids to filter on. This filters on the shipyard where the vessel is currently in dry dock. |
countryCode | Array of strings The list of 2-letter ISO countries to get congestion data for. This filters on the country where the vessel is currently congested. Country code can be obtained either from the /entities/countries endpoint. |
regionId | Array of strings The list of region IDs to get dry dock data for. Region ID can be obtained either from the /entities/regions endpoint. |
segment | Array of strings (Cannot be supplied alongside subSegment) |
subSegment | Array of strings (List of vessel sub segments to filter on.
Allowed values can be obtained from the **/entities/segments** endpoint.
Cannot be supplied alongside segment) |
groupBy | string Determines the grouping of the timeseries data. This parameter only applies to the /drydock/timeseries endpoint. |
exclude | integer <int32> 60 days will be excluded from the returned data. |
format | string The return format of the data ["csv","json", "xlsx"]. Default is "json". |
startDate | string (The UTC start date of the date filter) |
endDate | string (The UTC end date of the date filter) |
lastNDays | integer <int32> Short hand parameter for quickly getting data for the last N days. Cannot be supplied along either start_date or end_date. |
sort | string Specifies whether results should be sorted in ascending or descing order. Allowed values: ["asc","desc"]. |
displayDate | string Parameter used to display historical vessel lists for congested vessels. It is only applicable to the DryDockVessels method. |
{- "portId": [
- 0
], - "portUnlocode": [
- "string"
], - "shipyardId": [
- 0
], - "countryCode": [
- "string"
], - "regionId": [
- "string"
], - "segment": [
- "string"
], - "subSegment": [
- "string"
], - "groupBy": "string",
- "exclude": 0,
- "format": "string",
- "startDate": "string",
- "endDate": "string",
- "lastNDays": 0,
- "sort": "string",
- "displayDate": "string"
}
{- "numberOfCurrentVessels": 0,
- "currentTopPorts": [
- {
- "item": "string",
- "count": 0,
- "dwt": 0,
- "countPercent": 0,
- "dwtPercent": 0
}
], - "currentTopSubSegments": [
- {
- "item": "string",
- "count": 0,
- "dwt": 0,
- "countPercent": 0,
- "dwtPercent": 0
}
], - "currentTopCountries": [
- {
- "item": "string",
- "count": 0,
- "dwt": 0,
- "countPercent": 0,
- "dwtPercent": 0
}
], - "currentTopShipyards": [
- {
- "item": "string",
- "count": 0,
- "dwt": 0,
- "countPercent": 0,
- "dwtPercent": 0
}
], - "timeseriesDefault": {
- "group": "string",
- "rows": [
- {
- "date": "string",
- "vesselCount": 0,
- "vesselDwt": 0,
- "avgWaitingDays": 0,
- "medianWaitingDays": 0
}
]
}, - "currentVessels": [
- {
- "imo": 0,
- "vesselName": "string",
- "segment": "string",
- "subSegment": "string",
- "dwt": 0,
- "portId": 0,
- "portName": "string",
- "shipyardId": 0,
- "shipyardName": "string",
- "countryName": "string",
- "countryCode": "string",
- "currentCountryCode": "string",
- "arrivedAt": "string",
- "waitingTimeDays": 0,
- "lat": 0,
- "lng": 0,
- "course": 0,
- "speed": 0
}
], - "timeseries": [
- {
- "group": "string",
- "rows": [
- {
- "date": "string",
- "vesselCount": 0,
- "vesselDwt": 0,
- "avgWaitingDays": 0,
- "medianWaitingDays": 0
}
]
}
], - "csv": "string",
- "xlsx": "string"
}
{- "ports": [
- {
- "portId": 0,
- "portName": "string",
- "countryCode": "string",
- "region": "string",
- "unlocode": "string",
- "unlocodeAlias": [
- "string"
], - "portNameAlias": [
- "string"
], - "longitude": 0,
- "latitude": 0
}
]
}
{- "segments": [
- {
- "segment": "string",
- "segmentKey": "string",
- "subSegment": "string",
- "segmentInt": 0,
- "subSegmentInt": 0,
- "subSegmentKey": "string",
- "cutoffLowDwt": 0,
- "cutoffHighDwt": 0,
- "cutoffLowCbm": 0,
- "cutoffHighCbm": 0,
- "platform": "string",
- "highlevelType": "string"
}
]
}
{- "vessels": [
- {
- "imo": 0,
- "highlevelType": "string",
- "segment": "string",
- "subSegment": "string",
- "dwt": 0,
- "maxDraught": 0,
- "name": "string",
- "exName": "string",
- "built": 0,
- "type": "string",
- "mpv": true,
- "loa": 0,
- "beam": 0,
- "holdsTotal": 0
}
]
}
{- "zones": [
- {
- "zoneId": 0,
- "zoneName": "string",
- "zoneBasin": "string",
- "geomPolygonWkt": "string",
- "geomPolygonGeojson": "string",
- "geomCoordinateWkt": "string",
- "geomCoordinateGeojson": "string"
}
]
}
Lists Fleets for the current user (or fleets that are shared with the current user)
{- "fleets": [
- {
- "fleetId": "string",
- "fleetName": "string",
- "platform": "string",
- "ownerUserId": "string",
- "organization": "string",
- "vesselsInFleet": 0,
- "vessels": [
- {
- "imo": 0,
- "dwt": 0,
- "built": 0,
- "vesselName": "string",
- "segment": "string",
- "subSegment": "string",
- "flagCode": "string",
- "exName": "string",
- "type": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "status": {
- "ladenStatus": "string",
- "cargoStatus": "string",
- "portCallStatus": "string",
- "relatedPortName": "string",
- "draughtPercentage": 0,
- "destination": "string",
- "destinationPortName": "string",
- "lastPositionReceivedAt": "string",
- "lastStaticReceivedAt": "string",
- "currentSpeed": 0,
- "currentNavigationalStatus": 0,
- "currentCommodityGroup": "string"
}, - "stoppageEvents": [
- {
- "startedAt": "string",
- "endedAt": "string",
- "portId": 0,
- "portName": "string",
- "zoneId": 0,
- "zoneName": "string",
- "minSpeedObserved": 0,
- "durationHours": 0,
- "lat": 0,
- "lon": 0,
- "classification": "string"
}
]
}
], - "sharedWithOrg": true
}
], - "organizationFleets": [
- {
- "fleetId": "string",
- "fleetName": "string",
- "platform": "string",
- "ownerUserId": "string",
- "organization": "string",
- "vesselsInFleet": 0,
- "vessels": [
- {
- "imo": 0,
- "dwt": 0,
- "built": 0,
- "vesselName": "string",
- "segment": "string",
- "subSegment": "string",
- "flagCode": "string",
- "exName": "string",
- "type": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "status": {
- "ladenStatus": "string",
- "cargoStatus": "string",
- "portCallStatus": "string",
- "relatedPortName": "string",
- "draughtPercentage": 0,
- "destination": "string",
- "destinationPortName": "string",
- "lastPositionReceivedAt": "string",
- "lastStaticReceivedAt": "string",
- "currentSpeed": 0,
- "currentNavigationalStatus": 0,
- "currentCommodityGroup": "string"
}, - "stoppageEvents": [
- {
- "startedAt": "string",
- "endedAt": "string",
- "portId": 0,
- "portName": "string",
- "zoneId": 0,
- "zoneName": "string",
- "minSpeedObserved": 0,
- "durationHours": 0,
- "lat": 0,
- "lon": 0,
- "classification": "string"
}
]
}
], - "sharedWithOrg": true
}
], - "predefinedFleets": [
- {
- "fleetId": "string",
- "fleetName": "string",
- "platform": "string",
- "ownerUserId": "string",
- "organization": "string",
- "vesselsInFleet": 0,
- "vessels": [
- {
- "imo": 0,
- "dwt": 0,
- "built": 0,
- "vesselName": "string",
- "segment": "string",
- "subSegment": "string",
- "flagCode": "string",
- "exName": "string",
- "type": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "status": {
- "ladenStatus": "string",
- "cargoStatus": "string",
- "portCallStatus": "string",
- "relatedPortName": "string",
- "draughtPercentage": 0,
- "destination": "string",
- "destinationPortName": "string",
- "lastPositionReceivedAt": "string",
- "lastStaticReceivedAt": "string",
- "currentSpeed": 0,
- "currentNavigationalStatus": 0,
- "currentCommodityGroup": "string"
}, - "stoppageEvents": [
- {
- "startedAt": "string",
- "endedAt": "string",
- "portId": 0,
- "portName": "string",
- "zoneId": 0,
- "zoneName": "string",
- "minSpeedObserved": 0,
- "durationHours": 0,
- "lat": 0,
- "lon": 0,
- "classification": "string"
}
]
}
], - "sharedWithOrg": true
}
]
}
Creates a new Fleet for the current user.
fleetName | string The new name of the Fleet. |
{- "fleetName": "string"
}
{- "fleetId": "string",
- "fleetName": "string",
- "platform": "string",
- "ownerUserId": "string",
- "organization": "string",
- "vesselsInFleet": 0,
- "vessels": [
- {
- "imo": 0,
- "dwt": 0,
- "built": 0,
- "vesselName": "string",
- "segment": "string",
- "subSegment": "string",
- "flagCode": "string",
- "exName": "string",
- "type": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "status": {
- "ladenStatus": "string",
- "cargoStatus": "string",
- "portCallStatus": "string",
- "relatedPortName": "string",
- "draughtPercentage": 0,
- "destination": "string",
- "destinationPortName": "string",
- "lastPositionReceivedAt": "string",
- "lastStaticReceivedAt": "string",
- "currentSpeed": 0,
- "currentNavigationalStatus": 0,
- "currentCommodityGroup": "string"
}, - "stoppageEvents": [
- {
- "startedAt": "string",
- "endedAt": "string",
- "portId": 0,
- "portName": "string",
- "zoneId": 0,
- "zoneName": "string",
- "minSpeedObserved": 0,
- "durationHours": 0,
- "lat": 0,
- "lon": 0,
- "classification": "string"
}
]
}
], - "sharedWithOrg": true
}
GetFleetLiveMap display static location for vessels in a fleet (as static image).
fleetId | string Identifier of the Fleet resource |
mapTheme | string Specifies the map theme. Allowed values are: [light-v10, dark-v10, navigation-night-v1, navigation-day-v1, outdoors-v11, satellite-v9] |
{- "mapImage": "string"
}
Uploads file containing fleet data to be parsed into a batch of vessels.
fileName | string (Original file name including file extension) |
file | string <byte> (Serialized file data) ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[... |
fleetId | string (Fleet ID of existing fleet) |
fleetName | string (Name of existing fleet) |
overwrite | boolean (Specifies whether an existing fleet should be appended or overwritten) |
{- "fileName": "string",
- "file": "string",
- "fleetId": "string",
- "fleetName": "string",
- "overwrite": true
}
{ }
Retrieves fleet by Fleet id.
fleetId required | string Identifier of the Fleet resource to be retrieved. |
{- "fleetId": "string",
- "fleetName": "string",
- "platform": "string",
- "ownerUserId": "string",
- "organization": "string",
- "vesselsInFleet": 0,
- "vessels": [
- {
- "imo": 0,
- "dwt": 0,
- "built": 0,
- "vesselName": "string",
- "segment": "string",
- "subSegment": "string",
- "flagCode": "string",
- "exName": "string",
- "type": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "status": {
- "ladenStatus": "string",
- "cargoStatus": "string",
- "portCallStatus": "string",
- "relatedPortName": "string",
- "draughtPercentage": 0,
- "destination": "string",
- "destinationPortName": "string",
- "lastPositionReceivedAt": "string",
- "lastStaticReceivedAt": "string",
- "currentSpeed": 0,
- "currentNavigationalStatus": 0,
- "currentCommodityGroup": "string"
}, - "stoppageEvents": [
- {
- "startedAt": "string",
- "endedAt": "string",
- "portId": 0,
- "portName": "string",
- "zoneId": 0,
- "zoneName": "string",
- "minSpeedObserved": 0,
- "durationHours": 0,
- "lat": 0,
- "lon": 0,
- "classification": "string"
}
]
}
], - "sharedWithOrg": true
}
Batch adds vessels into a Fleet. A maximum of 1000 vessels can be added to a fleet.
fleetId required | string Identifier of the Fleet resource where vessels should be added. |
Array of objects (Vessel parameters) List of Vessels to be added. |
{- "vessels": [
- {
- "imo": 0,
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
]
}
{ }
Changes the name of a Fleet.
fleetId required | string Identifier of the Fleet resource to be renamed. |
newFleetName | string The new name of the Fleet. |
{- "newFleetName": "string"
}
{- "fleetId": "string",
- "fleetName": "string",
- "platform": "string",
- "ownerUserId": "string",
- "organization": "string",
- "vesselsInFleet": 0,
- "vessels": [
- {
- "imo": 0,
- "dwt": 0,
- "built": 0,
- "vesselName": "string",
- "segment": "string",
- "subSegment": "string",
- "flagCode": "string",
- "exName": "string",
- "type": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "status": {
- "ladenStatus": "string",
- "cargoStatus": "string",
- "portCallStatus": "string",
- "relatedPortName": "string",
- "draughtPercentage": 0,
- "destination": "string",
- "destinationPortName": "string",
- "lastPositionReceivedAt": "string",
- "lastStaticReceivedAt": "string",
- "currentSpeed": 0,
- "currentNavigationalStatus": 0,
- "currentCommodityGroup": "string"
}, - "stoppageEvents": [
- {
- "startedAt": "string",
- "endedAt": "string",
- "portId": 0,
- "portName": "string",
- "zoneId": 0,
- "zoneName": "string",
- "minSpeedObserved": 0,
- "durationHours": 0,
- "lat": 0,
- "lon": 0,
- "classification": "string"
}
]
}
], - "sharedWithOrg": true
}
Replaces the existing vessels in a Fleet with a batch of new vessels. This is equivalent to first calling DropVessels and then calling BatchAddVessels A maximum of 1000 vessels can be added to a fleet.
fleetId required | string Identifier of the Fleet resource where vessels should be added. |
Array of objects (Vessel parameters) List of Vessels to be added. |
{- "vessels": [
- {
- "imo": 0,
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
]
}
{ }
Retrieves list of vessels in a Fleet.
fleetId required | string Identifier of the Fleet resource which vessels to be retrieved. |
{- "vessels": [
- {
- "imo": 0,
- "dwt": 0,
- "built": 0,
- "vesselName": "string",
- "segment": "string",
- "subSegment": "string",
- "flagCode": "string",
- "exName": "string",
- "type": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "status": {
- "ladenStatus": "string",
- "cargoStatus": "string",
- "portCallStatus": "string",
- "relatedPortName": "string",
- "draughtPercentage": 0,
- "destination": "string",
- "destinationPortName": "string",
- "lastPositionReceivedAt": "string",
- "lastStaticReceivedAt": "string",
- "currentSpeed": 0,
- "currentNavigationalStatus": 0,
- "currentCommodityGroup": "string"
}, - "stoppageEvents": [
- {
- "startedAt": "string",
- "endedAt": "string",
- "portId": 0,
- "portName": "string",
- "zoneId": 0,
- "zoneName": "string",
- "minSpeedObserved": 0,
- "durationHours": 0,
- "lat": 0,
- "lon": 0,
- "classification": "string"
}
]
}
], - "vesselsInFleet": 0
}
Adds new vessel to a Fleet. A maximum of 1000 vessels can be added to a fleet.
fleetId required | string Identifier of the Fleet resource where vessels should be added. |
object (Vessel parameters) |
{- "vessel": {
- "imo": 0,
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
}
{- "imo": 0,
- "dwt": 0,
- "built": 0,
- "vesselName": "string",
- "segment": "string",
- "subSegment": "string",
- "flagCode": "string",
- "exName": "string",
- "type": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "status": {
- "ladenStatus": "string",
- "cargoStatus": "string",
- "portCallStatus": "string",
- "relatedPortName": "string",
- "draughtPercentage": 0,
- "destination": "string",
- "destinationPortName": "string",
- "lastPositionReceivedAt": "string",
- "lastStaticReceivedAt": "string",
- "currentSpeed": 0,
- "currentNavigationalStatus": 0,
- "currentCommodityGroup": "string"
}, - "stoppageEvents": [
- {
- "startedAt": "string",
- "endedAt": "string",
- "portId": 0,
- "portName": "string",
- "zoneId": 0,
- "zoneName": "string",
- "minSpeedObserved": 0,
- "durationHours": 0,
- "lat": 0,
- "lon": 0,
- "classification": "string"
}
]
}
Retrieves list of vessels in a Fleet.
fleetId required | string Identifier of the Fleet resource which vessels to be retrieved. |
lastDays | integer <int32> Number of last days from now for vessel StoppageEvents to be retrieved. Cannot be used alongside start_date and end_date. |
startDate | string The UTC start date of the date filter for related events (StoppageEvents etc.) |
endDate | string The UTC end date of the date filter for related events (StoppageEvents etc.) |
{- "vessels": [
- {
- "imo": 0,
- "dwt": 0,
- "built": 0,
- "vesselName": "string",
- "segment": "string",
- "subSegment": "string",
- "flagCode": "string",
- "exName": "string",
- "type": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "status": {
- "ladenStatus": "string",
- "cargoStatus": "string",
- "portCallStatus": "string",
- "relatedPortName": "string",
- "draughtPercentage": 0,
- "destination": "string",
- "destinationPortName": "string",
- "lastPositionReceivedAt": "string",
- "lastStaticReceivedAt": "string",
- "currentSpeed": 0,
- "currentNavigationalStatus": 0,
- "currentCommodityGroup": "string"
}, - "stoppageEvents": [
- {
- "startedAt": "string",
- "endedAt": "string",
- "portId": 0,
- "portName": "string",
- "zoneId": 0,
- "zoneName": "string",
- "minSpeedObserved": 0,
- "durationHours": 0,
- "lat": 0,
- "lon": 0,
- "classification": "string"
}
]
}
], - "vesselsInFleet": 0
}
Retrieves vessel in a Fleet by Fleet id and imo.
fleetId required | string Identifier of the Fleet resource which vessels to be retrieved. |
imo required | integer <int32> Imo of the vessel. |
{- "imo": 0,
- "dwt": 0,
- "built": 0,
- "vesselName": "string",
- "segment": "string",
- "subSegment": "string",
- "flagCode": "string",
- "exName": "string",
- "type": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "status": {
- "ladenStatus": "string",
- "cargoStatus": "string",
- "portCallStatus": "string",
- "relatedPortName": "string",
- "draughtPercentage": 0,
- "destination": "string",
- "destinationPortName": "string",
- "lastPositionReceivedAt": "string",
- "lastStaticReceivedAt": "string",
- "currentSpeed": 0,
- "currentNavigationalStatus": 0,
- "currentCommodityGroup": "string"
}, - "stoppageEvents": [
- {
- "startedAt": "string",
- "endedAt": "string",
- "portId": 0,
- "portName": "string",
- "zoneId": 0,
- "zoneName": "string",
- "minSpeedObserved": 0,
- "durationHours": 0,
- "lat": 0,
- "lon": 0,
- "classification": "string"
}
]
}
Updates existing metadata for a Vessel.
fleetId required | string Identifier of the Fleet resource where the vessel should be updated. |
imo required | integer <int32> IMO number of the vessel to be updated. |
object (Parameter object for updating a vessel in a Fleet) | |
upsert | boolean Flag indicating whether the vessel should be created if it doesnt not already exist. If the upsert flag is set to false, and a vessel does not already exist, the function will return an error. |
{- "vessel": {
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}, - "upsert": true
}
{- "imo": 0,
- "dwt": 0,
- "built": 0,
- "vesselName": "string",
- "segment": "string",
- "subSegment": "string",
- "flagCode": "string",
- "exName": "string",
- "type": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "status": {
- "ladenStatus": "string",
- "cargoStatus": "string",
- "portCallStatus": "string",
- "relatedPortName": "string",
- "draughtPercentage": 0,
- "destination": "string",
- "destinationPortName": "string",
- "lastPositionReceivedAt": "string",
- "lastStaticReceivedAt": "string",
- "currentSpeed": 0,
- "currentNavigationalStatus": 0,
- "currentCommodityGroup": "string"
}, - "stoppageEvents": [
- {
- "startedAt": "string",
- "endedAt": "string",
- "portId": 0,
- "portName": "string",
- "zoneId": 0,
- "zoneName": "string",
- "minSpeedObserved": 0,
- "durationHours": 0,
- "lat": 0,
- "lon": 0,
- "classification": "string"
}
]
}
AisQuality returns the overview of how many positions reseived for vessels in different time periods
eta | Array of strings (LiveStateRequestBody live_state_request_body = 1;) before,after on the eta columns |
loadRegion | Array of strings (included load regions) |
loadCountry | Array of strings (included load countries) |
loadPort | Array of strings (included load ports) |
destinationRegion | Array of strings (included discharge regions) |
destinationCountry | Array of strings (included discharge countries) |
destinationPort | Array of strings (included discharge ports) |
destinationUnlocode | Array of strings (included discharge ports) |
cargoStatus | Array of strings (included cargo states) |
ladenStatus | Array of strings (included laden states) |
ladenStatusDraught | Array of strings (included laden states) |
speed | Array of numbers <double> (min,max on the speed column) [ items <double > ] |
draught | Array of numbers <double> (min,max on the draught column) [ items <double > ] |
excludeUnknownDestination | boolean (include rows where destination_country is blank) |
group | string (group by filter parameter) |
range | string (range value for timeseries request (ex: month/monthly, week/weekly)) |
flowDate | string (flow date (of load/discharge) for timeseries request) |
commodity | Array of strings (included commodity values) |
commodityGroup | Array of strings (included commodity values) |
object (v4BoundingBox) | |
zoneId | Array of integers <int64> (included zone ids) [ items <int64 > ] |
portId | Array of integers <int64> (included port ids) [ items <int64 > ] |
anchorageId | Array of integers <int64> (included anchorage ids) [ items <int64 > ] |
berthId | Array of integers <int64> (included berth ids) [ items <int64 > ] |
shipyardId | Array of integers <int64> (included shipyard ids) [ items <int64 > ] |
direction | Array of strings (included diretions) |
portStatus | Array of strings |
excludeMpv | boolean |
limit | integer <int64> |
hoursSinceLast | integer <int64> (parameter for aisquality request) |
format | string (response format (default is json, supported csv)) |
object (filtersVesselFilter) |
{- "eta": [
- "string"
], - "loadRegion": [
- "string"
], - "loadCountry": [
- "string"
], - "loadPort": [
- "string"
], - "destinationRegion": [
- "string"
], - "destinationCountry": [
- "string"
], - "destinationPort": [
- "string"
], - "destinationUnlocode": [
- "string"
], - "cargoStatus": [
- "string"
], - "ladenStatus": [
- "string"
], - "ladenStatusDraught": [
- "string"
], - "speed": [
- 0
], - "draught": [
- 0
], - "excludeUnknownDestination": true,
- "group": "string",
- "range": "string",
- "flowDate": "string",
- "commodity": [
- "string"
], - "commodityGroup": [
- "string"
], - "boundingBox": {
- "lowerLeft": [
- 0
], - "upperRight": [
- 0
]
}, - "zoneId": [
- 0
], - "portId": [
- 0
], - "anchorageId": [
- 0
], - "berthId": [
- 0
], - "shipyardId": [
- 0
], - "direction": [
- "string"
], - "portStatus": [
- "string"
], - "excludeMpv": true,
- "limit": 0,
- "hoursSinceLast": 0,
- "format": "string",
- "vesselFilter": {
- "imo": [
- 0
], - "beam": [
- 0
], - "built": [
- 0
], - "dwt": [
- 0
], - "flagState": [
- "string"
], - "gasCapacityCbm": [
- 0
], - "geared": true,
- "grainCapacity": [
- 0
], - "gt": [
- 0
], - "iceClassed": true,
- "loa": [
- 0
], - "logFitted": true,
- "maxDraught": [
- 0
], - "mpv": true,
- "segment": [
- "string"
], - "selfUnloader": true,
- "subSegment": [
- "string"
], - "vesselType": [
- "string"
]
}
}
{- "vesselSegmentsByTime": [
- {
- "subSegment": "string",
- "data": [
- {
- "from": 0,
- "to": 0,
- "count": 0
}
]
}
], - "zonesByTime": [
- {
- "zoneName": "string",
- "data": [
- {
- "from": 0,
- "to": 0,
- "count": 0
}
]
}
], - "zonesBySegment": [
- {
- "zoneName": "string",
- "data": [
- {
- "subSegment": "string",
- "count": 0
}
]
}
]
}
VesselsInArea gets vessels as geo objects in rectangular area for the given filter parameters
eta | Array of strings (LiveStateRequestBody live_state_request_body = 1;) before,after on the eta columns |
loadRegion | Array of strings (included load regions) |
loadCountry | Array of strings (included load countries) |
loadPort | Array of strings (included load ports) |
destinationRegion | Array of strings (included discharge regions) |
destinationCountry | Array of strings (included discharge countries) |
destinationPort | Array of strings (included discharge ports) |
destinationUnlocode | Array of strings (included discharge ports) |
cargoStatus | Array of strings (included cargo states) |
ladenStatus | Array of strings (included laden states) |
ladenStatusDraught | Array of strings (included laden states) |
speed | Array of numbers <double> (min,max on the speed column) [ items <double > ] |
draught | Array of numbers <double> (min,max on the draught column) [ items <double > ] |
excludeUnknownDestination | boolean (include rows where destination_country is blank) |
group | string (group by filter parameter) |
range | string (range value for timeseries request (ex: month/monthly, week/weekly)) |
flowDate | string (flow date (of load/discharge) for timeseries request) |
commodity | Array of strings (included commodity values) |
commodityGroup | Array of strings (included commodity values) |
object (v4BoundingBox) | |
zoneId | Array of integers <int64> (included zone ids) [ items <int64 > ] |
portId | Array of integers <int64> (included port ids) [ items <int64 > ] |
anchorageId | Array of integers <int64> (included anchorage ids) [ items <int64 > ] |
berthId | Array of integers <int64> (included berth ids) [ items <int64 > ] |
shipyardId | Array of integers <int64> (included shipyard ids) [ items <int64 > ] |
direction | Array of strings (included diretions) |
portStatus | Array of strings |
excludeMpv | boolean |
limit | integer <int64> |
hoursSinceLast | integer <int64> (parameter for aisquality request) |
format | string (response format (default is json, supported csv)) |
object (filtersVesselFilter) |
{- "eta": [
- "string"
], - "loadRegion": [
- "string"
], - "loadCountry": [
- "string"
], - "loadPort": [
- "string"
], - "destinationRegion": [
- "string"
], - "destinationCountry": [
- "string"
], - "destinationPort": [
- "string"
], - "destinationUnlocode": [
- "string"
], - "cargoStatus": [
- "string"
], - "ladenStatus": [
- "string"
], - "ladenStatusDraught": [
- "string"
], - "speed": [
- 0
], - "draught": [
- 0
], - "excludeUnknownDestination": true,
- "group": "string",
- "range": "string",
- "flowDate": "string",
- "commodity": [
- "string"
], - "commodityGroup": [
- "string"
], - "boundingBox": {
- "lowerLeft": [
- 0
], - "upperRight": [
- 0
]
}, - "zoneId": [
- 0
], - "portId": [
- 0
], - "anchorageId": [
- 0
], - "berthId": [
- 0
], - "shipyardId": [
- 0
], - "direction": [
- "string"
], - "portStatus": [
- "string"
], - "excludeMpv": true,
- "limit": 0,
- "hoursSinceLast": 0,
- "format": "string",
- "vesselFilter": {
- "imo": [
- 0
], - "beam": [
- 0
], - "built": [
- 0
], - "dwt": [
- 0
], - "flagState": [
- "string"
], - "gasCapacityCbm": [
- 0
], - "geared": true,
- "grainCapacity": [
- 0
], - "gt": [
- 0
], - "iceClassed": true,
- "loa": [
- 0
], - "logFitted": true,
- "maxDraught": [
- 0
], - "mpv": true,
- "segment": [
- "string"
], - "selfUnloader": true,
- "subSegment": [
- "string"
], - "vesselType": [
- "string"
]
}
}
{- "vesselsTotal": 0,
- "vesselsReturned": 0,
- "vesselsInView": 0,
- "vessels": [
- {
- "imo": 0,
- "mmsi": 0,
- "vesselName": "string",
- "course": 0,
- "speed": 0,
- "ladenStatus": "string",
- "geomCoordinates": "string",
- "ladenStatusDraught": "string"
}
]
}
Vessels gets a list of vessels for the given filter parameters
eta | Array of strings (LiveStateRequestBody live_state_request_body = 1;) before,after on the eta columns |
loadRegion | Array of strings (included load regions) |
loadCountry | Array of strings (included load countries) |
loadPort | Array of strings (included load ports) |
destinationRegion | Array of strings (included discharge regions) |
destinationCountry | Array of strings (included discharge countries) |
destinationPort | Array of strings (included discharge ports) |
destinationUnlocode | Array of strings (included discharge ports) |
cargoStatus | Array of strings (included cargo states) |
ladenStatus | Array of strings (included laden states) |
ladenStatusDraught | Array of strings (included laden states) |
speed | Array of numbers <double> (min,max on the speed column) [ items <double > ] |
draught | Array of numbers <double> (min,max on the draught column) [ items <double > ] |
excludeUnknownDestination | boolean (include rows where destination_country is blank) |
group | string (group by filter parameter) |
range | string (range value for timeseries request (ex: month/monthly, week/weekly)) |
flowDate | string (flow date (of load/discharge) for timeseries request) |
commodity | Array of strings (included commodity values) |
commodityGroup | Array of strings (included commodity values) |
object (v4BoundingBox) | |
zoneId | Array of integers <int64> (included zone ids) [ items <int64 > ] |
portId | Array of integers <int64> (included port ids) [ items <int64 > ] |
anchorageId | Array of integers <int64> (included anchorage ids) [ items <int64 > ] |
berthId | Array of integers <int64> (included berth ids) [ items <int64 > ] |
shipyardId | Array of integers <int64> (included shipyard ids) [ items <int64 > ] |
direction | Array of strings (included diretions) |
portStatus | Array of strings |
excludeMpv | boolean |
limit | integer <int64> |
hoursSinceLast | integer <int64> (parameter for aisquality request) |
format | string (response format (default is json, supported csv)) |
object (filtersVesselFilter) |
{- "eta": [
- "string"
], - "loadRegion": [
- "string"
], - "loadCountry": [
- "string"
], - "loadPort": [
- "string"
], - "destinationRegion": [
- "string"
], - "destinationCountry": [
- "string"
], - "destinationPort": [
- "string"
], - "destinationUnlocode": [
- "string"
], - "cargoStatus": [
- "string"
], - "ladenStatus": [
- "string"
], - "ladenStatusDraught": [
- "string"
], - "speed": [
- 0
], - "draught": [
- 0
], - "excludeUnknownDestination": true,
- "group": "string",
- "range": "string",
- "flowDate": "string",
- "commodity": [
- "string"
], - "commodityGroup": [
- "string"
], - "boundingBox": {
- "lowerLeft": [
- 0
], - "upperRight": [
- 0
]
}, - "zoneId": [
- 0
], - "portId": [
- 0
], - "anchorageId": [
- 0
], - "berthId": [
- 0
], - "shipyardId": [
- 0
], - "direction": [
- "string"
], - "portStatus": [
- "string"
], - "excludeMpv": true,
- "limit": 0,
- "hoursSinceLast": 0,
- "format": "string",
- "vesselFilter": {
- "imo": [
- 0
], - "beam": [
- 0
], - "built": [
- 0
], - "dwt": [
- 0
], - "flagState": [
- "string"
], - "gasCapacityCbm": [
- 0
], - "geared": true,
- "grainCapacity": [
- 0
], - "gt": [
- 0
], - "iceClassed": true,
- "loa": [
- 0
], - "logFitted": true,
- "maxDraught": [
- 0
], - "mpv": true,
- "segment": [
- "string"
], - "selfUnloader": true,
- "subSegment": [
- "string"
], - "vesselType": [
- "string"
]
}
}
{- "vessels": [
- {
- "vesselName": "string",
- "imo": 0,
- "mmsi": 0,
- "lastPositionReceived": "string",
- "lastStaticReceived": "string",
- "dwt": 0,
- "segment": "string",
- "subSegment": "string",
- "zoneId": 0,
- "zoneName": "string",
- "portId": 0,
- "portName": "string",
- "anchorageId": 0,
- "anchorageName": "string",
- "berthId": 0,
- "berthName": "string",
- "shipyardId": 0,
- "shipyardName": "string",
- "relatedPortId": 0,
- "relatedPortName": "string",
- "cargoStatus": "string",
- "ladenStatus": "string",
- "ladenStatusDraught": "string",
- "destination": "string",
- "destinationPortName": "string",
- "destinationRegion": "string",
- "destinationCountryCode": "string",
- "eta": "string",
- "navigationalStatus": 0,
- "lastPortName": "string",
- "lastCountryCode": "string",
- "lastRegion": "string",
- "portCallStatus": "string",
- "commodityGroup": "string",
- "commodityName": "string",
- "direction": "string",
- "speed": 0
}
], - "csv": "string",
- "xlsx": "string"
}
{- "layers": [
- {
- "name": "string",
- "layerId": "string",
- "ownerUserId": "string",
- "organization": "string",
- "polygonsInLayer": 0,
- "polygons": [
- {
- "name": "string",
- "polygonId": "string",
- "geojson": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
], - "sharedWithOrg": true
}
]
}
CreateLayer creates new layer for the current user
layerId | string |
{- "layerId": "string"
}
{- "name": "string",
- "layerId": "string",
- "ownerUserId": "string",
- "organization": "string",
- "polygonsInLayer": 0,
- "polygons": [
- {
- "name": "string",
- "polygonId": "string",
- "geojson": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
], - "sharedWithOrg": true
}
GetLayer gets fleed by layer id for the current user
layerId required | string |
{- "name": "string",
- "layerId": "string",
- "ownerUserId": "string",
- "organization": "string",
- "polygonsInLayer": 0,
- "polygons": [
- {
- "name": "string",
- "polygonId": "string",
- "geojson": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
], - "sharedWithOrg": true
}
BatchAddPolygons adds a batch of polygons to a layer
layerId required | string |
Array of objects (v3Polygon1) | |
upsert | boolean |
{- "polygons": [
- {
- "name": "string",
- "polygonId": "string",
- "geojson": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
], - "upsert": true
}
{- "errors": [
- "string"
]
}
CopyLayer creates a copy of the existing layer for the current user
layerId required | string |
newLayerId | string |
{- "name": "string",
- "layerId": "string",
- "ownerUserId": "string",
- "organization": "string",
- "polygonsInLayer": 0,
- "polygons": [
- {
- "name": "string",
- "polygonId": "string",
- "geojson": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
], - "sharedWithOrg": true
}
AddPolygon adds new polygon to a layer
layerId required | string |
polygonId | string |
name | string |
polygonId | string |
geojson | string |
object |
{- "name": "string",
- "polygonId": "string",
- "geojson": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
{- "name": "string",
- "polygonId": "string",
- "geojson": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
UpdatePolygon updates a polygon in a given layer
layerId required | string |
polygonId required | string |
upsert | boolean |
name | string |
polygonId | string |
geojson | string |
object |
{- "name": "string",
- "polygonId": "string",
- "geojson": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
{- "name": "string",
- "polygonId": "string",
- "geojson": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
ReplacePolygons replaces all existing polygons in a layer with a new batch of polygons
layerId required | string |
Array of objects (v3Polygon1) |
{- "polygons": [
- {
- "name": "string",
- "polygonId": "string",
- "geojson": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
]
}
{ }
ListPortCalls retrieves lists all port calls for a given vessel. Response is paginated, and endpoint accepts a paging parameter to specify which page to return. It is also possible to set the number of port calls to return per query, default is 50 and maximum is 2000.
startDate | string The UTC start date of the date filter. |
endDate | string The UTC end date of the date filter. |
portId | integer <int32> Oceanbolt port identifier to filter on. |
berthId | integer <int32> Oceanbolt berth identifier to filter on. |
unlocode | string Unlocode port identifier to filter on. |
lastNDays | integer <int32> Alternative way of specifying date filter. If specified, then data will only be based on port calls in last X days. |
{- "startDate": "string",
- "endDate": "string",
- "portId": 0,
- "berthId": 0,
- "unlocode": "string",
- "lastNDays": 0
}
{- "numberOfPortCalls": 0,
- "loa": {
- "min": 0,
- "max": 0,
- "percentile10": 0,
- "percentile50": 0,
- "percentile90": 0,
- "percentile95": 0,
- "percentile99": 0,
- "mean": 0
}, - "beam": {
- "min": 0,
- "max": 0,
- "percentile10": 0,
- "percentile50": 0,
- "percentile90": 0,
- "percentile95": 0,
- "percentile99": 0,
- "mean": 0
}, - "maxDraught": {
- "min": 0,
- "max": 0,
- "percentile10": 0,
- "percentile50": 0,
- "percentile90": 0,
- "percentile95": 0,
- "percentile99": 0,
- "mean": 0
}, - "reportedDraught": {
- "min": 0,
- "max": 0,
- "percentile10": 0,
- "percentile50": 0,
- "percentile90": 0,
- "percentile95": 0,
- "percentile99": 0,
- "mean": 0
}, - "dwt": {
- "min": 0,
- "max": 0,
- "percentile10": 0,
- "percentile50": 0,
- "percentile90": 0,
- "percentile95": 0,
- "percentile99": 0,
- "mean": 0
}, - "airDraught": {
- "min": 0,
- "max": 0,
- "percentile10": 0,
- "percentile50": 0,
- "percentile90": 0,
- "percentile95": 0,
- "percentile99": 0,
- "mean": 0
}
}
ListPortCalls retrieves lists all port calls for a set of request params. Response is paginated, and endpoint accepts a paging parameter to specify which page to return. It is also possible to set the number of port calls to return per query, default is 50 and maximum is 2000.
portId | Array of integers <int32> [ items <int32 > ] List of Oceanbolt port ids to filter on. |
berthId | Array of integers <int32> [ items <int32 > ] List of Oceanbolt berth ids to filter on. |
unlocode | Array of strings List of five letter UNLOCODEs of ports to filter on. |
countryCode | Array of strings List of two letter ISO country codes to filter on. |
region | Array of strings List of regions to filter on. Allowed values can be obtained from the /entities/regions endpoint. |
basin | Array of strings List of basins to filter on. Allowed values are: ["atlantic","indian_ocean","pacific_americas","pacific_asia"]. |
latestOnly | boolean Flat to indiciate whether only the latest port call should be included on an IMO basis. If this is enabled, only the latest port call for each imo passing the filter will be returned. |
nextToken | string The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page. |
maxResults | integer <int32> An optional limit for the number of resources returned in a single call. |
format | string The return format of the data ["csv","json", "xlsx"]. Default is "json". |
startDate | string The UTC start date of the date filter. |
endDate | string The UTC end date of the date filter. |
commodity | Array of strings List of commodities to get data for (get a list of all commodities from /entities/commodities). |
commodityGroup | Array of strings List of commodity groups to get data for (get a list of all commodity groups from /entities/commodities). |
operation | Array of strings List of port call operation types to filter on. Allowed values are: **["D","Dx";"L","Lx","B","Y","U"]. |
sort | string Specifies whether results should be sorted in ascending or descing order. Allowed values: ["asc","desc"]. |
groupBy | string Determines the grouping of the timeseries data. This parameter only applies to the /portcalls/timeseries endpoint. |
frequency | string Frequency determines the granularity/period grouping of the timeseries. Allowed values are: ["daily", "weekly", "monthly","quarterly "yearly"]. Default value is "monthly". This parameter only applies to the /portcalls/timeseries endpoint. |
limitGroups | boolean Flag to indicate whether grouped timeseries should be limited to top N entries. If the parameter is present, the endpoint will only return the top N groups, and the remaining entries will be grouped into others. |
object (filtersVesselFilter) |
{- "portId": [
- 0
], - "berthId": [
- 0
], - "unlocode": [
- "string"
], - "countryCode": [
- "string"
], - "region": [
- "string"
], - "basin": [
- "string"
], - "latestOnly": true,
- "nextToken": "string",
- "maxResults": 0,
- "format": "string",
- "startDate": "string",
- "endDate": "string",
- "commodity": [
- "string"
], - "commodityGroup": [
- "string"
], - "operation": [
- "string"
], - "sort": "string",
- "groupBy": "string",
- "frequency": "string",
- "limitGroups": true,
- "vesselFilter": {
- "imo": [
- 0
], - "beam": [
- 0
], - "built": [
- 0
], - "dwt": [
- 0
], - "flagState": [
- "string"
], - "gasCapacityCbm": [
- 0
], - "geared": true,
- "grainCapacity": [
- 0
], - "gt": [
- 0
], - "iceClassed": true,
- "loa": [
- 0
], - "logFitted": true,
- "maxDraught": [
- 0
], - "mpv": true,
- "segment": [
- "string"
], - "selfUnloader": true,
- "subSegment": [
- "string"
], - "vesselType": [
- "string"
]
}
}
{- "prevToken": "string",
- "nextToken": "string",
- "data": [
- {
- "voyageId": "string",
- "portCallId": "string",
- "imo": 0,
- "vesselName": "string",
- "portId": 0,
- "portName": "string",
- "segment": "string",
- "subSegment": "string",
- "unlocode": "string",
- "berthId": 0,
- "berthName": "string",
- "anchorageId": 0,
- "anchorageName": "string",
- "arrivedAt": "string",
- "berthedAt": "string",
- "unberthedAt": "string",
- "departedAt": "string",
- "daysInPort": 0,
- "daysWaiting": 0,
- "daysAtBerth": 0,
- "countryCode": "string",
- "operation": "string",
- "voyageType": "string",
- "commodity": "string",
- "commodityValue": "string",
- "commodityGroup": "string",
- "volume": 0,
- "portVisited": true,
- "berthStays": [
- {
- "berthId": 0,
- "berthName": "string",
- "berthType": "string",
- "arrivedAt": "string",
- "departedAt": "string",
- "draughtIn": 0,
- "draughtOut": 0,
- "hoursInBerth": 0
}
], - "anchorageStays": [
- {
- "anchorageId": 0,
- "anchorageName": "string",
- "arrivedAt": "string",
- "departedAt": "string",
- "hoursInAnchorage": 0
}
]
}
], - "csv": "string",
- "xlsx": "string"
}
GetPortCallTimeseries retrieves aggregated counts for port calls for a set of request params.
portId | Array of integers <int32> [ items <int32 > ] List of Oceanbolt port ids to filter on. |
berthId | Array of integers <int32> [ items <int32 > ] List of Oceanbolt berth ids to filter on. |
unlocode | Array of strings List of five letter UNLOCODEs of ports to filter on. |
countryCode | Array of strings List of two letter ISO country codes to filter on. |
region | Array of strings List of regions to filter on. Allowed values can be obtained from the /entities/regions endpoint. |
basin | Array of strings List of basins to filter on. Allowed values are: ["atlantic","indian_ocean","pacific_americas","pacific_asia"]. |
latestOnly | boolean Flat to indiciate whether only the latest port call should be included on an IMO basis. If this is enabled, only the latest port call for each imo passing the filter will be returned. |
nextToken | string The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page. |
maxResults | integer <int32> An optional limit for the number of resources returned in a single call. |
format | string The return format of the data ["csv","json", "xlsx"]. Default is "json". |
startDate | string The UTC start date of the date filter. |
endDate | string The UTC end date of the date filter. |
commodity | Array of strings List of commodities to get data for (get a list of all commodities from /entities/commodities). |
commodityGroup | Array of strings List of commodity groups to get data for (get a list of all commodity groups from /entities/commodities). |
operation | Array of strings List of port call operation types to filter on. Allowed values are: **["D","Dx";"L","Lx","B","Y","U"]. |
sort | string Specifies whether results should be sorted in ascending or descing order. Allowed values: ["asc","desc"]. |
groupBy | string Determines the grouping of the timeseries data. This parameter only applies to the /portcalls/timeseries endpoint. |
frequency | string Frequency determines the granularity/period grouping of the timeseries. Allowed values are: ["daily", "weekly", "monthly","quarterly "yearly"]. Default value is "monthly". This parameter only applies to the /portcalls/timeseries endpoint. |
limitGroups | boolean Flag to indicate whether grouped timeseries should be limited to top N entries. If the parameter is present, the endpoint will only return the top N groups, and the remaining entries will be grouped into others. |
object (filtersVesselFilter) |
{- "portId": [
- 0
], - "berthId": [
- 0
], - "unlocode": [
- "string"
], - "countryCode": [
- "string"
], - "region": [
- "string"
], - "basin": [
- "string"
], - "latestOnly": true,
- "nextToken": "string",
- "maxResults": 0,
- "format": "string",
- "startDate": "string",
- "endDate": "string",
- "commodity": [
- "string"
], - "commodityGroup": [
- "string"
], - "operation": [
- "string"
], - "sort": "string",
- "groupBy": "string",
- "frequency": "string",
- "limitGroups": true,
- "vesselFilter": {
- "imo": [
- 0
], - "beam": [
- 0
], - "built": [
- 0
], - "dwt": [
- 0
], - "flagState": [
- "string"
], - "gasCapacityCbm": [
- 0
], - "geared": true,
- "grainCapacity": [
- 0
], - "gt": [
- 0
], - "iceClassed": true,
- "loa": [
- 0
], - "logFitted": true,
- "maxDraught": [
- 0
], - "mpv": true,
- "segment": [
- "string"
], - "selfUnloader": true,
- "subSegment": [
- "string"
], - "vesselType": [
- "string"
]
}
}
{- "timeseries": [
- {
- "group": "string",
- "groupValue": 0,
- "rows": [
- {
- "date": "string",
- "value": 0
}
]
}
], - "csv": "string",
- "xlsx": "string"
}
GetVesselsInPort lists all vessels that were within a port (or related anchorages) at a certain time.
portId | integer <int64> (Database id of the port to filter on) |
unlocode | string (UNLOCODE of the port to filter on) |
object (filtersVesselFilter) | |
timestamp | string <date-time> Timestamp to generate the vessel in port list for. This allows to generate historical snapshots of the vessels that were inside a port at a given time in history. If left blank, then it the vessel list will default to be generated for the current time. |
mergeSequentialPolygonStays | boolean Flag to indicate whether to merge sequential berth stays in same berth (if the stays are within the merge threshold). Default is false, meaning that by default berth stays will not be merged. |
mergeThresholdHours | number <double> The threshold in hours for a merge to take place for multiple consequtive stays. If the time from when the vessel left the berth until it reentered into the same berth is above the threshold, the polygon stays will not be merged. Default value is 6 hours. |
{- "portId": 0,
- "unlocode": "string",
- "vesselFilter": {
- "imo": [
- 0
], - "beam": [
- 0
], - "built": [
- 0
], - "dwt": [
- 0
], - "flagState": [
- "string"
], - "gasCapacityCbm": [
- 0
], - "geared": true,
- "grainCapacity": [
- 0
], - "gt": [
- 0
], - "iceClassed": true,
- "loa": [
- 0
], - "logFitted": true,
- "maxDraught": [
- 0
], - "mpv": true,
- "segment": [
- "string"
], - "selfUnloader": true,
- "subSegment": [
- "string"
], - "vesselType": [
- "string"
]
}, - "timestamp": "2019-08-24T14:15:22Z",
- "mergeSequentialPolygonStays": true,
- "mergeThresholdHours": 0
}
{- "vesselsInPort": 0,
- "data": [
- {
- "voyageId": "string",
- "portCallId": "string",
- "imo": 0,
- "vesselName": "string",
- "portId": 0,
- "portName": "string",
- "unlocode": "string",
- "segment": "string",
- "subSegment": "string",
- "dwt": 0,
- "berthId": 0,
- "berthName": "string",
- "anchorageId": 0,
- "anchorageName": "string",
- "arrivedAt": "string",
- "departedAt": "string",
- "daysInPort": 0,
- "countryCode": "string",
- "operation": "string",
- "voyageType": "string",
- "commodity": "string",
- "commodityValue": "string",
- "commodityGroup": "string",
- "volume": 0,
- "portVisited": true,
- "berthStays": [
- {
- "berthId": 0,
- "berthName": "string",
- "berthType": "string",
- "arrivedAt": "string",
- "departedAt": "string",
- "draughtIn": 0,
- "draughtOut": 0,
- "hoursInBerth": 0
}
], - "anchorageStays": [
- {
- "anchorageId": 0,
- "anchorageName": "string",
- "arrivedAt": "string",
- "departedAt": "string",
- "hoursInAnchorage": 0
}
], - "vesselStatus": "string"
}
]
}
GetCorruptPortCalls retrieves lists of all port calls inside corrupt ports.
Corrupt port call request object.
imo | Array of integers <int64> [ items <int64 > ] List of IMO numbers of the specified vessels. |
startDate | string Start of port call date range. |
endDate | string End of port call date range. |
{- "imo": [
- 0
], - "startDate": "string",
- "endDate": "string"
}
{- "visits": [
- {
- "countryCode": "string",
- "numberOfPortCalls": 0
}
]
}
GetJwcListedAreaPolygons lists all jwc listed polygons.
{ }
{- "jwcPolygons": [
- {
- "id": 0,
- "name": "string",
- "geomPolygonGeojson": "string"
}
]
}
GetJwcListedAreaStays retrieves lists of all stays inside jwc listed areas for a single vessel.
imo | integer <int32> |
startDate | string |
endDate | string |
format | string |
{- "jwcStays": [
- {
- "jwcId": 0,
- "jwcName": "string",
- "countryCode": "string",
- "imo": 0,
- "vesselName": "string",
- "enteredAt": "string",
- "exitedAt": "string",
- "durationDays": 0,
- "durationHours": 0,
- "avgSpeed": 0,
- "distanceTraveledNm": 0
}
], - "file": "string"
}
GetJwcListedAreaSummary retrieves lists of all stays inside jwc listed areas.
Array of objects (v3JwcReportingPeriodRequest) | |
format | string |
{- "reportingPeriods": [
- {
- "imo": 0,
- "startDate": "string",
- "endDate": "string"
}
], - "format": "string"
}
{- "summaryRows": [
- {
- "imo": 0,
- "vesselName": "string",
- "startDate": "string",
- "endDate": "string",
- "totalDurationDays": 0,
- "totalDurationHours": 0,
- "avgSpeed": 0,
- "totalDistanceTraveledNm": 0
}
], - "jwcStays": [
- {
- "jwcId": 0,
- "jwcName": "string",
- "countryCode": "string",
- "imo": 0,
- "vesselName": "string",
- "enteredAt": "string",
- "exitedAt": "string",
- "durationDays": 0,
- "durationHours": 0,
- "avgSpeed": 0,
- "distanceTraveledNm": 0
}
], - "file": "string"
}
GetMarineProtectedAreaPolygons lists all marine protected area polygons.
{ }
{- "mpaPolygons": [
- {
- "id": 0,
- "name": "string",
- "geomPolygonGeojson": "string"
}
]
}
GetMarineProtectedAreaStays retrieves lists of all stays inside marine protected areas for a single vessel.
imo | integer <int32> |
startDate | string |
endDate | string |
format | string |
{- "mpaStays": [
- {
- "mpaId": 0,
- "mpaName": "string",
- "countryCode": "string",
- "imo": 0,
- "vesselName": "string",
- "enteredAt": "string",
- "exitedAt": "string",
- "durationDays": 0,
- "durationHours": 0,
- "avgSpeed": 0,
- "distanceTraveledNm": 0
}
], - "file": "string"
}
GetMarineProtectedAreaSummary retrieves lists of all stays inside marine protected areas.
Array of objects (v3MpaReportingPeriodRequest) | |
format | string |
{- "reportingPeriods": [
- {
- "imo": 0,
- "startDate": "string",
- "endDate": "string"
}
], - "format": "string"
}
{- "summaryRows": [
- {
- "imo": 0,
- "vesselName": "string",
- "startDate": "string",
- "endDate": "string",
- "totalDurationDays": 0,
- "totalDurationHours": 0,
- "avgSpeed": 0,
- "totalDistanceTraveledNm": 0
}
], - "mpaStays": [
- {
- "mpaId": 0,
- "mpaName": "string",
- "countryCode": "string",
- "imo": 0,
- "vesselName": "string",
- "enteredAt": "string",
- "exitedAt": "string",
- "durationDays": 0,
- "durationHours": 0,
- "avgSpeed": 0,
- "distanceTraveledNm": 0
}
], - "file": "string"
}
Provides timeseries data on the number of vessels that are within the four major basins.
basin | Array of strings |
segment | Array of strings |
subSegment | Array of strings |
startDate | string |
endDate | string |
excludeMpv | boolean |
lastNDays | integer <int32> |
format | string |
{- "basin": [
- "string"
], - "segment": [
- "string"
], - "subSegment": [
- "string"
], - "startDate": "string",
- "endDate": "string",
- "excludeMpv": true,
- "lastNDays": 0,
- "format": "string"
}
{- "timeseries": [
- {
- "group": "string",
- "rows": [
- {
- "date": "string",
- "vesselCount": 0,
- "vesselDwt": 0,
- "avgSpeed": 0
}
]
}
], - "csv": "string",
- "xlsx": "string"
}
Provides chinese waters tonnage timeseries data. This timeseries shows the number of Chinese flagged that are trading inside and outside of Chinese waters respectively.
startDate | string The UTC start date of the date filter. |
endDate | string The UTC end date of the date filter. |
segment | Array of strings List of vessel segments to filter on. Allowed values can be obtained from the /entities/segments endpoint. Cannot be supplied alongside subSegment. |
subSegment | Array of strings List of vessel sub segments to filter on. Allowed values can be obtained from the /entities/segments endpoint. Cannot be supplied alongside segment. |
groupBy | string Determines the grouping of the timeseries data. |
sort | string Specifies whether results should be sorted in ascending or descing order. Allowed values: ["asc","desc"]. |
format | string The return format of the data ["csv","json", "xlsx"]. Default is "json". |
{- "startDate": "string",
- "endDate": "string",
- "segment": [
- "string"
], - "subSegment": [
- "string"
], - "groupBy": "string",
- "sort": "string",
- "format": "string"
}
{- "timeseries": [
- {
- "group": "string",
- "rows": [
- {
- "date": "string",
- "insideChineseWatersCount": 0,
- "insideChineseWatersDwt": 0,
- "outsideChineseWatersCount": 0,
- "outsideChineseWatersDwt": 0
}
]
}
], - "csv": "string",
- "xlsx": "string"
}
Provides fleet growth timeseries of how the fleet have developed over time. This timeseries shows number of vessels added to/removed from the fleet during any given period.
frequency | string Frequency determines the granularity/period grouping of the timeseries. Allowed values are: ["daily", "weekly", "monthly","quarterly "yearly"]. Default value is "monthly". |
segment | Array of strings List of vessel segments to filter on. Allowed values can be obtained from the /entities/segments endpoint. Cannot be supplied alongside subSegment. |
subSegment | Array of strings List of vessel sub segments to filter on. Allowed values can be obtained from the /entities/segments endpoint. Cannot be supplied alongside segment. |
groupBy | string Determines the grouping of the timeseries data. |
metric | string The metric to retrieve for timeseries aggregations. Allowed values: ["count","dwt"]. Default is "count". |
format | string The return format of the data ["csv","json", "xlsx"]. Default is "json". |
excludeMpv | boolean Flag to specify whether or not MPV vessels should be included/excluded. Default is to include. |
sort | string Specifies whether results should be sorted in ascending or descing order. Allowed values: ["asc","desc"]. |
startDate | string The UTC start date of the date filter. |
endDate | string The UTC end date of the date filter. |
{- "frequency": "string",
- "segment": [
- "string"
], - "subSegment": [
- "string"
], - "groupBy": "string",
- "metric": "string",
- "format": "string",
- "excludeMpv": true,
- "sort": "string",
- "startDate": "string",
- "endDate": "string"
}
{- "timeseries": [
- {
- "group": "string",
- "rows": [
- {
- "date": "string",
- "scrapped": 0,
- "delivered": 0,
- "net": 0
}
]
}
], - "csv": "string",
- "xlsx": "string"
}
Provides fleet status timeseries of how the fleet have developed over time. This timeseries shows number of active vessels on the water at any given time.
frequency | string Frequency determines the granularity/period grouping of the timeseries. Allowed values are: ["daily", "weekly", "monthly","quarterly "yearly"]. Default value is "monthly". |
segment | Array of strings List of vessel segments to filter on. Allowed values can be obtained from the /entities/segments endpoint. Cannot be supplied alongside subSegment. |
subSegment | Array of strings List of vessel sub segments to filter on. Allowed values can be obtained from the /entities/segments endpoint. Cannot be supplied alongside segment. |
groupBy | string Determines the grouping of the timeseries data. |
metric | string The metric to retrieve for timeseries aggregations. Allowed values: ["count","dwt"]. Default is "count". |
format | string The return format of the data ["csv","json", "xlsx"]. Default is "json". |
excludeMpv | boolean Flag to specify whether or not MPV vessels should be included/excluded. Default is to include. |
sort | string Specifies whether results should be sorted in ascending or descing order. Allowed values: ["asc","desc"]. |
startDate | string The UTC start date of the date filter. |
endDate | string The UTC end date of the date filter. |
{- "frequency": "string",
- "segment": [
- "string"
], - "subSegment": [
- "string"
], - "groupBy": "string",
- "metric": "string",
- "format": "string",
- "excludeMpv": true,
- "sort": "string",
- "startDate": "string",
- "endDate": "string"
}
{- "timeseries": [
- {
- "group": "string",
- "rows": [
- {
- "date": "string",
- "value": 0
}
]
}
], - "csv": "string",
- "xlsx": "string"
}
Fetches fleet speed timeseries.
Request object for getting tonnage zone data and fleet speed data.
zoneId | Array of integers <int32> [ items <int32 > ] List of zones ids to filter on. Allowed values can be obtained from the /entities/zones endpoint. |
segment | Array of strings List of vessel segments to filter on. Allowed values can be obtained from the /entities/segments endpoint. Cannot be supplied alongside subSegment. |
subSegment | Array of strings List of vessel sub segments to filter on. Allowed values can be obtained from the /entities/segments endpoint. Cannot be supplied alongside segment. |
direction | Array of strings The list of directions to get tonnage data for. The following directions are allowed: ["NNE","ENE","ESE","SSE","SSW","WSW","WNW","NNW"]. Directions can also be obtained from the interactive direction selector found at app.oceanbolt.com. |
ladenStatus | Array of strings The laden status to get tonnage data for. The following values are allowed: ["laden","ballast"]. |
portStatus | Array of strings The port status to get tonnage data for. The following values are allowed: ["in_port","at_sea"]. |
groupBy | string (Not Implemented Yet //TODO) |
excludeMpv | boolean Flag to specify whether or not MPV vessels should be included/excluded. Default is to include. |
startDate | string The UTC start date of the date filter. |
endDate | string The UTC end date of the date filter. |
lastNDays | integer <int32> Short hand parameter for quickly getting data for the last N days. |
format | string The return format of the data ["csv","json", "xlsx"]. Default is "json". |
sort | string Specifies whether results should be sorted in ascending or descing order. Allowed values: ["asc","desc"]. |
{- "zoneId": [
- 0
], - "segment": [
- "string"
], - "subSegment": [
- "string"
], - "direction": [
- "string"
], - "ladenStatus": [
- "string"
], - "portStatus": [
- "string"
], - "groupBy": "string",
- "excludeMpv": true,
- "startDate": "string",
- "endDate": "string",
- "lastNDays": 0,
- "format": "string",
- "sort": "string"
}
{- "timeseries": [
- {
- "group": "string",
- "rows": [
- {
- "date": "string",
- "vesselCount": 0,
- "vesselDwt": 0,
- "avgSpeed": 0
}
]
}
], - "csv": "string",
- "xlsx": "string"
}
Fetches tonnage counts timeseries.
Request object for getting tonnage zone data and fleet speed data.
zoneId | Array of integers <int32> [ items <int32 > ] List of zones ids to filter on. Allowed values can be obtained from the /entities/zones endpoint. |
segment | Array of strings List of vessel segments to filter on. Allowed values can be obtained from the /entities/segments endpoint. Cannot be supplied alongside subSegment. |
subSegment | Array of strings List of vessel sub segments to filter on. Allowed values can be obtained from the /entities/segments endpoint. Cannot be supplied alongside segment. |
direction | Array of strings The list of directions to get tonnage data for. The following directions are allowed: ["NNE","ENE","ESE","SSE","SSW","WSW","WNW","NNW"]. Directions can also be obtained from the interactive direction selector found at app.oceanbolt.com. |
ladenStatus | Array of strings The laden status to get tonnage data for. The following values are allowed: ["laden","ballast"]. |
portStatus | Array of strings The port status to get tonnage data for. The following values are allowed: ["in_port","at_sea"]. |
groupBy | string (Not Implemented Yet //TODO) |
excludeMpv | boolean Flag to specify whether or not MPV vessels should be included/excluded. Default is to include. |
startDate | string The UTC start date of the date filter. |
endDate | string The UTC end date of the date filter. |
lastNDays | integer <int32> Short hand parameter for quickly getting data for the last N days. |
format | string The return format of the data ["csv","json", "xlsx"]. Default is "json". |
sort | string Specifies whether results should be sorted in ascending or descing order. Allowed values: ["asc","desc"]. |
{- "zoneId": [
- 0
], - "segment": [
- "string"
], - "subSegment": [
- "string"
], - "direction": [
- "string"
], - "ladenStatus": [
- "string"
], - "portStatus": [
- "string"
], - "groupBy": "string",
- "excludeMpv": true,
- "startDate": "string",
- "endDate": "string",
- "lastNDays": 0,
- "format": "string",
- "sort": "string"
}
{- "timeseries": [
- {
- "group": "string",
- "rows": [
- {
- "date": "string",
- "vesselCount": 0,
- "vesselDwt": 0,
- "avgSpeed": 0
}
]
}
], - "csv": "string",
- "xlsx": "string"
}
Fetches global tonnage status timeseries.
Request object for getting tonnage zone data and fleet speed data.
zoneId | Array of integers <int32> [ items <int32 > ] List of zones ids to filter on. Allowed values can be obtained from the /entities/zones endpoint. |
segment | Array of strings List of vessel segments to filter on. Allowed values can be obtained from the /entities/segments endpoint. Cannot be supplied alongside subSegment. |
subSegment | Array of strings List of vessel sub segments to filter on. Allowed values can be obtained from the /entities/segments endpoint. Cannot be supplied alongside segment. |
direction | Array of strings The list of directions to get tonnage data for. The following directions are allowed: ["NNE","ENE","ESE","SSE","SSW","WSW","WNW","NNW"]. Directions can also be obtained from the interactive direction selector found at app.oceanbolt.com. |
ladenStatus | Array of strings The laden status to get tonnage data for. The following values are allowed: ["laden","ballast"]. |
portStatus | Array of strings The port status to get tonnage data for. The following values are allowed: ["in_port","at_sea"]. |
groupBy | string (Not Implemented Yet //TODO) |
excludeMpv | boolean Flag to specify whether or not MPV vessels should be included/excluded. Default is to include. |
startDate | string The UTC start date of the date filter. |
endDate | string The UTC end date of the date filter. |
lastNDays | integer <int32> Short hand parameter for quickly getting data for the last N days. |
format | string The return format of the data ["csv","json", "xlsx"]. Default is "json". |
sort | string Specifies whether results should be sorted in ascending or descing order. Allowed values: ["asc","desc"]. |
{- "zoneId": [
- 0
], - "segment": [
- "string"
], - "subSegment": [
- "string"
], - "direction": [
- "string"
], - "ladenStatus": [
- "string"
], - "portStatus": [
- "string"
], - "groupBy": "string",
- "excludeMpv": true,
- "startDate": "string",
- "endDate": "string",
- "lastNDays": 0,
- "format": "string",
- "sort": "string"
}
{- "globalTonnageZoneCounts": [
- {
- "date": "string",
- "zoneId": 0,
- "zoneName": "string",
- "vesselCount": 0,
- "vesselDwt": 0,
- "avgSpeed": 0
}
], - "csv": "string",
- "xlsx": "string"
}
Provides timeseries data on the number of vessels that cross zone boundaries during any given period.
fromZoneId | Array of integers <int32> [ items <int32 > ] |
toZoneId | Array of integers <int32> [ items <int32 > ] |
segment | Array of strings List of vessel segments to filter on. Allowed values can be obtained from the /entities/segments endpoint. Cannot be supplied alongside subSegment. |
subSegment | Array of strings List of vessel sub segments to filter on. Allowed values can be obtained from the /entities/segments endpoint. Cannot be supplied alongside segment. |
ladenStatus | Array of strings The laden status to get tonnage data for. The following values are allowed: ["laden","ballast"]. |
startDate | string The UTC start date of the date filter. |
endDate | string The UTC end date of the date filter. |
groupBy | string Determines the grouping of the timeseries data. |
sort | string Specifies whether results should be sorted in ascending or descing order. Allowed values: ["asc","desc"]. |
format | string The return format of the data ["csv","json", "xlsx"]. Default is "json". |
frequency | string Frequency determines the granularity/period grouping of the timeseries. Allowed values are: ["daily", "weekly", "monthly","quarterly "yearly"]. Default value is "monthly". |
object (filtersVesselFilter) |
{- "fromZoneId": [
- 0
], - "toZoneId": [
- 0
], - "segment": [
- "string"
], - "subSegment": [
- "string"
], - "ladenStatus": [
- "string"
], - "startDate": "string",
- "endDate": "string",
- "groupBy": "string",
- "sort": "string",
- "format": "string",
- "frequency": "string",
- "vesselFilter": {
- "imo": [
- 0
], - "beam": [
- 0
], - "built": [
- 0
], - "dwt": [
- 0
], - "flagState": [
- "string"
], - "gasCapacityCbm": [
- 0
], - "geared": true,
- "grainCapacity": [
- 0
], - "gt": [
- 0
], - "iceClassed": true,
- "loa": [
- 0
], - "logFitted": true,
- "maxDraught": [
- 0
], - "mpv": true,
- "segment": [
- "string"
], - "selfUnloader": true,
- "subSegment": [
- "string"
], - "vesselType": [
- "string"
]
}
}
{- "timeseries": [
- {
- "group": "string",
- "rows": [
- {
- "date": "string",
- "vesselCount": 0,
- "vesselDwt": 0
}
]
}
], - "csv": "string",
- "xlsx": "string"
}
Aggregates tradeflow data across multiple dimensions.
frequency | string Frequency determines the granularity/period grouping of the timeseries. Allowed values are: ["daily", "weekly", "monthly","quarterly", "yearly"]. Default value is "monthly". This parameter only applies to the /tradeflows/timeseries endpoint. |
commodity | Array of strings List of commodities to get data for (get a list of all commodities from /entities/commodities). |
commodityGroup | Array of strings List of commodity groups to get data for (get a list of all commodity groups from /entities/commodities). |
flowDirection | string This controls whether to group the date by export date/import date. Allowed values are **["export","import"]. Default value is "export". This parameter only applies to the /tradeflows/timeseries endpoint. |
loadPortId | Array of integers <int32> [ items <int32 > ] Oceanbolt database identifier of the load port. |
loadPortUnlocode | Array of strings List of five letter UNLOCODEs for load (export) ports to filter on. |
loadBerthId | Array of integers <int32> [ items <int32 > ] Oceanbolt database identifier of the load berth/terminal. |
dischargePortId | Array of integers <int32> [ items <int32 > ] Oceanbolt database identifier of the discharge port. |
dischargePortUnlocode | Array of strings List of five letter UNLOCODEs for discharge (import) ports to filter on. |
dischargeBerthId | Array of integers <int32> [ items <int32 > ] Oceanbolt database identifier of the discharge berth/terminal. |
startDate | string The UTC start date of the date filter. |
endDate | string The UTC end date of the date filter. |
loadCountryCode | Array of strings List of two letter ISO country codes for loading (export) countries to filter on. |
dischargeCountryCode | Array of strings List of two letter ISO country codes for discharge (import) countries to filter on. |
loadRegion | Array of strings List of loading regions to filter on. Allowed values can be obtained from the /entities/regions endpoint. |
dischargeRegion | Array of strings List of discharge regions to filter on. Allowed values can be obtained from the /entities/regions endpoint. |
status | Array of strings |
excludeIntraCountry | boolean Determines whether to include/exclude intra country voyages. Default is to include. |
excludeUnknownDestinations | boolean Determines whether to include/exclude voyages with unknown destination. Default is to include. |
excludeMissingLoadBerth | boolean Determines whether to include/exclude voyages with that have a missing load_berth_id. Default is to include. |
excludeMissingDischargeBerth | boolean Determines whether to include/exclude voyages with that have a missing discharge_berth_id. Default is to include. |
nextToken | string The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page. |
maxResults | integer <int32> An optional limit for the number of resources returned in a single call. |
format | string The return format of the data ["csv", "json", "xlsx"]. Default is "json". |
groupBy | string Determines the grouping of the timeseries data. This parameter only applies to the /tradeflows/timeseries endpoint. |
pivotBy | string Not implemented. |
tallFormat | boolean Not implemented. |
metric | string The metric to retrieve for timeseries aggregations. Allowed values: ["volume","count","ton_mile_calculated","ton_mile_actual","average_haul","average_speed", "volume_times_duration"]. Default is "volume". |
parceling | Array of strings List of parceling statuses to retrieve. Allowed values are: ["include","exclude","only"]. |
limitGroups | boolean Flag to indicate whether grouped timeseries should be limited to top N entries. If the parameter is present, the endpoint will only return the top N groups, and the remaining entries will be grouped into others. |
lastNDays | integer <int32> Short hand parameter for quickly getting data for the last N days. Cannot be supplied along either start_date or end_date. |
sort | string Specifies whether results should be sorted in ascending or descending order. Allowed values: ["asc","desc"]. |
category | string Specifies the base category for aggregation queries. This parameter only has effect on the GetTradeFlowAggregation method (REST endpoint: /tradeflows/aggregation). |
object (filtersVesselFilter) |
{- "frequency": "string",
- "commodity": [
- "string"
], - "commodityGroup": [
- "string"
], - "flowDirection": "string",
- "loadPortId": [
- 0
], - "loadPortUnlocode": [
- "string"
], - "loadBerthId": [
- 0
], - "dischargePortId": [
- 0
], - "dischargePortUnlocode": [
- "string"
], - "dischargeBerthId": [
- 0
], - "startDate": "string",
- "endDate": "string",
- "loadCountryCode": [
- "string"
], - "dischargeCountryCode": [
- "string"
], - "loadRegion": [
- "string"
], - "dischargeRegion": [
- "string"
], - "status": [
- "string"
], - "excludeIntraCountry": true,
- "excludeUnknownDestinations": true,
- "excludeMissingLoadBerth": true,
- "excludeMissingDischargeBerth": true,
- "nextToken": "string",
- "maxResults": 0,
- "format": "string",
- "groupBy": "string",
- "pivotBy": "string",
- "tallFormat": true,
- "metric": "string",
- "parceling": [
- "string"
], - "limitGroups": true,
- "lastNDays": 0,
- "sort": "string",
- "category": "string",
- "vesselFilter": {
- "imo": [
- 0
], - "beam": [
- 0
], - "built": [
- 0
], - "dwt": [
- 0
], - "flagState": [
- "string"
], - "gasCapacityCbm": [
- 0
], - "geared": true,
- "grainCapacity": [
- 0
], - "gt": [
- 0
], - "iceClassed": true,
- "loa": [
- 0
], - "logFitted": true,
- "maxDraught": [
- 0
], - "mpv": true,
- "segment": [
- "string"
], - "selfUnloader": true,
- "subSegment": [
- "string"
], - "vesselType": [
- "string"
]
}
}
{- "data": [
- {
- "group": "string",
- "rows": [
- {
- "category": "string",
- "value": 0
}
]
}
], - "csv": "string",
- "xlsx": "string"
}
GetTradeFlowHistogramValues gets trade flow histogram values by grouping.
frequency | string Frequency determines the granularity/period grouping of the timeseries. Allowed values are: ["daily", "weekly", "monthly","quarterly", "yearly"]. Default value is "monthly". This parameter only applies to the /tradeflows/timeseries endpoint. |
commodity | Array of strings List of commodities to get data for (get a list of all commodities from /entities/commodities). |
commodityGroup | Array of strings List of commodity groups to get data for (get a list of all commodity groups from /entities/commodities). |
flowDirection | string This controls whether to group the date by export date/import date. Allowed values are **["export","import"]. Default value is "export". This parameter only applies to the /tradeflows/timeseries endpoint. |
loadPortId | Array of integers <int32> [ items <int32 > ] Oceanbolt database identifier of the load port. |
loadPortUnlocode | Array of strings List of five letter UNLOCODEs for load (export) ports to filter on. |
loadBerthId | Array of integers <int32> [ items <int32 > ] Oceanbolt database identifier of the load berth/terminal. |
dischargePortId | Array of integers <int32> [ items <int32 > ] Oceanbolt database identifier of the discharge port. |
dischargePortUnlocode | Array of strings List of five letter UNLOCODEs for discharge (import) ports to filter on. |
dischargeBerthId | Array of integers <int32> [ items <int32 > ] Oceanbolt database identifier of the discharge berth/terminal. |
startDate | string The UTC start date of the date filter. |
endDate | string The UTC end date of the date filter. |
loadCountryCode | Array of strings List of two letter ISO country codes for loading (export) countries to filter on. |
dischargeCountryCode | Array of strings List of two letter ISO country codes for discharge (import) countries to filter on. |
loadRegion | Array of strings List of loading regions to filter on. Allowed values can be obtained from the /entities/regions endpoint. |
dischargeRegion | Array of strings List of discharge regions to filter on. Allowed values can be obtained from the /entities/regions endpoint. |
status | Array of strings |
excludeIntraCountry | boolean Determines whether to include/exclude intra country voyages. Default is to include. |
excludeUnknownDestinations | boolean Determines whether to include/exclude voyages with unknown destination. Default is to include. |
excludeMissingLoadBerth | boolean Determines whether to include/exclude voyages with that have a missing load_berth_id. Default is to include. |
excludeMissingDischargeBerth | boolean Determines whether to include/exclude voyages with that have a missing discharge_berth_id. Default is to include. |
nextToken | string The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page. |
maxResults | integer <int32> An optional limit for the number of resources returned in a single call. |
format | string The return format of the data ["csv", "json", "xlsx"]. Default is "json". |
groupBy | string Determines the grouping of the timeseries data. This parameter only applies to the /tradeflows/timeseries endpoint. |
pivotBy | string Not implemented. |
tallFormat | boolean Not implemented. |
metric | string The metric to retrieve for timeseries aggregations. Allowed values: ["volume","count","ton_mile_calculated","ton_mile_actual","average_haul","average_speed", "volume_times_duration"]. Default is "volume". |
parceling | Array of strings List of parceling statuses to retrieve. Allowed values are: ["include","exclude","only"]. |
limitGroups | boolean Flag to indicate whether grouped timeseries should be limited to top N entries. If the parameter is present, the endpoint will only return the top N groups, and the remaining entries will be grouped into others. |
lastNDays | integer <int32> Short hand parameter for quickly getting data for the last N days. Cannot be supplied along either start_date or end_date. |
sort | string Specifies whether results should be sorted in ascending or descending order. Allowed values: ["asc","desc"]. |
category | string Specifies the base category for aggregation queries. This parameter only has effect on the GetTradeFlowAggregation method (REST endpoint: /tradeflows/aggregation). |
object (filtersVesselFilter) |
{- "frequency": "string",
- "commodity": [
- "string"
], - "commodityGroup": [
- "string"
], - "flowDirection": "string",
- "loadPortId": [
- 0
], - "loadPortUnlocode": [
- "string"
], - "loadBerthId": [
- 0
], - "dischargePortId": [
- 0
], - "dischargePortUnlocode": [
- "string"
], - "dischargeBerthId": [
- 0
], - "startDate": "string",
- "endDate": "string",
- "loadCountryCode": [
- "string"
], - "dischargeCountryCode": [
- "string"
], - "loadRegion": [
- "string"
], - "dischargeRegion": [
- "string"
], - "status": [
- "string"
], - "excludeIntraCountry": true,
- "excludeUnknownDestinations": true,
- "excludeMissingLoadBerth": true,
- "excludeMissingDischargeBerth": true,
- "nextToken": "string",
- "maxResults": 0,
- "format": "string",
- "groupBy": "string",
- "pivotBy": "string",
- "tallFormat": true,
- "metric": "string",
- "parceling": [
- "string"
], - "limitGroups": true,
- "lastNDays": 0,
- "sort": "string",
- "category": "string",
- "vesselFilter": {
- "imo": [
- 0
], - "beam": [
- 0
], - "built": [
- 0
], - "dwt": [
- 0
], - "flagState": [
- "string"
], - "gasCapacityCbm": [
- 0
], - "geared": true,
- "grainCapacity": [
- 0
], - "gt": [
- 0
], - "iceClassed": true,
- "loa": [
- 0
], - "logFitted": true,
- "maxDraught": [
- 0
], - "mpv": true,
- "segment": [
- "string"
], - "selfUnloader": true,
- "subSegment": [
- "string"
], - "vesselType": [
- "string"
]
}
}
{- "groupingVariable": "string",
- "numberOfGroups": 0,
- "groups": [
- {
- "group": "string",
- "numberOfValues": 0,
- "values": [
- 0
]
}
]
}
GetVoyages retrieves all the individual voyages for the given filter parameters. Response is paginated, and endpoint accepts a paging parameter to specify which page to return. It is also possible to set the number of voyages to return per query.
frequency | string Frequency determines the granularity/period grouping of the timeseries. Allowed values are: ["daily", "weekly", "monthly","quarterly", "yearly"]. Default value is "monthly". This parameter only applies to the /tradeflows/timeseries endpoint. |
commodity | Array of strings List of commodities to get data for (get a list of all commodities from /entities/commodities). |
commodityGroup | Array of strings List of commodity groups to get data for (get a list of all commodity groups from /entities/commodities). |
flowDirection | string This controls whether to group the date by export date/import date. Allowed values are **["export","import"]. Default value is "export". This parameter only applies to the /tradeflows/timeseries endpoint. |
loadPortId | Array of integers <int32> [ items <int32 > ] Oceanbolt database identifier of the load port. |
loadPortUnlocode | Array of strings List of five letter UNLOCODEs for load (export) ports to filter on. |
loadBerthId | Array of integers <int32> [ items <int32 > ] Oceanbolt database identifier of the load berth/terminal. |
dischargePortId | Array of integers <int32> [ items <int32 > ] Oceanbolt database identifier of the discharge port. |
dischargePortUnlocode | Array of strings List of five letter UNLOCODEs for discharge (import) ports to filter on. |
dischargeBerthId | Array of integers <int32> [ items <int32 > ] Oceanbolt database identifier of the discharge berth/terminal. |
startDate | string The UTC start date of the date filter. |
endDate | string The UTC end date of the date filter. |
loadCountryCode | Array of strings List of two letter ISO country codes for loading (export) countries to filter on. |
dischargeCountryCode | Array of strings List of two letter ISO country codes for discharge (import) countries to filter on. |
loadRegion | Array of strings List of loading regions to filter on. Allowed values can be obtained from the /entities/regions endpoint. |
dischargeRegion | Array of strings List of discharge regions to filter on. Allowed values can be obtained from the /entities/regions endpoint. |
status | Array of strings |
excludeIntraCountry | boolean Determines whether to include/exclude intra country voyages. Default is to include. |
excludeUnknownDestinations | boolean Determines whether to include/exclude voyages with unknown destination. Default is to include. |
excludeMissingLoadBerth | boolean Determines whether to include/exclude voyages with that have a missing load_berth_id. Default is to include. |
excludeMissingDischargeBerth | boolean Determines whether to include/exclude voyages with that have a missing discharge_berth_id. Default is to include. |
nextToken | string The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page. |
maxResults | integer <int32> An optional limit for the number of resources returned in a single call. |
format | string The return format of the data ["csv", "json", "xlsx"]. Default is "json". |
groupBy | string Determines the grouping of the timeseries data. This parameter only applies to the /tradeflows/timeseries endpoint. |
pivotBy | string Not implemented. |
tallFormat | boolean Not implemented. |
metric | string The metric to retrieve for timeseries aggregations. Allowed values: ["volume","count","ton_mile_calculated","ton_mile_actual","average_haul","average_speed", "volume_times_duration"]. Default is "volume". |
parceling | Array of strings List of parceling statuses to retrieve. Allowed values are: ["include","exclude","only"]. |
limitGroups | boolean Flag to indicate whether grouped timeseries should be limited to top N entries. If the parameter is present, the endpoint will only return the top N groups, and the remaining entries will be grouped into others. |
lastNDays | integer <int32> Short hand parameter for quickly getting data for the last N days. Cannot be supplied along either start_date or end_date. |
sort | string Specifies whether results should be sorted in ascending or descending order. Allowed values: ["asc","desc"]. |
category | string Specifies the base category for aggregation queries. This parameter only has effect on the GetTradeFlowAggregation method (REST endpoint: /tradeflows/aggregation). |
object (filtersVesselFilter) |
{- "frequency": "string",
- "commodity": [
- "string"
], - "commodityGroup": [
- "string"
], - "flowDirection": "string",
- "loadPortId": [
- 0
], - "loadPortUnlocode": [
- "string"
], - "loadBerthId": [
- 0
], - "dischargePortId": [
- 0
], - "dischargePortUnlocode": [
- "string"
], - "dischargeBerthId": [
- 0
], - "startDate": "string",
- "endDate": "string",
- "loadCountryCode": [
- "string"
], - "dischargeCountryCode": [
- "string"
], - "loadRegion": [
- "string"
], - "dischargeRegion": [
- "string"
], - "status": [
- "string"
], - "excludeIntraCountry": true,
- "excludeUnknownDestinations": true,
- "excludeMissingLoadBerth": true,
- "excludeMissingDischargeBerth": true,
- "nextToken": "string",
- "maxResults": 0,
- "format": "string",
- "groupBy": "string",
- "pivotBy": "string",
- "tallFormat": true,
- "metric": "string",
- "parceling": [
- "string"
], - "limitGroups": true,
- "lastNDays": 0,
- "sort": "string",
- "category": "string",
- "vesselFilter": {
- "imo": [
- 0
], - "beam": [
- 0
], - "built": [
- 0
], - "dwt": [
- 0
], - "flagState": [
- "string"
], - "gasCapacityCbm": [
- 0
], - "geared": true,
- "grainCapacity": [
- 0
], - "gt": [
- 0
], - "iceClassed": true,
- "loa": [
- 0
], - "logFitted": true,
- "maxDraught": [
- 0
], - "mpv": true,
- "segment": [
- "string"
], - "selfUnloader": true,
- "subSegment": [
- "string"
], - "vesselType": [
- "string"
]
}
}
{- "data": [
- {
- "voyageId": "string",
- "flowId": "string",
- "imo": 0,
- "vesselName": "string",
- "segment": "string",
- "subSegment": "string",
- "dwt": 0,
- "commodity": "string",
- "commodityValue": "string",
- "commodityGroup": "string",
- "volume": 0,
- "loadPortId": 0,
- "loadPortName": "string",
- "loadPortUnlocode": "string",
- "loadBerthId": 0,
- "loadBerthName": "string",
- "loadCountryCode": "string",
- "loadCountry": "string",
- "loadRegion": "string",
- "loadPortArrivedAt": "string",
- "loadPortBerthedAt": "string",
- "loadPortUnberthedAt": "string",
- "loadPortDepartedAt": "string",
- "loadPortDaysTotal": 0,
- "loadPortDaysBerthed": 0,
- "loadPortDaysWaiting": 0,
- "dischargePortId": 0,
- "dischargePortName": "string",
- "dischargePortUnlocode": "string",
- "dischargeBerthId": 0,
- "dischargeBerthName": "string",
- "dischargeCountryCode": "string",
- "dischargeCountry": "string",
- "dischargeRegion": "string",
- "dischargePortArrivedAt": "string",
- "dischargePortBerthedAt": "string",
- "dischargePortUnberthedAt": "string",
- "dischargePortDepartedAt": "string",
- "dischargePortDaysTotal": 0,
- "dischargePortDaysBerthed": 0,
- "dischargePortDaysWaiting": 0,
- "daysSteaming": 0,
- "daysTotalDuration": 0,
- "distanceCalculated": 0,
- "distanceActual": 0,
- "eta": "string",
- "destination": "string",
- "status": "string",
- "parceling": true,
- "ballastStartedAt": "string",
- "ballastPortName": "string",
- "ballastPortId": 0,
- "ballastPortUnlocode": "string",
- "ballastCountry": "string",
- "ballastCountryCode": "string",
- "ballastRegion": "string",
- "tonMileActual": 0,
- "tonMileCalculated": 0
}
], - "nextToken": "string",
- "prevToken": "string",
- "csv": "string",
- "xlsx": "string"
}
Gets aggregated trade flow timeseries (on the water) by period.
frequency | string Frequency determines the granularity/period grouping of the timeseries. Allowed values are: ["daily", "weekly", "monthly","quarterly", "yearly"]. Default value is "monthly". This parameter only applies to the /tradeflows/timeseries endpoint. |
commodity | Array of strings List of commodities to get data for (get a list of all commodities from /entities/commodities). |
commodityGroup | Array of strings List of commodity groups to get data for (get a list of all commodity groups from /entities/commodities). |
flowDirection | string This controls whether to group the date by export date/import date. Allowed values are **["export","import"]. Default value is "export". This parameter only applies to the /tradeflows/timeseries endpoint. |
loadPortId | Array of integers <int32> [ items <int32 > ] Oceanbolt database identifier of the load port. |
loadPortUnlocode | Array of strings List of five letter UNLOCODEs for load (export) ports to filter on. |
loadBerthId | Array of integers <int32> [ items <int32 > ] Oceanbolt database identifier of the load berth/terminal. |
dischargePortId | Array of integers <int32> [ items <int32 > ] Oceanbolt database identifier of the discharge port. |
dischargePortUnlocode | Array of strings List of five letter UNLOCODEs for discharge (import) ports to filter on. |
dischargeBerthId | Array of integers <int32> [ items <int32 > ] Oceanbolt database identifier of the discharge berth/terminal. |
startDate | string The UTC start date of the date filter. |
endDate | string The UTC end date of the date filter. |
loadCountryCode | Array of strings List of two letter ISO country codes for loading (export) countries to filter on. |
dischargeCountryCode | Array of strings List of two letter ISO country codes for discharge (import) countries to filter on. |
loadRegion | Array of strings List of loading regions to filter on. Allowed values can be obtained from the /entities/regions endpoint. |
dischargeRegion | Array of strings List of discharge regions to filter on. Allowed values can be obtained from the /entities/regions endpoint. |
status | Array of strings |
excludeIntraCountry | boolean Determines whether to include/exclude intra country voyages. Default is to include. |
excludeUnknownDestinations | boolean Determines whether to include/exclude voyages with unknown destination. Default is to include. |
excludeMissingLoadBerth | boolean Determines whether to include/exclude voyages with that have a missing load_berth_id. Default is to include. |
excludeMissingDischargeBerth | boolean Determines whether to include/exclude voyages with that have a missing discharge_berth_id. Default is to include. |
nextToken | string The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page. |
maxResults | integer <int32> An optional limit for the number of resources returned in a single call. |
format | string The return format of the data ["csv", "json", "xlsx"]. Default is "json". |
groupBy | string Determines the grouping of the timeseries data. This parameter only applies to the /tradeflows/timeseries endpoint. |
pivotBy | string Not implemented. |
tallFormat | boolean Not implemented. |
metric | string The metric to retrieve for timeseries aggregations. Allowed values: ["volume","count","ton_mile_calculated","ton_mile_actual","average_haul","average_speed", "volume_times_duration"]. Default is "volume". |
parceling | Array of strings List of parceling statuses to retrieve. Allowed values are: ["include","exclude","only"]. |
limitGroups | boolean Flag to indicate whether grouped timeseries should be limited to top N entries. If the parameter is present, the endpoint will only return the top N groups, and the remaining entries will be grouped into others. |
lastNDays | integer <int32> Short hand parameter for quickly getting data for the last N days. Cannot be supplied along either start_date or end_date. |
sort | string Specifies whether results should be sorted in ascending or descending order. Allowed values: ["asc","desc"]. |
category | string Specifies the base category for aggregation queries. This parameter only has effect on the GetTradeFlowAggregation method (REST endpoint: /tradeflows/aggregation). |
object (filtersVesselFilter) |
{- "frequency": "string",
- "commodity": [
- "string"
], - "commodityGroup": [
- "string"
], - "flowDirection": "string",
- "loadPortId": [
- 0
], - "loadPortUnlocode": [
- "string"
], - "loadBerthId": [
- 0
], - "dischargePortId": [
- 0
], - "dischargePortUnlocode": [
- "string"
], - "dischargeBerthId": [
- 0
], - "startDate": "string",
- "endDate": "string",
- "loadCountryCode": [
- "string"
], - "dischargeCountryCode": [
- "string"
], - "loadRegion": [
- "string"
], - "dischargeRegion": [
- "string"
], - "status": [
- "string"
], - "excludeIntraCountry": true,
- "excludeUnknownDestinations": true,
- "excludeMissingLoadBerth": true,
- "excludeMissingDischargeBerth": true,
- "nextToken": "string",
- "maxResults": 0,
- "format": "string",
- "groupBy": "string",
- "pivotBy": "string",
- "tallFormat": true,
- "metric": "string",
- "parceling": [
- "string"
], - "limitGroups": true,
- "lastNDays": 0,
- "sort": "string",
- "category": "string",
- "vesselFilter": {
- "imo": [
- 0
], - "beam": [
- 0
], - "built": [
- 0
], - "dwt": [
- 0
], - "flagState": [
- "string"
], - "gasCapacityCbm": [
- 0
], - "geared": true,
- "grainCapacity": [
- 0
], - "gt": [
- 0
], - "iceClassed": true,
- "loa": [
- 0
], - "logFitted": true,
- "maxDraught": [
- 0
], - "mpv": true,
- "segment": [
- "string"
], - "selfUnloader": true,
- "subSegment": [
- "string"
], - "vesselType": [
- "string"
]
}
}
{- "timeseries": [
- {
- "group": "string",
- "groupValue": 0,
- "rows": [
- {
- "date": "string",
- "value": 0
}
]
}
], - "csv": "string",
- "xlsx": "string"
}
Gets aggregated trade flow timeseries by period.
frequency | string Frequency determines the granularity/period grouping of the timeseries. Allowed values are: ["daily", "weekly", "monthly","quarterly", "yearly"]. Default value is "monthly". This parameter only applies to the /tradeflows/timeseries endpoint. |
commodity | Array of strings List of commodities to get data for (get a list of all commodities from /entities/commodities). |
commodityGroup | Array of strings List of commodity groups to get data for (get a list of all commodity groups from /entities/commodities). |
flowDirection | string This controls whether to group the date by export date/import date. Allowed values are **["export","import"]. Default value is "export". This parameter only applies to the /tradeflows/timeseries endpoint. |
loadPortId | Array of integers <int32> [ items <int32 > ] Oceanbolt database identifier of the load port. |
loadPortUnlocode | Array of strings List of five letter UNLOCODEs for load (export) ports to filter on. |
loadBerthId | Array of integers <int32> [ items <int32 > ] Oceanbolt database identifier of the load berth/terminal. |
dischargePortId | Array of integers <int32> [ items <int32 > ] Oceanbolt database identifier of the discharge port. |
dischargePortUnlocode | Array of strings List of five letter UNLOCODEs for discharge (import) ports to filter on. |
dischargeBerthId | Array of integers <int32> [ items <int32 > ] Oceanbolt database identifier of the discharge berth/terminal. |
startDate | string The UTC start date of the date filter. |
endDate | string The UTC end date of the date filter. |
loadCountryCode | Array of strings List of two letter ISO country codes for loading (export) countries to filter on. |
dischargeCountryCode | Array of strings List of two letter ISO country codes for discharge (import) countries to filter on. |
loadRegion | Array of strings List of loading regions to filter on. Allowed values can be obtained from the /entities/regions endpoint. |
dischargeRegion | Array of strings List of discharge regions to filter on. Allowed values can be obtained from the /entities/regions endpoint. |
status | Array of strings |
excludeIntraCountry | boolean Determines whether to include/exclude intra country voyages. Default is to include. |
excludeUnknownDestinations | boolean Determines whether to include/exclude voyages with unknown destination. Default is to include. |
excludeMissingLoadBerth | boolean Determines whether to include/exclude voyages with that have a missing load_berth_id. Default is to include. |
excludeMissingDischargeBerth | boolean Determines whether to include/exclude voyages with that have a missing discharge_berth_id. Default is to include. |
nextToken | string The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page. |
maxResults | integer <int32> An optional limit for the number of resources returned in a single call. |
format | string The return format of the data ["csv", "json", "xlsx"]. Default is "json". |
groupBy | string Determines the grouping of the timeseries data. This parameter only applies to the /tradeflows/timeseries endpoint. |
pivotBy | string Not implemented. |
tallFormat | boolean Not implemented. |
metric | string The metric to retrieve for timeseries aggregations. Allowed values: ["volume","count","ton_mile_calculated","ton_mile_actual","average_haul","average_speed", "volume_times_duration"]. Default is "volume". |
parceling | Array of strings List of parceling statuses to retrieve. Allowed values are: ["include","exclude","only"]. |
limitGroups | boolean Flag to indicate whether grouped timeseries should be limited to top N entries. If the parameter is present, the endpoint will only return the top N groups, and the remaining entries will be grouped into others. |
lastNDays | integer <int32> Short hand parameter for quickly getting data for the last N days. Cannot be supplied along either start_date or end_date. |
sort | string Specifies whether results should be sorted in ascending or descending order. Allowed values: ["asc","desc"]. |
category | string Specifies the base category for aggregation queries. This parameter only has effect on the GetTradeFlowAggregation method (REST endpoint: /tradeflows/aggregation). |
object (filtersVesselFilter) |
{- "frequency": "string",
- "commodity": [
- "string"
], - "commodityGroup": [
- "string"
], - "flowDirection": "string",
- "loadPortId": [
- 0
], - "loadPortUnlocode": [
- "string"
], - "loadBerthId": [
- 0
], - "dischargePortId": [
- 0
], - "dischargePortUnlocode": [
- "string"
], - "dischargeBerthId": [
- 0
], - "startDate": "string",
- "endDate": "string",
- "loadCountryCode": [
- "string"
], - "dischargeCountryCode": [
- "string"
], - "loadRegion": [
- "string"
], - "dischargeRegion": [
- "string"
], - "status": [
- "string"
], - "excludeIntraCountry": true,
- "excludeUnknownDestinations": true,
- "excludeMissingLoadBerth": true,
- "excludeMissingDischargeBerth": true,
- "nextToken": "string",
- "maxResults": 0,
- "format": "string",
- "groupBy": "string",
- "pivotBy": "string",
- "tallFormat": true,
- "metric": "string",
- "parceling": [
- "string"
], - "limitGroups": true,
- "lastNDays": 0,
- "sort": "string",
- "category": "string",
- "vesselFilter": {
- "imo": [
- 0
], - "beam": [
- 0
], - "built": [
- 0
], - "dwt": [
- 0
], - "flagState": [
- "string"
], - "gasCapacityCbm": [
- 0
], - "geared": true,
- "grainCapacity": [
- 0
], - "gt": [
- 0
], - "iceClassed": true,
- "loa": [
- 0
], - "logFitted": true,
- "maxDraught": [
- 0
], - "mpv": true,
- "segment": [
- "string"
], - "selfUnloader": true,
- "subSegment": [
- "string"
], - "vesselType": [
- "string"
]
}
}
{- "timeseries": [
- {
- "group": "string",
- "groupValue": 0,
- "rows": [
- {
- "date": "string",
- "value": 0
}
]
}
], - "csv": "string",
- "xlsx": "string"
}
GetLocationVolume gets location (port/berth/country/region) flow stats for the given filter parameters
frequency | string Frequency determines the granularity/period grouping of the timeseries. Allowed values are: ["daily", "weekly", "monthly","quarterly", "yearly"]. Default value is "monthly". This parameter only applies to the /tradeflows/timeseries endpoint. |
commodity | Array of strings List of commodities to get data for (get a list of all commodities from /entities/commodities). |
commodityGroup | Array of strings List of commodity groups to get data for (get a list of all commodity groups from /entities/commodities). |
flowDirection | string This controls whether to group the date by export date/import date. Allowed values are **["export","import"]. Default value is "export". This parameter only applies to the /tradeflows/timeseries endpoint. |
loadPortId | Array of integers <int32> [ items <int32 > ] Oceanbolt database identifier of the load port. |
loadPortUnlocode | Array of strings List of five letter UNLOCODEs for load (export) ports to filter on. |
loadBerthId | Array of integers <int32> [ items <int32 > ] Oceanbolt database identifier of the load berth/terminal. |
dischargePortId | Array of integers <int32> [ items <int32 > ] Oceanbolt database identifier of the discharge port. |
dischargePortUnlocode | Array of strings List of five letter UNLOCODEs for discharge (import) ports to filter on. |
dischargeBerthId | Array of integers <int32> [ items <int32 > ] Oceanbolt database identifier of the discharge berth/terminal. |
startDate | string The UTC start date of the date filter. |
endDate | string The UTC end date of the date filter. |
loadCountryCode | Array of strings List of two letter ISO country codes for loading (export) countries to filter on. |
dischargeCountryCode | Array of strings List of two letter ISO country codes for discharge (import) countries to filter on. |
loadRegion | Array of strings List of loading regions to filter on. Allowed values can be obtained from the /entities/regions endpoint. |
dischargeRegion | Array of strings List of discharge regions to filter on. Allowed values can be obtained from the /entities/regions endpoint. |
status | Array of strings |
excludeIntraCountry | boolean Determines whether to include/exclude intra country voyages. Default is to include. |
excludeUnknownDestinations | boolean Determines whether to include/exclude voyages with unknown destination. Default is to include. |
excludeMissingLoadBerth | boolean Determines whether to include/exclude voyages with that have a missing load_berth_id. Default is to include. |
excludeMissingDischargeBerth | boolean Determines whether to include/exclude voyages with that have a missing discharge_berth_id. Default is to include. |
nextToken | string The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page. |
maxResults | integer <int32> An optional limit for the number of resources returned in a single call. |
format | string The return format of the data ["csv", "json", "xlsx"]. Default is "json". |
groupBy | string Determines the grouping of the timeseries data. This parameter only applies to the /tradeflows/timeseries endpoint. |
pivotBy | string Not implemented. |
tallFormat | boolean Not implemented. |
metric | string The metric to retrieve for timeseries aggregations. Allowed values: ["volume","count","ton_mile_calculated","ton_mile_actual","average_haul","average_speed", "volume_times_duration"]. Default is "volume". |
parceling | Array of strings List of parceling statuses to retrieve. Allowed values are: ["include","exclude","only"]. |
limitGroups | boolean Flag to indicate whether grouped timeseries should be limited to top N entries. If the parameter is present, the endpoint will only return the top N groups, and the remaining entries will be grouped into others. |
lastNDays | integer <int32> Short hand parameter for quickly getting data for the last N days. Cannot be supplied along either start_date or end_date. |
sort | string Specifies whether results should be sorted in ascending or descending order. Allowed values: ["asc","desc"]. |
category | string Specifies the base category for aggregation queries. This parameter only has effect on the GetTradeFlowAggregation method (REST endpoint: /tradeflows/aggregation). |
object (filtersVesselFilter) |
{- "frequency": "string",
- "commodity": [
- "string"
], - "commodityGroup": [
- "string"
], - "flowDirection": "string",
- "loadPortId": [
- 0
], - "loadPortUnlocode": [
- "string"
], - "loadBerthId": [
- 0
], - "dischargePortId": [
- 0
], - "dischargePortUnlocode": [
- "string"
], - "dischargeBerthId": [
- 0
], - "startDate": "string",
- "endDate": "string",
- "loadCountryCode": [
- "string"
], - "dischargeCountryCode": [
- "string"
], - "loadRegion": [
- "string"
], - "dischargeRegion": [
- "string"
], - "status": [
- "string"
], - "excludeIntraCountry": true,
- "excludeUnknownDestinations": true,
- "excludeMissingLoadBerth": true,
- "excludeMissingDischargeBerth": true,
- "nextToken": "string",
- "maxResults": 0,
- "format": "string",
- "groupBy": "string",
- "pivotBy": "string",
- "tallFormat": true,
- "metric": "string",
- "parceling": [
- "string"
], - "limitGroups": true,
- "lastNDays": 0,
- "sort": "string",
- "category": "string",
- "vesselFilter": {
- "imo": [
- 0
], - "beam": [
- 0
], - "built": [
- 0
], - "dwt": [
- 0
], - "flagState": [
- "string"
], - "gasCapacityCbm": [
- 0
], - "geared": true,
- "grainCapacity": [
- 0
], - "gt": [
- 0
], - "iceClassed": true,
- "loa": [
- 0
], - "logFitted": true,
- "maxDraught": [
- 0
], - "mpv": true,
- "segment": [
- "string"
], - "selfUnloader": true,
- "subSegment": [
- "string"
], - "vesselType": [
- "string"
]
}
}
{- "data": [
- {
- "locationName": "string",
- "locationId": "string",
- "locationType": "string",
- "countryCode": "string",
- "value": 0,
- "coords": {
- "lat": 0,
- "lon": 0
}
}
]
}
GetTradeflowModelVoyage gets trade flow model voyage values by grouping
frequency | string Frequency determines the granularity/period grouping of the timeseries. Allowed values are: ["daily", "weekly", "monthly","quarterly", "yearly"]. Default value is "monthly". This parameter only applies to the /tradeflows/timeseries endpoint. |
commodity | Array of strings List of commodities to get data for (get a list of all commodities from /entities/commodities). |
commodityGroup | Array of strings List of commodity groups to get data for (get a list of all commodity groups from /entities/commodities). |
flowDirection | string This controls whether to group the date by export date/import date. Allowed values are **["export","import"]. Default value is "export". This parameter only applies to the /tradeflows/timeseries endpoint. |
loadPortId | Array of integers <int32> [ items <int32 > ] Oceanbolt database identifier of the load port. |
loadPortUnlocode | Array of strings List of five letter UNLOCODEs for load (export) ports to filter on. |
loadBerthId | Array of integers <int32> [ items <int32 > ] Oceanbolt database identifier of the load berth/terminal. |
dischargePortId | Array of integers <int32> [ items <int32 > ] Oceanbolt database identifier of the discharge port. |
dischargePortUnlocode | Array of strings List of five letter UNLOCODEs for discharge (import) ports to filter on. |
dischargeBerthId | Array of integers <int32> [ items <int32 > ] Oceanbolt database identifier of the discharge berth/terminal. |
startDate | string The UTC start date of the date filter. |
endDate | string The UTC end date of the date filter. |
loadCountryCode | Array of strings List of two letter ISO country codes for loading (export) countries to filter on. |
dischargeCountryCode | Array of strings List of two letter ISO country codes for discharge (import) countries to filter on. |
loadRegion | Array of strings List of loading regions to filter on. Allowed values can be obtained from the /entities/regions endpoint. |
dischargeRegion | Array of strings List of discharge regions to filter on. Allowed values can be obtained from the /entities/regions endpoint. |
status | Array of strings |
excludeIntraCountry | boolean Determines whether to include/exclude intra country voyages. Default is to include. |
excludeUnknownDestinations | boolean Determines whether to include/exclude voyages with unknown destination. Default is to include. |
excludeMissingLoadBerth | boolean Determines whether to include/exclude voyages with that have a missing load_berth_id. Default is to include. |
excludeMissingDischargeBerth | boolean Determines whether to include/exclude voyages with that have a missing discharge_berth_id. Default is to include. |
nextToken | string The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page. |
maxResults | integer <int32> An optional limit for the number of resources returned in a single call. |
format | string The return format of the data ["csv", "json", "xlsx"]. Default is "json". |
groupBy | string Determines the grouping of the timeseries data. This parameter only applies to the /tradeflows/timeseries endpoint. |
pivotBy | string Not implemented. |
tallFormat | boolean Not implemented. |
metric | string The metric to retrieve for timeseries aggregations. Allowed values: ["volume","count","ton_mile_calculated","ton_mile_actual","average_haul","average_speed", "volume_times_duration"]. Default is "volume". |
parceling | Array of strings List of parceling statuses to retrieve. Allowed values are: ["include","exclude","only"]. |
limitGroups | boolean Flag to indicate whether grouped timeseries should be limited to top N entries. If the parameter is present, the endpoint will only return the top N groups, and the remaining entries will be grouped into others. |
lastNDays | integer <int32> Short hand parameter for quickly getting data for the last N days. Cannot be supplied along either start_date or end_date. |
sort | string Specifies whether results should be sorted in ascending or descending order. Allowed values: ["asc","desc"]. |
category | string Specifies the base category for aggregation queries. This parameter only has effect on the GetTradeFlowAggregation method (REST endpoint: /tradeflows/aggregation). |
object (filtersVesselFilter) |
{- "frequency": "string",
- "commodity": [
- "string"
], - "commodityGroup": [
- "string"
], - "flowDirection": "string",
- "loadPortId": [
- 0
], - "loadPortUnlocode": [
- "string"
], - "loadBerthId": [
- 0
], - "dischargePortId": [
- 0
], - "dischargePortUnlocode": [
- "string"
], - "dischargeBerthId": [
- 0
], - "startDate": "string",
- "endDate": "string",
- "loadCountryCode": [
- "string"
], - "dischargeCountryCode": [
- "string"
], - "loadRegion": [
- "string"
], - "dischargeRegion": [
- "string"
], - "status": [
- "string"
], - "excludeIntraCountry": true,
- "excludeUnknownDestinations": true,
- "excludeMissingLoadBerth": true,
- "excludeMissingDischargeBerth": true,
- "nextToken": "string",
- "maxResults": 0,
- "format": "string",
- "groupBy": "string",
- "pivotBy": "string",
- "tallFormat": true,
- "metric": "string",
- "parceling": [
- "string"
], - "limitGroups": true,
- "lastNDays": 0,
- "sort": "string",
- "category": "string",
- "vesselFilter": {
- "imo": [
- 0
], - "beam": [
- 0
], - "built": [
- 0
], - "dwt": [
- 0
], - "flagState": [
- "string"
], - "gasCapacityCbm": [
- 0
], - "geared": true,
- "grainCapacity": [
- 0
], - "gt": [
- 0
], - "iceClassed": true,
- "loa": [
- 0
], - "logFitted": true,
- "maxDraught": [
- 0
], - "mpv": true,
- "segment": [
- "string"
], - "selfUnloader": true,
- "subSegment": [
- "string"
], - "vesselType": [
- "string"
]
}
}
{- "groupingVariable": "string",
- "numberOfGroups": 0,
- "tradeLaneMetrics": [
- {
- "group": "string",
- "avgDaysAtSea": 0,
- "avgLoadPortDaysWaiting": 0,
- "avgLoadPortDaysBerthed": 0,
- "avgDischargePortDaysWaiting": 0,
- "avgDischargePortDaysBerthed": 0,
- "avgVoyageDurationsDays": 0,
- "avgSpeed": 0,
- "avgVolume": 0,
- "avgDistanceNm": 0,
- "avgDistanceCalculatedNm": 0,
- "medianDaysAtSea": 0,
- "medianLoadPortDaysWaiting": 0,
- "medianLoadPortDaysBerthed": 0,
- "medianDischargePortDaysWaiting": 0,
- "medianDischargePortDaysBerthed": 0,
- "medianVolume": 0,
- "medianDistanceNm": 0,
- "numberOfVoyages": 0,
- "sumOfVolume": 0,
- "uniqueVessels": 0,
- "uniqueLoadPorts": 0,
- "uniqueDischargePorts": 0
}
]
}
Generates summary data regarding AIS received during a specific requested period for a single vessel
imo | integer <int64> (IMO number of the vessel) |
startTime | string <date-time> (Start time for the AIS summary request) |
endTime | string <date-time> (End time for the AIS summary request) |
resolution | string (GetAisSummaryRequestResolution) Default: "RESOLUTION" Enum: "RESOLUTION" "DAILY" "HOURLY" "FULL" |
{- "imo": 0,
- "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "resolution": "RESOLUTION"
}
{- "distanceTraveledNm": 0,
- "averageSpeedKnots": 0,
- "numberOfPositions": 0,
- "initialTimestampForPeriod": "2019-08-24T14:15:22Z",
- "lastTimestampForPeriod": "2019-08-24T14:15:22Z",
- "requestedStartTime": "2019-08-24T14:15:22Z",
- "requestedEndTime": "2019-08-24T14:15:22Z"
}
Fetches ais based dark period events for a single vessel. A dark period event, is where a vessel has not transmitted AIS data for a period greater than 6 hours.
imo | Array of integers <int32> (included vessel imos) [ items <int32 > ] |
startDate | string |
endDate | string |
format | string (response format (default is json, supported: csv, xlsx)) |
{- "imo": [
- 0
], - "startDate": "string",
- "endDate": "string",
- "format": "string"
}
{- "darkPeriodEvents": [
- {
- "platform": "PLATFORM",
- "imo": 0,
- "vesselName": "string",
- "startedAt": "string",
- "endedAt": "string",
- "startZoneId": 0,
- "startZoneName": "string",
- "endZoneId": 0,
- "endZoneName": "string",
- "startLat": 0,
- "startLon": 0,
- "endLat": 0,
- "endLon": 0,
- "durationHours": 0,
- "classification": "STATUS"
}
], - "csv": "string",
- "xlsx": "string"
}
Vessels gets a list of vessels for the given filter parameters
eta | Array of strings (before,after on the eta columns) |
loadRegion | Array of strings (included load regions) |
loadCountry | Array of strings (included load countries) |
loadPort | Array of strings (included load ports) |
destinationRegion | Array of strings (included discharge regions) |
destinationCountry | Array of strings (included discharge countries) |
destinationPort | Array of strings (included discharge ports) |
destinationUnlocode | Array of strings (included discharge port unlocodes) |
cargoStatus | Array of strings (included cargo states) |
ladenStatus | Array of strings (included laden states) |
ladenStatusDraught | Array of strings (included laden states) |
speed | Array of numbers <double> (min,max on the speed column) [ items <double > ] |
draught | Array of numbers <double> (min,max on the draught column) [ items <double > ] |
excludeUnknownDestination | boolean (include rows where destination_country is blank) |
group | string (group by filter parameter) |
range | string (range value for timeseries request (ex: month/monthly, week/weekly)) |
flowDate | string (flow date (of load/discharge) for timeseries request) |
commodity | Array of strings (included commodity values) |
commodityGroup | Array of strings (included commodity values) |
zoneId | Array of integers <int64> (included zone ids) [ items <int64 > ] |
portId | Array of integers <int64> (included port ids) [ items <int64 > ] |
anchorageId | Array of integers <int64> (included anchorage ids) [ items <int64 > ] |
berthId | Array of integers <int64> (included berth ids) [ items <int64 > ] |
shipyardId | Array of integers <int64> (included shipyard ids) [ items <int64 > ] |
direction | Array of strings (included directions) |
portStatus | Array of strings (included port_statuses) |
limit | integer <int64> |
hoursSinceLast | integer <int64> (parameter for aisquality request) |
format | string (response format (default is json, supported csv)) |
object (filtersVesselFilter) |
{- "eta": [
- "string"
], - "loadRegion": [
- "string"
], - "loadCountry": [
- "string"
], - "loadPort": [
- "string"
], - "destinationRegion": [
- "string"
], - "destinationCountry": [
- "string"
], - "destinationPort": [
- "string"
], - "destinationUnlocode": [
- "string"
], - "cargoStatus": [
- "string"
], - "ladenStatus": [
- "string"
], - "ladenStatusDraught": [
- "string"
], - "speed": [
- 0
], - "draught": [
- 0
], - "excludeUnknownDestination": true,
- "group": "string",
- "range": "string",
- "flowDate": "string",
- "commodity": [
- "string"
], - "commodityGroup": [
- "string"
], - "zoneId": [
- 0
], - "portId": [
- 0
], - "anchorageId": [
- 0
], - "berthId": [
- 0
], - "shipyardId": [
- 0
], - "direction": [
- "string"
], - "portStatus": [
- "string"
], - "limit": 0,
- "hoursSinceLast": 0,
- "format": "string",
- "vesselFilter": {
- "imo": [
- 0
], - "beam": [
- 0
], - "built": [
- 0
], - "dwt": [
- 0
], - "flagState": [
- "string"
], - "gasCapacityCbm": [
- 0
], - "geared": true,
- "grainCapacity": [
- 0
], - "gt": [
- 0
], - "iceClassed": true,
- "loa": [
- 0
], - "logFitted": true,
- "maxDraught": [
- 0
], - "mpv": true,
- "segment": [
- "string"
], - "selfUnloader": true,
- "subSegment": [
- "string"
], - "vesselType": [
- "string"
]
}
}
{- "vessels": [
- {
- "vesselName": "string",
- "imo": 0,
- "mmsi": 0,
- "lastPositionReceived": "string",
- "lastStaticReceived": "string",
- "dwt": 0,
- "segment": "string",
- "subSegment": "string",
- "zoneId": 0,
- "zoneName": "string",
- "portId": 0,
- "portName": "string",
- "anchorageId": 0,
- "anchorageName": "string",
- "berthId": 0,
- "berthName": "string",
- "shipyardId": 0,
- "shipyardName": "string",
- "relatedPortId": 0,
- "relatedPortName": "string",
- "cargoStatus": "string",
- "ladenStatus": "string",
- "ladenStatusDraught": "string",
- "destination": "string",
- "destinationPortId": 0,
- "destinationPortUnlocode": "string",
- "destinationPortName": "string",
- "destinationRegion": "string",
- "destinationCountryCode": "string",
- "destinationScore": 0,
- "predictedDestinationPortId": 0,
- "predictedDestinationPortUnlocode": "string",
- "predictedDestinationPortName": "string",
- "predictedDestinationRegion": "string",
- "predictedDestinationCountryCode": "string",
- "predictedDestinationScore": 0,
- "predictionDestinationDescription": "string",
- "predictedArrival": "string",
- "eta": "string",
- "navigationalStatus": 0,
- "lastPortName": "string",
- "lastCountryCode": "string",
- "lastRegion": "string",
- "portCallStatus": "string",
- "commodityGroup": "string",
- "commodityName": "string",
- "direction": "string",
- "speed": 0
}
], - "csv": "string",
- "xlsx": "string"
}
Fetches ais based stoppage events for a single vessel
imo | Array of integers <int32> (included vessel imos) [ items <int32 > ] |
startDate | string |
endDate | string |
format | string (response format (default is json, supported: csv, xlsx)) |
{- "imo": [
- 0
], - "startDate": "string",
- "endDate": "string",
- "format": "string"
}
{- "stoppageEvents": [
- {
- "imo": 0,
- "startedAt": "string",
- "endedAt": "string",
- "portId": 0,
- "portName": "string",
- "zoneId": 0,
- "zoneName": "string",
- "minSpeedObserved": 0,
- "durationHours": 0,
- "lat": 0,
- "lon": 0,
- "classification": "string"
}
], - "csv": "string",
- "xlsx": "string"
}
Returns historical vessel states for the given dates and imo numbers supplied.
imo | Array of integers <int32> (included vessel imos) [ items <int32 > ] |
startDate | string |
endDate | string |
{- "imo": [
- 0
], - "startDate": "string",
- "endDate": "string"
}
{- "vesselStates": [
- {
- "vesselName": "string",
- "imo": 0,
- "mmsi": 0,
- "timestamp": "string",
- "dwt": 0,
- "segment": "string",
- "subSegment": "string",
- "vesselType": "string",
- "zoneId": 0,
- "zoneName": "string",
- "portId": 0,
- "portName": "string",
- "anchorageId": 0,
- "anchorageName": "string",
- "berthId": 0,
- "berthName": "string",
- "shipyardId": 0,
- "shipyardName": "string",
- "relatedPortId": 0,
- "relatedPortName": "string",
- "vesselStatus": "string",
- "ladenStatusModel": "string",
- "ladenStatusDraught": "string",
- "destination": "string",
- "destinationPortId": 0,
- "destinationPortUnlocode": "string",
- "destinationPortName": "string",
- "destinationRegion": "string",
- "destinationCountryCode": "string",
- "destinationScore": 0,
- "predictedDestinationPortId": 0,
- "predictedDestinationPortUnlocode": "string",
- "predictedDestinationPortName": "string",
- "predictedDestinationRegion": "string",
- "predictedDestinationCountryCode": "string",
- "predictedDestinationScore": 0,
- "predictionDestinationDescription": "string",
- "predictedArrival": "string",
- "eta": "string",
- "navigationalStatus": "string",
- "navigationalStatusCode": 0,
- "portCallStatus": "string",
- "commodityId": 0,
- "commodityGroup": "string",
- "commodityName": "string",
- "direction": "string",
- "speedStatus": "string",
- "lastVisitedPortId": 0,
- "lastVisitedPortName": "string",
- "lastOpsPortId": 0,
- "lastOpsPortName": "string",
- "volumeOnBoard": 0,
- "hoursCarriedForward": 0
}
]
}
Returns all historical states for the entire fleet for a single date.
date | string |
{- "date": "string"
}
{- "vesselStates": [
- {
- "vesselName": "string",
- "imo": 0,
- "mmsi": 0,
- "timestamp": "string",
- "dwt": 0,
- "segment": "string",
- "subSegment": "string",
- "vesselType": "string",
- "zoneId": 0,
- "zoneName": "string",
- "portId": 0,
- "portName": "string",
- "anchorageId": 0,
- "anchorageName": "string",
- "berthId": 0,
- "berthName": "string",
- "shipyardId": 0,
- "shipyardName": "string",
- "relatedPortId": 0,
- "relatedPortName": "string",
- "vesselStatus": "string",
- "ladenStatusModel": "string",
- "ladenStatusDraught": "string",
- "destination": "string",
- "destinationPortId": 0,
- "destinationPortUnlocode": "string",
- "destinationPortName": "string",
- "destinationRegion": "string",
- "destinationCountryCode": "string",
- "destinationScore": 0,
- "predictedDestinationPortId": 0,
- "predictedDestinationPortUnlocode": "string",
- "predictedDestinationPortName": "string",
- "predictedDestinationRegion": "string",
- "predictedDestinationCountryCode": "string",
- "predictedDestinationScore": 0,
- "predictionDestinationDescription": "string",
- "predictedArrival": "string",
- "eta": "string",
- "navigationalStatus": "string",
- "navigationalStatusCode": 0,
- "portCallStatus": "string",
- "commodityId": 0,
- "commodityGroup": "string",
- "commodityName": "string",
- "direction": "string",
- "speedStatus": "string",
- "lastVisitedPortId": 0,
- "lastVisitedPortName": "string",
- "lastOpsPortId": 0,
- "lastOpsPortName": "string",
- "volumeOnBoard": 0,
- "hoursCarriedForward": 0
}
]
}