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

> Browse and search across 300,000+ artists to discover detailed profiles with biographies, nationalities, career insights, and artwork counts. Find artists alphabetically or by name to explore their complete creative background and body of work.

**Category:** Entertainment | **Website:** [www.artsy.net/artist/andy-warhol/auction-results](https://www.artsy.net/artist/andy-warhol/auction-results) | **Docs:** [parse.bot/marketplace/4e9ddb29-0ef5-4213-9c39-96a205f412dc/artsy-net-api](https://parse.bot/marketplace/4e9ddb29-0ef5-4213-9c39-96a205f412dc/artsy-net-api)

Pay-per-use API proxy for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/credits/artsy/`
**Auth:** `Authorization: Bearer <LOCUS_CREDITS_SECRET_KEY>` (an `lcr_` secret key or a scoped `lcac_` agent credential)
**Required header:** `Idempotency-Key: <fresh UUID per call>`. A retry with the same key replays the stored result without a new charge.
**Response:** the provider response after any endpoint-specific normalization. `X-Locus-Credits-Charged` carries the charge and `X-Locus-Credits-Balance` the remaining balance. Insufficient credits return `402` before the provider is called.
**Pricing:** estimated costs below are USD. Locus debits the credit equivalent at your workspace rate.

Full call contract: https://docs.paywithlocus.com/api-reference/introduction

> Using a Pay With Locus wallet key (`claw_` prefix)? Wallet routes are documented separately: https://docs.paywithlocus.com/wrapped-apis/for-agents

## Endpoints

### Get artist

Get detailed information about a specific artist including biography, nationality, career insights, artwork counts, and genre classifications. Returns stale_input when artist slug is not found.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `artist_id` | string | Yes | Artist slug (e.g. 'pablo-picasso', 'andy-warhol'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/artsy/get-artist \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"artist_id":"<string>"}'
```

### List artists

List artists alphabetically with optional letter filtering. Returns paginated results with basic info including nationality and date labels. The total_pages field is capped at 100 by the upstream API regardless of actual total count.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `letter` | string | No | Filter by first letter (a-z). Omit to list all artists. |
| `page` | integer | No | Page number (1-based). |
| `size` | integer | No | Number of artists per page (max 100). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/artsy/list-artists \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"letter":"<string>","page":"<integer>","size":"<integer>"}'
```

### Search artists

Search for artists by name via autosuggest. Returns up to 7 matching artists with image URLs and slugs for navigation to full profiles.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search term (artist name). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/artsy/search-artists \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```

### Search auctions

Search for auctions by keyword. Returns up to 10 matching auctions with name, URL, image, and slug.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search term for auction name (e.g. 'photography', 'prints', 'contemporary'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/artsy/search-auctions \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```

### Search shows

Search for shows by keyword. Returns up to 10 matching shows with name, URL, image, and slug.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search term for show name (e.g. 'photography', 'sculpture', 'contemporary'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/artsy/search-shows \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```

## Next steps

- [All wrapped API providers](https://paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://paywithlocus.com/agent/index.md): every Locus agent page.