export.arxiv.org/api/query?search_query=au"First Last" Returning all authors with same last name instead of exact full name match

41 views
Skip to first unread message

Kelsey Laurent

unread,
Nov 19, 2025, 12:16:42 PMNov 19
to arXiv API Discussion, Kelsey Laurent
Hi, recently the api query: export.arxiv.org/api/query?search_query=au"First Last" has stopped returning exact matches on full author name. It is now returning all authors with the same last name. We use this type of search to pull the publications of ~3000 authors and need the exact name match since there is no author ID to query.

Screenshot 2025-11-18 at 4.50.00 PM.png
Screenshot 2025-11-18 at 4.49.47 PM.png
Screenshot 2025-11-18 at 4.49.42 PM.png

Brian Maltzan

unread,
Nov 19, 2025, 5:00:53 PMNov 19
to a...@arxiv.org, Kelsey Laurent

Hi Kelsey,

This will match first and last name.
I'll look into more options.

curl -is https://export.arxiv.org/api/query\?search_query\=au:%22Miller,+David%22\&sortBy\=lastUpdatedDate\&sortOrder\=descending  | grep -i miller | grep '<name>'
      <name>David W. Miller</name>
      <name>David R. Miller</name>
      <name>David Yu Miller</name>
      <name>David A. B. Miller</name>
      <name>David J. Miller</name>
      <name>David A. B. Miller</name>
      <name>David L Miller</name>
      <name>David L Miller</name>
      <name>David A. B. Miller</name>
      <name>David R. Miller</name>

Thanks,
Brian



--
You received this message because you are subscribed to the Google Groups "arXiv API Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to api+uns...@arxiv.org.
To view this discussion visit https://groups.google.com/a/arxiv.org/d/msgid/api/7ddb7077-937f-4243-965b-9a53029ed48an%40arxiv.org.

Kelsey Laurent

unread,
Nov 19, 2025, 5:05:33 PMNov 19
to arXiv API Discussion, Brian Maltzan, Kelsey Laurent
Excellent, thank you!

Kelsey Laurent

unread,
Nov 20, 2025, 5:14:24 PMNov 20
to arXiv API Discussion, Kelsey Laurent, Brian Maltzan, Kelsey Laurent

Hi Brian, 

I am still seeing some results that do not include a match on first name. Is there any way to make sure that if no matches exist there are not any results returned? Also, I'm pulling aggregating articles in an RSS feed and the comma included in the URL is not accepted. Is there any other syntax that might achieve the match on last name, first name without a comma?
Screenshot 2025-11-20 at 2.14.00 PM.png

Brian Maltzan

unread,
Nov 20, 2025, 8:45:11 PMNov 20
to a...@arxiv.org
Hi Kelsey,

You need quotes, which are %22, to keep the name together.
And sometimes it helps to look at the 5th line in the search results, to see how the url was parsed.

Thanks,
Brian


Brian Maltzan

unread,
Dec 8, 2025, 12:38:16 PM (2 days ago) Dec 8
to a...@arxiv.org, kelsey.ly...@gmail.com
Hi Kelsey,

The "first last" author searches should be working now.
This was a quoting issue, the same as to Taka's thread.
"Last,first", without a space won't find results, but otherwise it looks ok to me.
Here are some more examples:

curl -is https://export.arxiv.org/api/query\?search_query\=au:%22Devoret,+Michel%22 | grep total
  82
curl -is https://export.arxiv.org/api/query\?search_query\=au:%22Devoret,+Michel+H%22 | grep total
  60
curl -is https://export.arxiv.org/api/query\?search_query\=au:%22Devoret,Michel%22 | grep total
  0
curl -is https://export.arxiv.org/api/query\?search_query\=au:Devoret,Michel | grep total
  82
curl -is https://export.arxiv.org/api/query\?search_query\=au:Devoret_Michel | grep total
  82
curl -is https://export.arxiv.org/api/query\?search_query\=au:Devoret_Michel_H | grep total
  60
curl -is https://export.arxiv.org/api/query\?search_query\=au:%22Devoret_Michel%22 | grep total
  82
curl -is https://export.arxiv.org/api/query\?search_query\=au:%22Michel+Devoret%22 | grep total
  82
curl -is https://export.arxiv.org/api/query\?search_query\=au:%22Michel+H.+Devoret%22 | grep total
  60
curl -is https://export.arxiv.org/api/query\?search_query\=au:%22Michel+H+Devoret%22 | grep total
  60

Thanks,
Brian


Reply all
Reply to author
Forward
0 new messages