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