Congestion (Port) Endpoint
Receive a time series of Average Waiting time at a specified port, for ships of a specified VV type
Endpoint
/v2/location/port/<port_id>/delay/average-hours/<ship_type_id>
Request Example
https://api.vesselsvalue.com/v2/location/port/<port_id>/delay/average-hours/<ship_type_id>?token=<your_token>&format=<format>
Options
Options | Values | Required? | Notes |
---|---|---|---|
<port_id> | Integer | Yes | The VV provided Port ID of the port you are fetching data for. |
<ship_type_id> | Integer | Yes | The VV provided Ship Type ID which describes a select group of ships, such as Bulkers, or Capesize. |
Parameters
Parameter | Values | Required? | Notes |
---|---|---|---|
?token= | <your_token> | Yes | Your API authorization token. |
&format= | json | No | Sets output format. |
&output= | ftp | No | Forces format to csv and saves output to your VesselsValue FTP account. |
&from | YYYY-MM-DD | No | Sets the earliest date for which to provide data. |
&to | YYYY-MM-DD | No | Sets the latest date for which to provide data. |
&waiting_status | all | No | Defines the status of the waiting ships to include. |