# David Rumsey — 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 retrieve historical maps from the David Rumsey collection with detailed metadata including image dimensions, georeferencing information, and direct access to high-quality IIIF image URLs. Find specific maps and get comprehensive information about their characteristics, location data, and digital availability for research and visualization purposes.

**Category:** Maps & Geospatial | **Website:** [www.davidrumsey.com/luna/servlet/allModsServlet?keyword=San+Francisco](https://www.davidrumsey.com/luna/servlet/allModsServlet?keyword=San+Francisco) | **Docs:** [parse.bot/marketplace/dc58414e-60b4-402b-a53e-3654ade47aa4/davidrumsey-com-api](https://parse.bot/marketplace/dc58414e-60b4-402b-a53e-3654ade47aa4/davidrumsey-com-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-davidrumsey-com-api-dc58414e/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_map_details

Get detailed metadata for a specific map item by its unique ID. Returns comprehensive information including full title, author, date, publisher, physical dimensions, image dimensions, IIIF image service URL, IIIF manifest URL, full-resolution image URL, download URL, and georeferencing status.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `item_id` | string | Yes | Unique item identifier in format RUMSEY~8~1~XXXXXX~XXXXXXXX (from search_maps results[*].item_id). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-davidrumsey-com-api-dc58414e/get_map_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"item_id":"<string>"}'
```

### search_maps

Search the David Rumsey Historical Map Collection by keyword. Returns paginated results with metadata including title, date, author, item ID, IIIF image service URL, full-resolution image URL, download URL, image dimensions, and georeferencing status for each map.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `keyword` | string | No | Search keyword to query the map collection. |
| `page` | integer | No | Page number for pagination (starts at 1). |
| `page_size` | integer | No | Number of results per page (1-100). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-davidrumsey-com-api-dc58414e/search_maps \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword":"<string>","page":"<integer>","page_size":"<integer>"}'
```
