Random Artwork Generator

Press the button to see a random artwork from a collection of over one million paintings, sculptures, prints, drawings, photographs and decorative objects from museums around the world. Every click is a new piece, from medieval armour to impressionist landscapes.

Wheat Field with Cypresses

Wheat Field with Cypresses

Vincent van Gogh, 1889

Van Gogh painted several versions of this wheat field with cypress trees in 1889, during his stay in Saint-Rémy-de-Provence in the south of France.

Use random artworks in your own app

The generator runs on the Random Artwork endpoint of the Art Search API. One call returns one artwork with its id, title, image URL, start and end date and a description:

curl 'https://api.artsearch.io/artworks/random' \
  -H 'x-api-key: YOUR-API-KEY'

For a random painting, search with an empty query, type=painting and a random offset between 0 and 1000 (see Search Artworks). Each call costs one request, and the free plan includes 50 requests a day, enough for a daily painting on a website or a home screen widget. The painting of the day tutorial shows a complete example with server-side caching.

Get a free API key · Quick start · SDKs for 21 languages

Questions

How does the random artwork generator work?

Each click asks the Art Search API for a random artwork from its collection of over one million paintings, sculptures, prints, drawings and other objects from museums worldwide, and shows its image, title and dates.

Can I get only paintings?

Yes. Pick "Paintings" in the menu to see a random painting. The same works for sculptures, drawings, prints and photographs.

Is it free?

Yes, the generator on this page is free to use. To show random artworks in your own app or website, get a free API key and call the Random Artwork endpoint; the free plan includes 50 requests a day.

How do I add a painting of the day to my website?

Call the Art Search API from your server, so your API key stays private, and show the image and title. The painting of the day tutorial picks a painting with a date-based search, which keeps the request count low. Note that the API terms do not allow storing API data; caching for up to one hour needs written permission.