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.

Best Answer

  • chavalit-jintamalit
    Answer ✓

    Hi @matthew.ang

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

    image


    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

    image


    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/