Classification

April 23, 2026 ยท View on GitHub

Contains information on the classifications used to categorize items in the Harvard Art Museums collections. Classification labels are created and assigned by Harvard Art Museums curators.

Get Classifications

GET /classification will get all classifications.

Include one or more of the following parameters to filter the items.

ParameterValue
apikeyYOUR API KEY required
qFIELD:VALUE (see Elasticsearch Query String syntax for more options)
size0-9+
page0-9+
sortFIELD NAME or "random" or "random:[SEED NUMBER]"
sortorderasc or desc
fieldscomma separated list of data fields you want in the output
aggregationsee Elasticsearch aggregations
idpipe separated list of record IDs
usedbyFIELD NAME:ID

Examples

https://api.harvardartmuseums.org/classification
Returns all of the classifications.

Response

{
    "info": {
        "totalrecordsperquery": 3,
        "totalrecords": 62,
        "pages": 21,
        "page": 1,
        "next": "https://api.harvardartmuseums.org/classification?size=3&page=2",
        "responsetime": "6 ms"
    },
    "records": [
        {
            "objectcount": 24,
            "id": 162,
            "lastupdate": "2015-11-22T03:17:45-0500",
            "name": "Portfolios",
            "classificationid": 162
        },
        {
            "objectcount": 69081,
            "id": 23,
            "lastupdate": "2015-11-22T03:17:45-0500",
            "name": "Prints",
            "classificationid": 23
        },
        {
            "objectcount": 5623,
            "id": 30,
            "lastupdate": "2015-11-22T03:17:45-0500",
            "name": "Sculpture",
            "classificationid": 30
        }
    ]
}

Get Classification

GET /classification/CLASSIFICATION_ID will get the full record of the specified classification.

Examples

https://api.harvardartmuseums.org/classification/23
Returns the full record for the classification Prints.

Response

{
    "classificationid": 23,
    "name": "Prints",
    "objectcount": 69081,
    "id": 23,
    "lastupdate": "2015-11-22T03:17:45-0500"
}