Limit on the number of IDs for the id_list parameter?

24 views
Skip to first unread message

Matteo Cantafio

unread,
May 13, 2026, 9:05:37 AM (7 days ago) May 13
to arXiv API Discussion

Hello,

Could you please clarify if there is a maximum limit to the number of IDs that can be passed to the id_list parameter when querying the export.arxiv.org/api/query endpoint?

Thank you

arXiv API Discussion

unread,
May 14, 2026, 1:30:31 PM (6 days ago) May 14
to arXiv API Discussion, Matteo Cantafio
Hi Matteo,

The id_list doesn't have a max number of values.

Browsers will limit the max number of bytes in the request.
I would try 200 ids.

Thanks,
Brian

Lukas Schwab

unread,
May 14, 2026, 3:04:03 PM (6 days ago) May 14
to a...@arxiv.org
If you aren't in a browser and you're making GET requests, you'll more likely be limited by the Apache server. arXiv's limit is 8190 bytes in the request line, but elements besides the ID list are included in that count.
In practice, you can send ~544 arXiv IDs with versions.
You'll know you've exceeded the limit because you receive a HTTP 414 URI Too Long response.

You can include more IDs in the body of a POST request to the same API endpoint. I am not sure if the arXiv server enforces a length limit for id_list on POST requests.

Cheers,
Lukas

--
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/3b0b5dd8-7a89-41fb-8c0c-69d8aef37c76n%40arxiv.org.
Reply all
Reply to author
Forward
0 new messages