Skip to main content
Piloterr
Back to library

arXiv Paper API

Fetch one arXiv paper by id or by an abs, pdf, or html URL.

Active1 credit = 1 requestGET/v2/arxiv/paper

Endpoint Overview

Detailed documentation, pricing, and usage examples.

OverviewLink to Overview

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.

QuickstartLink to Quickstart

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"

ParametersLink to Parameters

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.

Response fieldsLink to Response fields

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.

PaginationLink to Pagination

This endpoint returns one paper. There is no pagination object.

Use casesLink to Use cases

  • 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.

Error codesLink to Error codes

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.

Related APIs

Expand your data capabilities with these complementary tools.

Ready to get started?

Your web scraping API is one click away. Start with +500 credits, no infrastructure to set up, no proxies to manage, and no credit card required.

  • +500 credits
  • No credit card required
  • All endpoints included