Fetch one arXiv paper. query is an id such as 2201.00978 or cond-mat/0011267, with or without a version suffix (2201.00978v1), or an abstract, PDF, or HTML URL on arxiv.org. The response is one flat object, not a results list.
Take arxiv_id or url from search and pass it here.
curl -sS -H "x-api-key: YOUR_API_KEY" "https://api.piloterr.com/v2/arxiv/paper?query=2201.00978"
curl -sS -H "x-api-key: YOUR_API_KEY" "https://api.piloterr.com/v2/arxiv/paper?query=cond-mat/0011267"
curl -sS -H "x-api-key: YOUR_API_KEY" "https://api.piloterr.com/v2/arxiv/paper?query=https%3A%2F%2Farxiv.org%2Fabs%2F2201.00978"
| Name |
Detail |
| query |
Required string. arXiv id or an abs, pdf, or html URL. Example: 2201.00978 or https://arxiv.org/abs/cond-mat/0011267v1. |
| Name |
Detail |
| arxiv_id |
String. Id without the version. |
| version |
Integer or null. |
| title |
String. |
| authors |
Array of {name, affiliation}. |
| abstract |
String or null. |
| primary_category |
String or null. |
| categories |
Array of strings. |
| published |
String or null. UTC timestamp. |
| updated |
String or null. UTC timestamp. |
| comment |
String or null. |
| journal_ref |
String or null. |
| doi |
String or null. |
| pdf_url |
String or null. |
| url |
String. Abstract page, including the version when one was requested. |
This endpoint returns one paper. There is no pagination object.
- A reading list opens
cond-mat/0011267 from search and stores authors, abstract, and pdf_url.
- A reference manager accepts
https://arxiv.org/abs/2201.00978v1 and keeps version plus categories.
- A literature review reads
journal_ref and doi after the preprint is published.
| Name |
Detail |
| 400 |
Missing query, a host other than arxiv.org, or a URL that is not an abs, pdf, or html path. |
| 404 |
Unknown id. |
| 401 |
Missing API key. |
| 500 |
The arXiv request failed. |