# Nber — 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 discover NBER working papers by topic, author, or keyword, then access complete paper details including titles, authors, abstracts, publication dates, and DOIs. Find cutting-edge economic research publications to stay informed on the latest findings from the National Bureau of Economic Research.

**Category:** Education | **Website:** [www.nber.org/](https://www.nber.org/) | **Docs:** [parse.bot/marketplace/8413f134-f92d-48cb-af01-e425e2007629/nber-org-api](https://parse.bot/marketplace/8413f134-f92d-48cb-af01-e425e2007629/nber-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-nber-org-api-8413f134/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_paper

Get detailed information for a specific NBER paper by its working paper number. Returns full abstract, authors, issue date, DOI, and associated programs.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `paper_id` | string | Yes | Working paper ID (e.g., 'w10567' or '10567'). Accepts with or without the 'w' prefix. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-nber-org-api-8413f134/get_paper \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"paper_id":"<string>"}'
```

### search_papers

Search NBER papers with filtering by content type, topic, or program. Supports pagination and sorting. The query parameter influences relevance ranking; use content_type, topic, or program facets for filtering.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `content_type` | string | No | Content type filter. Accepted values: working_paper, chapter, article, conference, book, video, center_paper, dataset. |
| `page` | integer | No | Page number (1-based). |
| `per_page` | integer | No | Results per page. Accepted values: 20, 50, or 100. |
| `program` | string | No | Program filter (e.g., Monetary Economics, Labor Studies, Corporate Finance). |
| `query` | string | No | Search query for relevance ranking. |
| `sort_by` | string | No | Sort order. Accepted values: date, relevance. |
| `topic` | string | No | Topic filter (e.g., Macroeconomics, Labor Economics, Financial Economics). Use %COMMA% for commas in topic names. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-nber-org-api-8413f134/search_papers \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"content_type":"<string>","page":"<integer>","per_page":"<integer>","program":"<string>","query":"<string>","sort_by":"<string>","topic":"<string>"}'
```
