# Art of the day from public-domain museum collections

A site, widget or wallpaper that shows one public-domain masterpiece a day, with its story, from The Met and the Rijksmuseum.

## Parts

- Data: [The Met Open Access](https://agentgid.com/resources/met-open-access/agent.md): The Met's free, keyless JSON API and CC0 CSV dataset with object records for more than 470,000 artworks, including image URLs for public-domain works.
- Data: [Rijksmuseum Open Data](https://agentgid.com/resources/rijksmuseum-data-services/agent.md): The Rijksmuseum's open data portal: metadata for 800,000 collection objects, high-resolution photos of 600,000 of them, library records and vocabularies, served by keyless APIs, IIIF and bulk downloads.
- Website: [Next.js](https://agentgid.com/tools/next/agent.md)
- Resize images: [sharp](https://agentgid.com/tools/sharp/agent.md)
- Daily pick: [node-cron](https://agentgid.com/tools/node-cron/agent.md)

## Steps

1. Search The Met's Collection API (v1.1/search) for objects with images, then open each object record.
2. Keep only objects marked isPublicDomain, and Rijksmuseum objects whose notice is public domain or CC0.
3. Pick one a day, make web-sized copies with sharp, and write a short caption from the object's own fields.

## Watch out

- The Met lists works still under copyright too; use images only when isPublicDomain is true.
- CC BY items from the Rijksmuseum need "Rijksmuseum" as credit; never imply either museum endorses your app.

Human page: https://agentgid.com/resources/ideas/art-of-the-day/
