Discover/arxiv API
live

arxiv APIar5iv.labs.arxiv.org

Extract structured text from arxiv papers via ar5iv. Get title, authors, sections, subsections, and full_text from any arxiv paper ID.

This API takes change requests — .
Endpoint health
verified 2h ago
get_paper_text
1/1 passing latest checkself-healing
Endpoints
1
Updated
3h ago

What is the arxiv API?

The ar5iv API exposes 1 endpoint — get_paper_text — that returns the complete structured text of any arxiv paper rendered on ar5iv.labs.arxiv.org. A single call yields 5 top-level response fields: title, authors, paper_id, sections (with nested subsections), and full_text. Both modern identifiers like '2412.15115' and legacy path-style identifiers like 'hep-ph/9901234' are accepted as input.

This call costs1 credit / call— charged only on success
Try it
Arxiv paper identifier, e.g. '2412.15115' for new-style or 'hep-ph/9901234' for old-style identifiers.
api.parse.bot/scraper/d7f30b55-1c17-4145-93a3-c2d392cf471c/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/d7f30b55-1c17-4145-93a3-c2d392cf471c/get_paper_text?paper_id=2412.15115' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace ar5iv-labs-arxiv-org-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: ar5iv Paper Text API — fetch and explore a paper's structure."""
from parse_apis.ar5iv_labs_arxiv_org_api import Ar5iv, PaperNotFound

client = Ar5iv()

# Fetch a paper by its arxiv identifier
try:
    paper = client.papers.get(paper_id="2412.15115")
except PaperNotFound as e:
    print(f"Paper not found: {e.message}")
    raise

print(f"Title: {paper.title}")
print(f"Authors: {paper.authors}")
print(f"Sections: {len(paper.sections)}")

# Walk the first few sections and print their headings
for section in paper.sections[:3]:
    print(f"  [{section.heading}] {section.text[:100]}...")

# Access the full concatenated text
print(f"\nFull text length: {len(paper.full_text)} characters")

print("exercised: papers.get")
All endpoints · 1 totalmissing one? ·

Extract the complete visible text of an arxiv paper rendered on ar5iv.labs.arxiv.org. Returns the paper's title, authors, structured sections (with nested subsections), and a concatenated full_text field. Each section includes heading and text content. The references section contains all bibliography entries. Makes one HTTP request per call.

Input
ParamTypeDescription
paper_idrequiredstringArxiv paper identifier, e.g. '2412.15115' for new-style or 'hep-ph/9901234' for old-style identifiers.
Response
{
  "type": "object",
  "fields": {
    "title": "string - paper title",
    "authors": "string - author names",
    "paper_id": "string - the arxiv identifier as provided",
    "sections": "array of section objects with heading, text, and optional subsections",
    "full_text": "string - complete concatenated text of the entire paper"
  },
  "sample": {
    "data": {
      "title": "Qwen2.5 Technical Report",
      "authors": "Qwen Team",
      "paper_id": "2412.15115",
      "sections": [
        {
          "text": "In this report, we introduce Qwen2.5, a comprehensive series of large language models (LLMs) designed to meet diverse needs...",
          "heading": "Abstract"
        },
        {
          "text": "The sparks of artificial general intelligence (AGI) are increasingly visible through the fast development of large foundation models...",
          "heading": "Introduction"
        },
        {
          "text": "Basically, the Qwen2.5 series include dense models for opensource...",
          "heading": "Architecture & Tokenizer"
        },
        {
          "text": "Abdin et al. (2024) Marah I Abdin...",
          "heading": "References"
        }
      ],
      "full_text": "Qwen2.5 Technical Report\n\nQwen Team\n\nIn this report, we introduce Qwen2.5..."
    },
    "status": "success"
  }
}

About the arxiv API

What get_paper_text Returns

Calling get_paper_text with a valid paper_id returns the complete readable content of an arxiv paper as rendered on ar5iv. The sections array mirrors the document's logical hierarchy: each section object carries a heading and text, and may contain nested subsections following the same structure. This means a paper's abstract, introduction, methodology, results, discussion, and references each surface as discrete, addressable objects rather than an undifferentiated blob.

paper_id Format

The paper_id parameter accepts both new-style numeric identifiers (e.g., 2412.15115) and old-style category-prefixed identifiers (e.g., hep-ph/9901234). The identifier is returned as-is in the paper_id response field, making it straightforward to cross-reference results against arxiv metadata from other sources.

full_text Field

In addition to the structured sections array, the response includes a full_text field containing the entire paper concatenated into a single string. This is useful for full-document text search, embedding generation, or feeding to language models without needing to traverse the section tree. The authors field returns author names as a string rather than a parsed array.

References

The references section of the paper is included within the sections array. It appears as a section with heading and text content, consistent with the rest of the document structure, so citation text is accessible alongside the main paper body.

Reliability & maintenanceVerified

The arxiv API is a managed, monitored endpoint for ar5iv.labs.arxiv.org — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when ar5iv.labs.arxiv.org changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official ar5iv.labs.arxiv.org API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
2h ago
Latest check
1/1 endpoint passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Building a semantic search index over arxiv papers using the full_text field for embedding generation
  • Extracting structured section content to train or fine-tune summarization models on scientific literature
  • Automating literature review pipelines by retrieving sections like abstract and introduction for batches of paper IDs
  • Parsing reference sections to build citation graphs from arxiv paper metadata
  • Feeding paper sections into RAG (retrieval-augmented generation) pipelines for domain-specific question answering
  • Monitoring specific arxiv paper IDs and diffing section text for versioned preprint updates
  • Aggregating author name strings from multiple paper IDs to analyze researcher output across a corpus
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does ar5iv or arxiv have an official developer API?+
arxiv.org offers an official metadata API (the arXiv API at https://info.arxiv.org/help/api/index.html) for querying paper metadata such as titles, abstracts, and author lists. ar5iv itself (ar5iv.labs.arxiv.org), which provides HTML rendering of papers, does not publish a separate developer API.
What does the sections field contain versus full_text?+
The sections field is an array of objects, each with a heading and text string, and an optional subsections array that mirrors the paper's outline hierarchy. full_text is a single concatenated string of the entire paper. If you need to target a specific part of a paper (e.g., the methodology or results), iterate sections. If you need the whole document as one input, use full_text.
Are figures, tables, or equations returned by this API?+
The API returns visible text content. Figures, tables rendered as images, and LaTeX equation markup are not included as structured objects in the response. The sections and full_text fields reflect the text as it appears in the ar5iv HTML rendering. You can fork this API on Parse and revise it to capture additional elements like table data or caption text if that structure is present in the source.
Does the API support fetching multiple papers in a single request or paginating a search?+
The get_paper_text endpoint accepts one paper_id per request and returns content for that single paper. Bulk retrieval or arxiv search queries are not currently covered. You can fork this API on Parse and revise it to add a batch endpoint that accepts a list of paper IDs.
How current is the paper content returned — does it reflect the latest version on arxiv?+
ar5iv re-renders papers periodically, so the HTML version may lag behind the most recently submitted arxiv version by days or longer. For very recently submitted or updated preprints, the ar5iv rendering may not yet reflect the latest revision. The paper_id field in the response does not indicate which arxiv version was rendered.
Page content last updated . Spec covers 1 endpoint from ar5iv.labs.arxiv.org.
Related APIs in EducationSee all →
export.arxiv.org API
Search and retrieve academic paper information from arXiv, including titles, authors, abstracts, submission dates, and subject categories. Look up specific papers by ID or discover relevant research through flexible search queries.
arxiv.org API
Search and discover academic research papers on arXiv using keywords, authors, titles, categories, and dates, then access detailed metadata for any paper. Browse the complete arXiv category taxonomy to explore research across different scientific disciplines.
sciencedirect.com API
Access peer-reviewed scientific articles with complete metadata including titles, author information, abstracts, and direct PDF links from ScienceDirect's research database. Quickly retrieve bibliographic details and full-text documents to streamline your academic research and literature review process.
mdpi.com API
Access MDPI's open-access academic content programmatically. Search across thousands of peer-reviewed articles, retrieve full structured text, extract key findings, and browse journal metadata including impact factors and CiteScores.
aeaweb.org API
Search for academic papers across American Economic Association journals to instantly access abstracts, author information, JEL classifications, and citation metrics. Retrieve detailed article information to stay current with the latest economic research and citations from premier sources like the American Economic Review.
openalex.org API
Search and retrieve millions of academic papers, articles, and books from OpenAlex's comprehensive global research catalog to find scholarly works by topic, author, or citation. Discover detailed information about research publications including metadata, abstracts, and citation counts to stay current with academic literature in your field.
parallel.ai API
Access data from parallel.ai.
apnews.com API
Search for news articles from Associated Press on any topic and retrieve complete article details including headlines, summaries, and content with easy pagination. Stay informed with current news stories by finding and reading articles on subjects that matter to you.