How to download CPI data from eikon api

I would like to download US monthly CPI, norminal CPI and core CPI via eikon api. However, I cannot find relevant api functions for this purpose. I would appreciate if anyone could point me to the right direction.

Best Answer

  • aramyan.h
    aramyan.h admin
    Answer ✓

    Hi @yansheng.ming ,


    If you want to retrieve historical series of the economic indicators, I would advise using Refinitiv Data Libraries for Python (see the documentation and the quick start here). See an example below:

    import refinitiv.data as rd
    rd.open_session()
    rd.get_history(universe=["USCPI=ECI", "USCPIM=ECI", "aUSCPFYAR"], start = '2020-01-01', end = '2024-07-17')

    screenshot-2024-07-17-at-113345.png

    To verify the RICs and also for other economic fields you can contact HelpDesk via Eikon/Wokspace Help center or through my.refinitiv.com.


    Hope this helps.


    Best regards,

    Haykaz

Answers

  • @aramyan.h
    Hello. Is it possible to download Reuters Poll from CPI?

  • Hi @wilker.sousa ,


    you can use the following RIC for the cpi poll - "pUSCPI=M". Feel free to reach out to Helpdesk (Help&Support in Workspace or my.refinitiv.com), if you want other poll RICs. API wise the queries are going to be the same.


    Best regards,

    Haykaz