文
The Metropolitan Museum of Art API
7 endpointsReligion & CultureUSsocial:read7 real examples
Returns object ids and object details from The Met's collection, plus departments, highlights and works on view.
View as Markdown| GET | /metmuseum/search | Search The Met's collection. Returns the matching object ids, a page at a time. |
| GET | /metmuseum/object | One object of The Met's collection: title, artist, date, department and image. |
| GET | /metmuseum/departments | The curatorial departments of The Met, with their ids. |
| GET | /metmuseum/highlights | Object ids of The Met's highlights, the works it features most, a page at a time. |
| GET | /metmuseum/onView | Object ids of works on view in the galleries now, a page at a time. |
| GET | /metmuseum/department | Object ids of one department, a page at a time. Ids come from the departments endpoint. |
| GET | /metmuseum/artist | Object ids made by or about an artist or culture, a page at a time. |
search
GET
/v1/metmuseum/searchSearch The Met's collection. Returns the matching object ids, a page at a time.
scope social:read1 unitcached 1 hpaginated
Parameters
querystring required | Words to search for, such as sunflower. e.g. sunflower |
hasImagesboolean | Only objects with an image when true. |
limitinteger | Items per page, 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
1 fields
id | string |
curl "https://api.hoshime.com/v1/metmuseum/search?query=sunflower" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/metmuseum/search?query=sunflower", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/metmuseum/search?query=sunflower", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "id": "485308" }, { "id": "626832" } ], "meta": { "cached": false, "endpoint": "search", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "metmuseum", "requestId": "req_2Xb9kQ…", "units": 1 } }
object
GET
/v1/metmuseum/objectOne object of The Met's collection: title, artist, date, department and image.
scope social:read1 unitcached 24 h
Parameters
idinteger required | Object id, such as 436535. e.g. 436535 |
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
12 fields
accessionNumber | string |
artist | string |
culture | string |
department | string |
displayDate | string |
id | string |
image | string |
isPublicDomain | boolean |
medium | string |
objectName | string |
title | string |
url | string |
curl "https://api.hoshime.com/v1/metmuseum/object?id=436535" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/metmuseum/object?id=436535", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/metmuseum/object?id=436535", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "accessionNumber": "1993.132", "artist": "Vincent van Gogh", "culture": "", "department": "European Paintings", "displayDate": "1889", "id": "436535", "image": "https://images.metmuseum.org/CRDImages/ep/original/DP-42549-001.jpg", "isPublicDomain": true, "medium": "Oil on canvas", "objectName": "Painting", "title": "Wheat Field with Cypresses", "url": "https://www.metmuseum.org/art/collection/search/436535" }, "meta": { "cached": false, "endpoint": "object", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "metmuseum", "requestId": "req_2Xb9kQ…", "units": 1 } }
departments
GET
/v1/metmuseum/departmentsThe curatorial departments of The Met, with their ids.
scope social:read1 unitcached 24 hpaginated
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
2 fields
id | string |
name | string |
curl "https://api.hoshime.com/v1/metmuseum/departments" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/metmuseum/departments", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/metmuseum/departments", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "id": "1", "name": "American Decorative Arts" }, { "id": "3", "name": "Ancient West Asian Art" } ], "meta": { "cached": false, "endpoint": "departments", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "metmuseum", "requestId": "req_2Xb9kQ…", "units": 1 } }
highlights
GET
/v1/metmuseum/highlightsObject ids of The Met's highlights, the works it features most, a page at a time.
scope social:read1 unitcached 1 hpaginated
Parameters
limitinteger | Items per page, 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
1 fields
id | string |
curl "https://api.hoshime.com/v1/metmuseum/highlights" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/metmuseum/highlights", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/metmuseum/highlights", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "id": "10065" }, { "id": "10127" } ], "meta": { "cached": false, "endpoint": "highlights", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "metmuseum", "requestId": "req_2Xb9kQ…", "units": 1 } }
onView
GET
/v1/metmuseum/onViewObject ids of works on view in the galleries now, a page at a time.
scope social:read1 unitcached 1 hpaginated
Parameters
limitinteger | Items per page, 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
1 fields
id | string |
curl "https://api.hoshime.com/v1/metmuseum/onView" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/metmuseum/onView", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/metmuseum/onView", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "id": "10001" }, { "id": "10004" } ], "meta": { "cached": false, "endpoint": "onView", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "metmuseum", "requestId": "req_2Xb9kQ…", "units": 1 } }
department
GET
/v1/metmuseum/departmentObject ids of one department, a page at a time. Ids come from the departments endpoint.
scope social:read1 unitcached 1 hpaginated
Parameters
departmentIdinteger required | Department id such as 11 for European Paintings. e.g. 11 |
limitinteger | Items per page, 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
1 fields
id | string |
curl "https://api.hoshime.com/v1/metmuseum/department?departmentId=11" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/metmuseum/department?departmentId=11", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/metmuseum/department?departmentId=11", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "id": "189655" }, { "id": "189656" } ], "meta": { "cached": false, "endpoint": "department", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "metmuseum", "requestId": "req_2Xb9kQ…", "units": 1 } }
artist
GET
/v1/metmuseum/artistObject ids made by or about an artist or culture, a page at a time.
scope social:read1 unitcached 1 hpaginated
Parameters
artiststring required | Artist or culture name, such as Van Gogh. e.g. Van Gogh |
limitinteger | Items per page, 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
1 fields
id | string |
curl "https://api.hoshime.com/v1/metmuseum/artist?artist=Van+Gogh" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/metmuseum/artist?artist=Van+Gogh", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/metmuseum/artist?artist=Van+Gogh", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "id": "276299" }, { "id": "335536" } ], "meta": { "cached": false, "endpoint": "artist", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "metmuseum", "requestId": "req_2Xb9kQ…", "units": 1 } }