Collections: API

  • 1st Floor
    Arts of Africa, Steinberg Family Sculpture Garden
  • 2nd Floor
    Arts of Asia and the Islamic World
  • 3rd Floor
    Egyptian Art, European Paintings
  • 4th Floor
    Contemporary Art, Decorative Arts, Elizabeth A. Sackler Center for Feminist Art
  • 5th Floor
    Luce Center for American Art

On View: Not at Home

The painting’s title may seem curious, especially since there is clearly someone in this comfortably furnished domestic interior. In t...

Hiroshige's One Hundred Famous Views of Edo

Hiroshige's 118 woodblock landscape and genre scenes of mid-nineteenth-century Tokyo, is one of the greatest achievements of Japanese art.

    On View: Stela of Steward Ptahemsai

    Wealthy Egyptians sometimes commissioned unique stelae with representations specific to their personal needs and wishes, but most people cou...

     

    Login to play

    Login with Google ID

    Forgot your password?

    Not a Posse member? Register

    Brooklyn Museum Posse:
    Exploring the collection

    When you join the posse, your tags comments and favorites will display with your attribution and save to your profile.

    This method returns all Archives Images

    Arguments

    library_catalog_id (Optional)
    The catalog id of the library item to restrict images to. String.
    keyword (Optional)
    Optionally specify a keyword to match against image filename, caption, credit, date, or imaging_project_name. (e.g. "Brooklyn Bridge") String.
    imaging_project_name (Optional)
    Optionally specify an imaging_project_name to match (e.g. "CHART", "Goodyear") String.
    start_index (Optional)
    An integer indicating where to begin the query. If 0 is given, the query will return the top most relevant items. If 10 is given, the response will contain items 10 through 10+results_limit. If start_index exceeds the number of results identified by the query, no results will be returned. An integer greater than or equal to 0
    results_limit (Optional)
    An integer representing the maximum number of results to return. An integer between 1 and 20 inclusive. Default 20.

    Inherited Arguments

    api_key (Required)
    Your personal API Key.
    version (Required)
    The API version you want to use. Integer. Valid values: 1.
    include_image_caption (Optional)
    Specifies whether or not to include preformatted item captions in the response. Boolean.
    include_item_fields (Optional)
    Specifies whether or not to include lots of extra data about the item (e.g., medium, classification, credit, etc.). If you set this param to false note that you must display minimal fields when using Brooklyn Museum images. Boolean. Default True.
    thumb_shape (Optional)
    Specify "square" to retrieve thumbs that have been cropped to perfect squares Valid values: original, square. Default original.
    max_thumb_size (Optional)
    Specifies the maximum thumb size. (Size of longest dimension in pixels.) Note that the relevant values depend on the thumb_shape used. If you specify square thumbs your options are 50 and 150. Otherwise your options are 96 and 192. Valid values: 50, 96, 150, 192. Default 96.
    max_image_size (Optional)
    Specifies the maximum image size to return. Note that copyright restrictions sometimes prevent us from providing a large derivative. When that's the case, an image returned may be considerably smaller than the max you specify. Valid values: 384, 768, 1536. Default 384.
    format (Optional)
    The response format. Valid values: xml, json, html, cdwalite, dublincore. Default xml.
    include_html_style_block (Optional)
    Only applies to requests where format is html. Specifies whether or not to include a standard STYLE block with returned HTML content. The STYLE block dresses up the otherwise drab HTML. If you prefer to style the returned HTML yourself set this parameter to false. Boolean. Default True.

    Response

    A successful invocation of Archives.getImages returns a RESPONSE envelope and a single ARCHIVESIMAGES element.

    Example

    Try changing the values below to modify the service URL. Click "Call" to see the result.

    version:
    include_image_caption:
    include_item_fields:
    thumb_shape:
    max_thumb_size:
    max_image_size:
    format:
    include_html_style_block:
    library_catalog_id:
    keyword:
    imaging_project_name:
    start_index:
    results_limit:

    http://www.brooklynmuseum.org/opencollection/api/
    ?method=archives.getImages&version=1&api_key=[YOUR API KEY]

    Errors

    1001: Missing parameter
    A required param was missing (e.g., api_key, method)