# Jstor — 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.

> Search and browse millions of academic articles, journals, and research issues from JSTOR's library, or retrieve specific articles and journal details to explore scholarly content by subject. Access peer-reviewed research across multiple disciplines to find the academic sources you need.

**Category:** Education | **Website:** [jstor.org/](https://jstor.org/) | **Docs:** [parse.bot/marketplace/826896f8-63a7-4733-b7c8-4055f90a1846/jstor-org-api](https://parse.bot/marketplace/826896f8-63a7-4733-b7c8-4055f90a1846/jstor-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-jstor-org-api-826896f8/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### browse_subjects

List all browseable academic subjects on JSTOR. Returns a list of subject categories with their codes and URLs.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-jstor-org-api-826896f8/browse_subjects \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_article

Retrieve full metadata for a specific article or book chapter by its JSTOR UUID. Some content types (e.g. book chapters) may not be available via this endpoint and will return an upstream error.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `article_id` | string | Yes | The JSTOR UUID of the article (e.g. '06ddaae3-b191-34c4-a1dd-f6f7730af50a'). Obtainable from search results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-jstor-org-api-826896f8/get_article \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"article_id":"<string>"}'
```

### get_issue

Retrieve the table of contents for a specific journal issue by its DOI-style stable ID. Returns issue metadata and a list of articles.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `issue_id` | string | Yes | The DOI-style stable ID of the issue (e.g. '10.2307/i40228945'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-jstor-org-api-826896f8/get_issue \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"issue_id":"<string>"}'
```

### get_journal

Retrieve metadata for a specific journal by its ID slug.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `journal_id` | string | Yes | The journal ID slug (e.g. 'aejapplecon'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-jstor-org-api-826896f8/get_journal \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"journal_id":"<string>"}'
```

### search

Search for articles, books, and other content on JSTOR. Returns paginated results grouped by relevance or date.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination. |
| `query` | string | Yes | Search query string. |
| `sort` | string | No | Sort order: 'rel' for relevance, 'new' for newest, 'old' for oldest. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-jstor-org-api-826896f8/search \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","query":"<string>","sort":"<string>"}'
```
