search_query on affiliation and/or ORCID

713 views
Skip to first unread message

David Cavrenne

unread,
Jan 29, 2020, 12:23:45 PM1/29/20
to arXiv API
Dear arXiv team,

I would be interested in using the arXiv API to search records based on affiliations and/or ORCID.

I already found a lot of valuable information in the documentation and in various posts of this group but I would like your help/confirmation on both topic.

A. Searching based on affiliations

For some items stored in arXiv, the affiliation has been entered in the submission process (see for example http://export.arxiv.org/api/query?id_list=1601.05674).
I understand and completely agree with Thorsten's post here about the difficulty in providing accurate affiliation information for (all) authors of a given paper in a canonical and authoritative form.
Nevertheless, I would still be interested to know if it is possible to use the api to search on the arxiv:affiliation field.
Based on the documentation, the field arxiv:affiliation is not listed as one we can search on but I have seen some posts where search_query has been used for fields not listed in the documentation (e.g. on DOI).
Unfortunately, when I try to build a similar search query on affiliation, it does not seem to work : http://export.arxiv.org/api/query?search_query=affiliation:UMET

=> Is the arxiv:affiliation field indexed for search ? 
If no, are there plans to include it as an indexed field in the future ?
If yes, how can I use a search_query to filter on a given affiliation ?

B. Searching based on ORCID

I think I have found the appropriate documentation here.
If my understanding is correct, the api search_query cannot be used to filter results based on ORCIDs and the common practice to search for all articles linked to a given ORCID in arXiv and retrieve the results in the same format as with the API (XML/atom format) is by using the following type of query : https://arxiv.org/a/0000-0002-7970-7855.atom2

Thanks a lot in advance for your help,

David


Thorsten

unread,
Mar 2, 2020, 11:10:59 PM3/2/20
to arXiv API

Hi David,

well the best I can say here, is that the arXiv API is being revised and should take advantage of the improved backend search engine and suggestions like yours will inform that development.
see https://arxiv.org/about/reports/2020_roadmap under NG Bulk/Programmatic Access

Cheers
T.

David Cavrenne

unread,
Mar 3, 2020, 10:56:58 AM3/3/20
to arXiv API
Hi Thorsten,

Thanks for your reply and for the link to the 2020 roadmap.

In case someone else is interested in the answers to my questions about the ability to search based on affiliations (A), I think I have been able to find these by myself : 

Is the arxiv:affiliation field indexed for search ? No,  a query like http://export.arxiv.org/api/query?search_query=affiliation:UMET won't work.
If no, are there plans to include it as an indexed field in the future ? Maybe in the new version of the API which is being developed now (https://arxiv.org/about/reports/2020_roadmap)
If yes, how can I use a search_query to filter on a given affiliation ? It's not possible to search specifically for affiliations but, as affiliation is an attribute of the <author> field, you can search on affiliations "indirectly" by querying the author field e.g. http://export.arxiv.org/api/query?search_query=au:UMET

Cheers,

David

Patrick Hochstenbach

unread,
Jan 11, 2022, 12:12:49 PM1/11/22
to arXiv API
You can use INPIRE-HEP to search on affiliation. E.g.

https://inspirehep.net/api/literature?&q=aff%20Gent%20U.&page=1&format=json

This helped me to search for UGent publications.
Reply all
Reply to author
Forward
0 new messages