Dpla Collections
dpla_collectionsWhich named collections inside DPLA's contributing institutions hold material on a topic — the curated groupings an archive defines around a subject, a donor or a project — each with how many matching items it holds. Backed by the collection-title facet of DPLA's item search (DPLA retired its separate collections endpoint), so q scopes the list to collections whose items match the text and title matches words in the collection name. Use it to see how American libraries have organised a subject before pulling records with dpla_search_items({ collection }). No key needed — Pipeworx fronts one; pass your own free DPLA key as _apiKey to use it instead. Example: dpla_collections({ q: "Civil War" }).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Free text; lists the collections whose items match it. | |
| limit | No | Maximum collections to return, 1-200. Default 20. Ordered by item count, most first. | |
| title | No | Words in the collection name. | |
| _apiKey | No | Your DPLA API key. Free and self-service: POST https://api.dp.la/v2/api_key/<your-email> and DPLA emails it to you. |