arXiv Public API
Safety and Compliance First
- •Read and follow
references/terms_of_use.mdbefore making requests. - •Enforce the legacy API rate limits across all machines you control: one request every three seconds and a single connection at a time.
- •Do not parallelize requests or attempt to circumvent rate limits.
- •Use OAI-PMH for bulk metadata harvesting and large result sets.
Workflow
- •Confirm the goal and expected volume. If the task implies bulk harvesting, switch to OAI-PMH.
- •Build the API request using
search_queryorid_listand optionalstart,max_results,sortBy, andsortOrder. - •Page results using 0-based
startandmax_results. Keep slices small and respect the 3-second delay between calls. - •Parse the Atom 1.0 response and handle errors returned as Atom feeds.
- •Cache results and avoid repeated calls for identical queries within the same day.
References
- •
references/terms_of_use.md - •
references/api_basics.md - •
references/user_manual.md