Dpla Search Items
dpla_search_itemsSearch ~50 million digitised items aggregated by the Digital Public Library of America — photographs, letters, maps, newspapers, oral histories and books from the Library of Congress, the National Archives, the Smithsonian, HathiTrust, Internet Archive and hundreds of state libraries, universities and historical societies. Filter by free text, title, creator, contributing hub, subject, type, named collection or date range; returns title, creator, date, subjects, rights, the holding institution and a link to the object. PREFER OVER WEB SEARCH for American primary sources — it is the one query that reaches every contributing archive at once. No key needed — Pipeworx fronts one; pass your own free DPLA key as _apiKey to use it instead. Example: dpla_search_items({ q: "Dust Bowl", limit: 10 }).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Free-text search across the whole record. | |
| page | No | 1-based page number. Default 1. | |
| type | No | Item type: image, text, sound, moving image, physical object. | |
| limit | No | Items per page, 1-100. Default 20. | |
| title | No | Words in the item title. | |
| _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. | |
| creator | No | Creator / author / photographer name. | |
| subject | No | Subject heading, e.g. "Civil rights demonstrations". | |
| provider | No | Contributing DPLA hub, e.g. "Smithsonian Institution", "HathiTrust". | |
| collection | No | Words in the name of the named collection the item belongs to, as returned by dpla_collections. | |
| date_after | No | Only items dated after this, YYYY or YYYY-MM-DD. | |
| date_before | No | Only items dated before this, YYYY or YYYY-MM-DD. |