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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 1

Pulling Live Vessel Information (inc. Filter) from Interactive Map

Hi,

I am looking to extract all the possible data of vessels (filtered by trade flows - only carrying LNG) from the interactive map using Python.

Is anybody able to suggest the best way to do this? I would be eternally grateful!

pythonapivessel
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.

1 Answer

Upvotes
Accepted
13k 61 39 63

Hi @sooraj.soin

To get started, you can use the Search API within the Refinitiv Data Library for Python. Here is a relevant code sample:

response = search.Definition(
    view = search.SearchViews.VESSEL_PHYSICAL_ASSETS,
    filter="VesselStatus eq 'IN SERVICE' and RCSAssetTypeLeaf xeq 'LNG Tanker'",
    select="RIC, SynonymSearchAll, DTSource, LocationTimestamp, IMO,Latitude, \
            Longitude, LocationDestination"
).get_data()
response.data.df
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.