Hello - I have a list of ORCIDS affiliated with my institution and would like to query the API for all of them. I saw that I can query by a single ORCID, but is there a way to pipe ORCIDS together in a single request and page through results?
Hello, and thanks for your question.
You can string together multiple ORCID filters, and that will return all works containing any of those ORCIDs.
returns all the results as
https://0-api-crossref-org.libus.csd.mu.edu/works?filter=orcid:0000-0002-4095-8868
plus
https://0-api-crossref-org.libus.csd.mu.edu/works?filter=orcid:0000-0002-2248-2739
plus
https://0-api-crossref-org.libus.csd.mu.edu/works?filter=orcid:0000-0001-7353-9400
Please let me know if you have any other questions.
Excellent thanks for the quick reply! Is there a maximum number of ORCIDS I can string together?
We donât impose a strict limit on the number of filters or facets that you can use in a single query. But, the more you add, the more resource-intensive and slower the response will be. So, at some point, if you add enough ORCIDs, the request will time out. We canât say in advance exactly how many that would be, because itâs variable.
In general, itâs more efficient and better practice to do more smaller queries than to do fewer larger queries, and you can just compile the data on your end after itâs been retrieved.