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

> Explore and search Van Gogh's complete collection of paintings, drawings, and letters with detailed information and high-resolution images. Browse artworks using filters and pagination to discover pieces by specific criteria and access in-depth metadata about each work.

**Category:** Entertainment | **Website:** [vangoghmuseum.nl/](https://vangoghmuseum.nl/) | **Docs:** [parse.bot/marketplace/252e1206-04bc-47e5-9cae-de5e39d9bc47/vangoghmuseum-nl-api](https://parse.bot/marketplace/252e1206-04bc-47e5-9cae-de5e39d9bc47/vangoghmuseum-nl-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-vangoghmuseum-nl-api-252e1206/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_artwork_detail

Retrieve full details for a single artwork by its ID, including title, description, metadata (artist, dimensions, provenance, etc.), image URLs at multiple resolutions, and tags.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `artwork_id` | string | Yes | The artwork identifier. Obtainable from get_collection or search_artworks results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-vangoghmuseum-nl-api-252e1206/get_artwork_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"artwork_id":"<string>"}'
```

### get_collection

Browse or search the museum collection. Returns a paginated list of artworks with basic info including title, creator, image URL, and link to the artwork page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `offset` | integer | No | Number of items to skip for pagination. |
| `query` | string | No | Search keyword to filter artworks (e.g. 'sunflowers'). Omitting returns the full collection. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-vangoghmuseum-nl-api-252e1206/get_collection \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"offset":"<integer>","query":"<string>"}'
```

### get_collection_filters

Retrieve available filter categories and their values for the collection. Returns categories such as On view, Artist, Location, Year, Object type, Genre, and Sub-collections, each with their possible values and result counts.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-vangoghmuseum-nl-api-252e1206/get_collection_filters \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### search_artworks

Search for artworks by keyword. Returns the same paginated result format as get_collection but requires a query.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `offset` | integer | No | Number of items to skip for pagination. |
| `query` | string | Yes | Search keyword (e.g. 'night', 'self-portrait'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-vangoghmuseum-nl-api-252e1206/search_artworks \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"offset":"<integer>","query":"<string>"}'
```
