API Response has incorrect "updated" date

124 views
Skip to first unread message

Alex

unread,
Nov 11, 2025, 4:40:24 PMNov 11
to arXiv API Discussion
Hello,

The API response seems to have changed slightly in some cases. Specifically, for https://arxiv.org/abs/1212.1873 the `updated` XML field in the API response (queried to `https://export.arxiv.org/api/query?id_list=1212.1873`) has value `2014-09-23T00:12:27Z` which is different than the v6 date on the abstract page.

My guess is that the journal ref was updated in September (even though v6 was posted in January). Yesterday, the API was returning the date of v6 in January.

From the API documentation, "The `<updated>` element contains the date on which the retrieved article was submitted and processed" which implies to me that the correct date is the v6 date.

Thanks,
Alex Rutar

Michał Parniak

unread,
Nov 12, 2025, 4:34:32 AMNov 12
to a...@arxiv.org
Dear All
I'm having a potentially related problem with both lastUpdatedDate and submittedDate. For example, this query:
search_query=cat:quant-ph&sortBy=submittedDate&start=0&sortOrder=descending&max_results=3
Now returns papers from 2020, whereas yesterday it returned only the latest three papers in quant-ph. I presume it might be a sorting error, but maybe I'm missing something. Changing sortOrder to ascending doesn't change anything.
Thanks, Michał Parniak

--

Michał Parniak

PhD, DSc (dr hab.)

Assistant Professor, Faculty of Physics, University of Warsaw &

Group Leader, Quantum Optical Devices Lab, Centre for Quantum Optical Technologies, University of Warsaw

www.qodl.eu

tel. +48 22 55 43 786




--
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/4a4ce5d7-615c-4c80-9582-6c5099c75832n%40arxiv.org.

Lukas Schwab

unread,
Nov 13, 2025, 1:09:54 AMNov 13
to arXiv API Discussion, mpar...@gmail.com
I am receiving bug reports about the same issue: https://github.com/lukasschwab/arxiv.py/issues/184

As far as I can tell, there isn't a way for API callers to work around this.

Cheers,
Lukas

arXiv API Discussion

unread,
Nov 13, 2025, 9:12:26 AMNov 13
to arXiv API Discussion, lukas....@gmail.com, mpar...@gmail.com
Hi Alex, Lukas,
I'll look into it.
Yes, it's the modified date, probably from journal ref, rather than most recent paper version announce date.
Yes, I see a sorting issue too.
Thanks for letting us know,
Brian

arXiv API Discussion

unread,
Nov 13, 2025, 9:13:49 AMNov 13
to arXiv API Discussion, arXiv API Discussion, lukas....@gmail.com, mpar...@gmail.com
Hi Michał,
Yes, I see a sorting issue too.
Thanks for letting us know,
Brian

Nima Anari

unread,
Nov 14, 2025, 5:28:08 PMNov 14
to arXiv API Discussion, Michał Parniak
I'm facing exactly the same error. It seems like sorting (by submittedDate) is broken.

Shankar K

unread,
Nov 14, 2025, 5:28:17 PMNov 14
to arXiv API Discussion, Michał Parniak
Whew, I thought it was just me! I'm seeing the same issues too, so looks like something is broken with the API?

On Wednesday, November 12, 2025 at 1:34:32 AM UTC-8 Michał Parniak wrote:

arXiv API Discussion

unread,
Nov 14, 2025, 5:30:14 PMNov 14
to arXiv API Discussion, Shankar K, mpar...@gmail.com
Hi Michal, Nima, Shankar,

This should be working again, ie:
curl -is https://export.arxiv.org/api/query\?search_query\=ti:pineapple\&sortBy\=submittedDate | grep '<published'
    <published>2025-06-17T13:08:32Z</published>
    <published>2025-05-16T09:14:30Z</published>
    <published>2024-07-19T13:14:05Z</published>
    <published>2024-05-09T03:24:36Z</published>
    <published>2023-07-24T03:20:51Z</published>
    <published>2022-09-16T07:16:05Z</published>
    <published>2021-08-12T15:56:02Z</published>
    <published>2020-09-24T16:39:30Z</published>
    <published>2020-08-29T05:51:56Z</published>
    <published>2020-08-28T18:00:03Z</published>

curl -is https://export.arxiv.org/api/query\?search_query\=ti:pineapple\&sortBy\=lastUpdatedDate | grep '<updated'
  <updated>2025-11-14T22:24:24Z</updated>
    <updated>2025-06-17T13:08:32Z</updated>
    <updated>2025-05-16T09:14:30Z</updated>
    <updated>2024-07-19T13:14:05Z</updated>
    <updated>2024-06-09T03:11:35Z</updated>
    <updated>2024-05-09T03:24:36Z</updated>
    <updated>2022-09-16T07:16:05Z</updated>
    <updated>2021-08-12T15:56:02Z</updated>
    <updated>2020-12-16T19:01:28Z</updated>
    <updated>2020-09-24T16:39:30Z</updated>
    <updated>2020-08-29T05:51:56Z</updated>

curl -is https://export.arxiv.org/api/query\?search_query\=ti:pineapple | gi '<updated'
  <updated>2025-11-14T22:26:08Z</updated>
    <updated>2016-06-10T10:12:55Z</updated>
    <updated>2020-09-24T16:39:30Z</updated>
    <updated>2024-05-09T03:24:36Z</updated>
    <updated>2020-08-29T05:51:56Z</updated>
    <updated>2021-08-12T15:56:02Z</updated>
    <updated>2024-06-09T03:11:35Z</updated>
    <updated>2025-06-17T13:08:32Z</updated>
    <updated>2025-05-16T09:14:30Z</updated>
    <updated>2024-07-19T13:14:05Z</updated>
    <updated>2020-12-16T19:01:28Z</updated>

Thanks,
Brian

Lukas Schwab

unread,
Nov 14, 2025, 5:45:45 PMNov 14
to arXiv API Discussion
Thanks, Brian — superhero work here and on the link elements. 

All the best,
Lukas

Michał Parniak

unread,
Nov 14, 2025, 5:52:27 PMNov 14
to arXiv API Discussion, Shankar K

❤️

Michał Parniak reacted via Gmail

Reply all
Reply to author
Forward
0 new messages