question

Upvotes
Accepted
1 0 1 2

Wrong total in PermID response

Hello,


The request https://api.thomsonreuters.com/permid/search?q=ticker:AAPL gives the following answer:

{
    "result": {
        "organizations": {
            ... (not relevant for this question)
        },
        "instruments": {
            ... (not relevant for this question)
        },
        "quotes": {
            "entityType": "quotes",
            "total": 46,
            "start": 1,
            "num": 5,
            "entities": [
                {
                    ... (not relevant for this question)
                },
                {
                    ... (not relevant for this question)
                },
                {
                    ... (not relevant for this question)
                },
                {
                    ... (not relevant for this question)
                },
                {
                    ... (not relevant for this question)
                }
            ]
        }
    }
}


What the "total": 46 means? There are just 5 items in the results, so it should be "total": 5, right?

intelligent-tagging-apipermid-apiopen-permid-apisearch
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
1 0 1 2

I have just found the answer here:

https://docs-developers.refinitiv.com/1571850824328/4886/wwhelp/wwhimpl/js/html/wwhelp.htm#href=PermID%20Service/PermID%20APIs%20User%20Guide.1.20.html

I need to append &num=200 to the requested URL. If I need more than 200, the &start=200 must be also used, and so on.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea