The Museum of Modern Art (MoMA) API is a REST service. It provides access to art, exhibition, and artist data and images as either JSON or XML.
The API is only available to MoMA staff and partners (for now)
The API help section shows the different methods and parameters, as well as examples of how to call services. Due to rights and reproduction limitations, not every work is available.
MoMA publishes its collection metadata as open data. The dataset on GitHub includes records for over 160,000 artworks and 15,000 artists in CSV and JSON formats, released into the public domain under a CC0 license. (Images are not included.)