# Ar5iv Labs Arxiv — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Retrieve the complete text content from academic papers on ar5iv, including titles, authors, abstracts, sections, and references with their original document structure intact. Access paper information in a structured format that preserves the logical organization of research documents.

**Category:** Education | **Website:** [ar5iv.labs.arxiv.org/html/2412.15115](https://ar5iv.labs.arxiv.org/html/2412.15115) | **Docs:** [parse.bot/marketplace/c11f0bf4-81d7-4810-a82e-3adbd1f4f201/ar5iv-labs-arxiv-org-api](https://parse.bot/marketplace/c11f0bf4-81d7-4810-a82e-3adbd1f4f201/ar5iv-labs-arxiv-org-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-ar5iv-labs-arxiv-org-api-c11f0bf4/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_paper_text

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.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `paper_id` | string | Yes | Arxiv paper identifier, e.g. '2412.15115' for new-style or 'hep-ph/9901234' for old-style identifiers. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-ar5iv-labs-arxiv-org-api-c11f0bf4/get_paper_text \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"paper_id":"<string>"}'
```
