question

Upvotes
Accepted
1 1 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?

permid-apiintelligent-tagging-apiopen-permid-apisearch
icon clock
10 |1500

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

1 Answer

· Write an Answer
Upvotes
Accepted
1 1 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 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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