文
Minneapolis Institute of Art API
4 endpointsReligion & CultureUSsocial:read4 real examples
Returns artworks from the Minneapolis Institute of Art collection by search or id, a random artwork, and related people.
View as Markdown| GET | /artsmia/search | Artworks of the collection that match words, such as a title, an artist or a medium, 20 per page. |
| GET | /artsmia/object | One artwork of the collection by its object id: title, artist, date, medium and credit line. |
| GET | /artsmia/randomArt | A random artwork of the collection. Each call returns a new one, so it is not cached. |
| GET | /artsmia/person | A person or organization related to the collection, such as an artist, with nationality and dates. |
search
GET
/v1/artsmia/searchArtworks of the collection that match words, such as a title, an artist or a medium, 20 per page.
scope social:read1 unitcached 1 hpaginated
Parameters
querystring required | Words to search for, such as monet. e.g. monet |
limitinteger | Artworks per page, from 1 to 100. default 20 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
14 fields
accessionNumber | string |
artist | string |
classification | string |
creditLine | string |
dated | string |
department | string |
dimension | string |
hasImage | boolean |
highlight | boolean |
id | string |
medium | string |
nationality | string |
title | string |
url | string |
curl "https://api.hoshime.com/v1/artsmia/search?query=monet" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/artsmia/search?query=monet", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/artsmia/search?query=monet", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "accessionNumber": "93.20", "artist": "Claude Monet", "classification": "Paintings", "creditLine": "Gift of Ruth and Bruce Dayton, The Putnam Dana McMillan Fund, The John R. Van Derlip Fund, The William Hood Dunwoody Fund, The Ethel Morriso…", "dated": "1891", "department": "European Art", "dimension": "23 5/8 x 39 1/2in. (60 x 100.3cm)\r\n33 x 48 3/4 x 3 7/8 in. (83.82 x 123.83 x 9.84 cm) (outer frame)", "hasImage": true, "highlight": false, "id": "10436", "medium": "Oil on canvas", "nationality": "French", "title": "Grainstack, Sun in the Mist", "url": "https://collections.artsmia.org/art/10436" }, { "accessionNumber": "61.36.15", "artist": "Claude Monet", "classification": "Paintings", "creditLine": "Bequest of Putnam Dana McMillan", "dated": "c. 1923–25", "department": "European Art", "dimension": "35 x 45 3/4 in. (88.9 x 116.21 cm) (canvas)\r\n34 1/2 x 45 1/4 in. (87.63 x 114.94 cm) (sight)\r\n42 1/4 x 53 x 2 1/4 in. (107.32 x 134.62 x 5.7…", "hasImage": true, "highlight": false, "id": "1413", "medium": "Oil on canvas", "nationality": "French", "title": "The Japanese Bridge", "url": "https://collections.artsmia.org/art/1413" } ], "meta": { "cached": false, "endpoint": "search", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "artsmia", "requestId": "req_2Xb9kQ…", "units": 1 } }
object
GET
/v1/artsmia/objectOne artwork of the collection by its object id: title, artist, date, medium and credit line.
scope social:read1 unitcached 24 h
Parameters
idinteger required | Object id, such as 10436. e.g. 10436 |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
14 fields
accessionNumber | string |
artist | string |
classification | string |
creditLine | string |
dated | string |
department | string |
dimension | string |
hasImage | boolean |
highlight | boolean |
id | string |
medium | string |
nationality | string |
title | string |
url | string |
curl "https://api.hoshime.com/v1/artsmia/object?id=10436" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/artsmia/object?id=10436", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/artsmia/object?id=10436", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "accessionNumber": "93.20", "artist": "Claude Monet", "classification": "Paintings", "creditLine": "Gift of Ruth and Bruce Dayton, The Putnam Dana McMillan Fund, The John R. Van Derlip Fund, The William Hood Dunwoody Fund, The Ethel Morriso…", "dated": "1891", "department": "European Art", "dimension": "23 5/8 x 39 1/2in. (60 x 100.3cm)\r\n33 x 48 3/4 x 3 7/8 in. (83.82 x 123.83 x 9.84 cm) (outer frame)", "hasImage": true, "highlight": false, "id": "10436", "medium": "Oil on canvas", "nationality": "French", "title": "Grainstack, Sun in the Mist", "url": "https://collections.artsmia.org/art/10436" }, "meta": { "cached": false, "endpoint": "object", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "artsmia", "requestId": "req_2Xb9kQ…", "units": 1 } }
randomArt
GET
/v1/artsmia/randomArtA random artwork of the collection. Each call returns a new one, so it is not cached.
scope social:read1 unit
Parameters
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
14 fields
accessionNumber | string |
artist | string |
classification | string |
creditLine | string |
dated | string |
department | string |
dimension | string |
hasImage | boolean |
highlight | boolean |
id | string |
medium | string |
nationality | string |
title | string |
url | string |
curl "https://api.hoshime.com/v1/artsmia/randomArt" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/artsmia/randomArt", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/artsmia/randomArt", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "accessionNumber": "P.12, 966", "artist": "Sebald Beham", "classification": "Prints", "creditLine": "The Richard E. Lewis Fund, 1963", "dated": "1520", "department": "European Art", "dimension": "4 9/16 x 2 7/8 in. (11.59 x 7.3 cm) (plate)", "hasImage": false, "highlight": false, "id": "48395", "medium": "Etching on iron", "nationality": "German", "title": "The Bagpipe Player and His Lover", "url": "https://collections.artsmia.org/art/48395" }, "meta": { "cached": false, "endpoint": "randomArt", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "artsmia", "requestId": "req_2Xb9kQ…", "units": 1 } }
person
GET
/v1/artsmia/personA person or organization related to the collection, such as an artist, with nationality and dates.
scope social:read1 unitcached 24 h
Parameters
idinteger required | Person id, such as 4419. e.g. 4419 |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
6 fields
beginDate | integer (int64) |
description | string |
endDate | integer (int64) |
id | string |
name | string |
nationality | string |
curl "https://api.hoshime.com/v1/artsmia/person?id=4419" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/artsmia/person?id=4419", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/artsmia/person?id=4419", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "beginDate": 0, "description": "", "endDate": 0, "id": "4419", "name": "Anthony Caponi (1921-)", "nationality": "American" }, "meta": { "cached": false, "endpoint": "person", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "artsmia", "requestId": "req_2Xb9kQ…", "units": 1 } }