Data API - How can I get historical vessel data using Postman Data API?
Hello,
I am trying to extract both live and historical vessels (fixed asset) data using the Postman Data API. The first steps to get the token and refresh were done, however, I did not find an example on the API Playground that shows the best API which can be used to get the historical vessel data (Using RIC's), bringing their type, ETA, departure Date, Previous Port, Destination, and so on.
The figure below shows the data output using the excel add-in, which I want to turn out into Data API using Postman instead.
Any help on either point would be appreciated.
Thanks in advance.
Best Answer
-
If you have Eikon and you'd like to retrieve this data programmatically, I suggest you use Eikon Data APIs. See an example on this thread.
However, if for whatever reason you need to retrieve this data from RDP using Postman, check out the discussion on this thread.
1
Answers
-
Hello @Loredane.Pereira
Just want to add a piece of additional information about Postman, you can download the RDP APIs Postman collection from the RDP APIs download page and see how to set up the Postman collection in this tutorial.
Hope this information helps you with the clear answer from my colleague above.
0 -
@Alex Putkov. Thanks so much for your reply. I still have a question if you can help. I'm using the / search / beta1 / metadata / views / {view} however, the query command only allows you to search for a specific RIC (vessel) at a time. Would you know if there is a way to search for a list of RICs at once through the postman, using another command besides / search / beta1 / metadata / views / {view} for this case? or an expanded form of this endpoint?
0 -
You can use a python production env and use RDP and Eikon Data API together to pull up the info you want. You can search by vessel class and use the list of IMO's to get the data you want. Alternatively, you can just use pandas to read a CSV file of IMO's you have and extract via the data API's the information you want on the list of IMOs the same way.
Best,
Milan
0 -
Here is an example of searching by vessel class:
0 -
Hi @milan_hedstrom, thank you so much for your support! Do you know how can I do this using Postman?
The "query" command only allows one RIC at the time, when I tried to put more than one, the return was null.
Thanks in advance!0 -
Sorry, I am not sure. I've never worked with Postman. I use a simple Jupyter Notebook or Visual Studio. Not sure what needs to be done in Postman.
0 -
I appreciated your time! @milan_hedstrom
0 -
You can use the Search service on RDP (/search/beta1/ endpoint) to search for vessels using a list of RICs or IMOs, or using criteria such as a class of vessels, as in the example provided by @milan_hedstrom. In the screenshot of Postman you provided you're actually pretty close. Replace '"Query": ...' in the request body with
"Filter": "IMO in ('9145437' '8808707' '9593440')"
or
"Filter": "RCSAssetTypeLeaf eq 'Suezmax' and DestinationPort eq 'Rotterdam'"
For more details on how to use search/beta1 endpoint, see the Reference guide for the endpoint on API Playground.
1 -
Hello @Alex.Putkov12 that works! Thanks a lot for your support!
0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛