For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
4 1 2 4

[REST API] Vessel Physical Assets

Hello all,

I am trying to select new columns for the new data available for the vessels voyages: Last trade flow information: Charterer, Commodity, Cargo Size, Rate, Load Port, Load Date, Discharge Port, Discharge Data, Status, Previous Port and Previous Port Duration. However, when we tried to insert on the select part (red underline) of the script, it didn't return anything. Do you know if there is a way to insert or how can we check if this information is available to retrieve from Rest API?

Thanks in advance!

microsoftteams-image-2.png

apirest-apivessel
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvote
Accepted
5.9k 10 5 8

Hi @Loredane.Pereira ,

The endpoint /METADATA/VIEWS/{VIEW} can be used to check which information is available to be retrieved from REST API on each view

For vessel physical assets view, the endpoint is https://{ {RDP_HOST}}/search/beta1/metadata/views/VesselPhysicalAssets and below is an output in API Playground
1643633860620.png

However, I tried to cross-check between the data you want and the output data of all the properties in this view but I cannot find the match so it's possible that the data isn't available in this API. To confirm, ticket number 10901255 was submitted through MyRefinitiv to get the answer from the related team, you will be contacted by them to give more information soon.

Hope this could help


1643633860620.png (121.1 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
4 1 2 4

@Alex Putkov.1 , Hello! Do you know anything about this issue? thanks in advance. microsoftteams-image.pngFollow attached the data that I need from the vessel details using REST API.microsoftteams-image-1.png


icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
12.5k 59 39 63

Hi @Loredane.Pereira

I did some further investigation to hunt down some of the properties based on the RIC: C}KH7309477900. However, we'll need to bring in a content specialist to confirm if the data you are after is available - the case @raksina.samasiri submitted should be used to verify.

The properties I found were:

  • AssetName
  • OriginPort
  • OriginDepartureDateTime
  • CurrentPort
  • VesselStatus
  • PhysicalAssetCapacity
  • AISStatus
  • Draft

And applying these parameters within Search returned the following:

ahs.png


ahs.png (55.3 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
4 1 2 4

Hello @nick.zincone and @raksina.samasiri
Thank you so much for your replies. I received a return about this issue from customer support and the Rest API is really not completed for all the fields that we requested. The only solution, for now, is using Python code instead. However, I have another question regarding Python API: On the Shipping menu, we've just found the option "freight calculator", is it possible to retrieve this data using an API? Or only by the platform?
Thanks in advance!

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
12.5k 59 39 63

Hi @Loredane.Pereira

The Eikon Data API, which I believe what you are referring to as "Python code", does expose the ability to retrieve a wide range of vessel data. For example:

df,err = ek.get_data(['C}KH7309477900'],
                     ['TR.AssetDischargingPort','TR.AssetCharterer', 
                      'TR.AssetFlowCommodity','TR.AssetFlowGrade',
                      'TR.AssetVolume','TR.AssetLoadingPort',
                      'TR.AssetLoadingDateFrom','TR.AssetDischargingPort', 
                      'TR.AssetDischargeDate','TR.AssetStatus'])
df

ahs.png

To determine these properties, you can use the DIB (Data Item Browser) within Eikon. That being said, it wasn't obvious to me what the "freight calculator" is. Perhaps, if you are able to pull the data and see the result, you can find the value within the DIB. Otherwise, I would suggest you bring in a content specialist to help you find these values.


ahs.png (7.6 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.