# Cleveland Museum of Art API

> Returns open-access artworks of the Cleveland Museum of Art by search, artist, type, department, and CC0 images.

Category: Religion & Culture. Region: US. 8 endpoints at `https://api.hoshime.com/v1/clevelandart/<endpoint>`, `GET` with query parameters, answering `{data, meta}` (see https://hoshime.com/docs/responses.md). Reference: https://hoshime.com/docs/platforms/clevelandart
## GET /v1/clevelandart/search

Search the open-access artworks of The Cleveland Museum of Art.

Scope: `social:read` · Units: 1 · Cached: 60 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Words to search for, such as mona. (e.g. mona) |
| `limit` | integer | no | Items per page, 1 to 100. (default 10) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `accessionNumber` (string), `collection` (string), `creationDateText` (string), `creators` (Creator[]), `creators[].name` (string), `culture` (string[]), `department` (string), `id` (string), `imageUrl` (string), `shareLicense` (string), `technique` (string), `title` (string)

```bash
curl "https://api.hoshime.com/v1/clevelandart/search?query=mona" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/clevelandart/artwork

One artwork of The Cleveland Museum of Art by its id: creators, date, technique and image.

Scope: `social:read` · Units: 1 · Cached: 1440 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | integer | yes | Artwork id, such as 122506. (e.g. 122506) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `accessionNumber` (string), `collection` (string), `creationDateText` (string), `creators` (Creator[]), `creators[].name` (string), `culture` (string[]), `department` (string), `id` (string), `imageUrl` (string), `shareLicense` (string), `technique` (string), `title` (string)

```bash
curl "https://api.hoshime.com/v1/clevelandart/artwork?id=122506" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/clevelandart/artworksByArtist

Open-access artworks by one artist, 10 per page.

Scope: `social:read` · Units: 1 · Cached: 60 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `artist` | string | yes | Artist name, such as Rembrandt. (e.g. Rembrandt) |
| `limit` | integer | no | Items per page, 1 to 100. (default 10) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `accessionNumber` (string), `collection` (string), `creationDateText` (string), `creators` (Creator[]), `creators[].name` (string), `culture` (string[]), `department` (string), `id` (string), `imageUrl` (string), `shareLicense` (string), `technique` (string), `title` (string)

```bash
curl "https://api.hoshime.com/v1/clevelandart/artworksByArtist?artist=Rembrandt" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/clevelandart/artworksByType

Open-access artworks of one type, such as Painting, Print or Sculpture.

Scope: `social:read` · Units: 1 · Cached: 60 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `type` | string | yes | Artwork type, such as Painting. (e.g. Painting) |
| `limit` | integer | no | Items per page, 1 to 100. (default 10) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `accessionNumber` (string), `collection` (string), `creationDateText` (string), `creators` (Creator[]), `creators[].name` (string), `culture` (string[]), `department` (string), `id` (string), `imageUrl` (string), `shareLicense` (string), `technique` (string), `title` (string)

```bash
curl "https://api.hoshime.com/v1/clevelandart/artworksByType?type=Painting" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/clevelandart/artworksByDepartment

Open-access artworks of one curatorial department, by its full name.

Scope: `social:read` · Units: 1 · Cached: 60 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `department` | string | yes | Department name as the museum writes it, such as European Painting and Sculpture. (e.g. European Painting and Sculpture) |
| `limit` | integer | no | Items per page, 1 to 100. (default 10) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `accessionNumber` (string), `collection` (string), `creationDateText` (string), `creators` (Creator[]), `creators[].name` (string), `culture` (string[]), `department` (string), `id` (string), `imageUrl` (string), `shareLicense` (string), `technique` (string), `title` (string)

```bash
curl "https://api.hoshime.com/v1/clevelandart/artworksByDepartment?department=European+Painting+and+Sculpture" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/clevelandart/artworksByCulture

Open-access artworks made in one culture or country, such as Italy or Japan, 10 per page.

Scope: `social:read` · Units: 1 · Cached: 60 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `culture` | string | yes | Culture or country the artwork is credited to, such as Italy or Japan. (e.g. Italy) |
| `limit` | integer | no | Items per page, 1 to 100. (default 10) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `accessionNumber` (string), `collection` (string), `creationDateText` (string), `creators` (Creator[]), `creators[].name` (string), `culture` (string[]), `department` (string), `id` (string), `imageUrl` (string), `shareLicense` (string), `technique` (string), `title` (string)

```bash
curl "https://api.hoshime.com/v1/clevelandart/artworksByCulture?culture=Italy" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/clevelandart/artworksByCollection

Open-access artworks of one collection of the museum, by its name as the artwork record gives it, such as American - Painting.

Scope: `social:read` · Units: 1 · Cached: 60 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `collection` | string | yes | Collection name as the artwork record gives it, such as American - Painting or Japanese Art. (e.g. American - Painting) |
| `limit` | integer | no | Items per page, 1 to 100. (default 10) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `accessionNumber` (string), `collection` (string), `creationDateText` (string), `creators` (Creator[]), `creators[].name` (string), `culture` (string[]), `department` (string), `id` (string), `imageUrl` (string), `shareLicense` (string), `technique` (string), `title` (string)

```bash
curl "https://api.hoshime.com/v1/clevelandart/artworksByCollection?collection=American+-+Painting" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/clevelandart/cc0Images

Artworks with an image released under CC0, which anyone may reuse, optionally matching words.

Scope: `social:read` · Units: 1 · Cached: 60 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | no | Words to search for, such as landscape. Empty lists all CC0 artworks with images. (e.g. landscape) |
| `limit` | integer | no | Items per page, 1 to 100. (default 10) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `accessionNumber` (string), `collection` (string), `creationDateText` (string), `creators` (Creator[]), `creators[].name` (string), `culture` (string[]), `department` (string), `id` (string), `imageUrl` (string), `shareLicense` (string), `technique` (string), `title` (string)

```bash
curl "https://api.hoshime.com/v1/clevelandart/cc0Images?query=landscape" -H "Authorization: Bearer $HOSHIME_TOKEN"
```
