RDP Search - REST API (via //api.refinitiv.com/search) vs. Eikon Data API (via rdp.search)

Is there a way, using the 'rdp.search' capability in Eikon Data API, to access the 'Total' amount of items returned from the search?

You can do this when accessing the RDP API directly using REST calls

image

but I can't figure out where in the result returned back from the 'rdp.search' function, is the total amount of items returned. I therefore hardcoded it to 1000 items. I'd rather use the 'rdp.search' function instead of direct REST calls, but I also wan to do this the correct way and know exactly how many items I should be requesting back from the search results.

image

Best Answer

  • pf
    pf LSEG
    Answer ✓

    Hi,

    DataFrame result from rdp.search() should have exactly the same row number than Total fields.

    You can check it if you activate log (rdp.get_default_session().set_log_level(5):

    image


    Note that when I check on Prod RDP Playground, I see same result size but when I send same request on Beta RDP Playground, size is different:

    image