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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
5 0 2 2

Eikon Data API: How to retrieve vessel-related information?

Using Python Data API, is there a way I can programmatically access the fields (e.g. draft, cargo, latitude, longitude) from the vessel's IMO number or RIC code?

Thanks in advance.

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
icon clock
10 |1500

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

1 Answer

Upvotes
Accepted
18k 21 12 20

Hi @matthew.ang

You can use "Data Item Browser" to search for available fields.


This is the sample code with some fields:

imo = ['8602531','9349679','9619907']
fields = ['TR.AssetLocationDate','TR.AssetLocationLatitude','TR.AssetLocationLongitude','TR.AssetDestination','TR.AssetLocationStatus','TR.AssetHullType']
df,e = ek.get_data(imo, fields)
df


If you need help with the field names, you can contact the Refinitiv Content Helpdesk.

The Refinitiv Content Helpdesk can be reached using Contact Us capability in your Eikon application.
Or by calling the Helpdesk number in your country.
Or at https://my.refinitiv.com/


ahs1.png (92.6 KiB)
ahs2.png (27.2 KiB)
icon clock
10 |1500

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

Click below to post an Idea Post Idea