nara_search
Search the US National Archives Catalog by keywords, dates, record groups, and material types, then retrieve paginated results with NARA attribution.
Instructions
Search the US National Archives Catalog. Needs NARA_API_KEY (10,000 queries a month by default).
One page per call, at most 100 records: the API's terms forbid scraping or bulk download. The remaining monthly budget is visible in usage_report. Results include the attribution NARA requires.
Args: q: Search words; supports AND, OR, NOT, wildcards (*) and "exact phrases". title: Words in the title. start_date: Earliest date (YYYY, YYYY-MM or YYYY-MM-DD). end_date: Latest date. available_online: Only records with digitised objects. type_of_materials: e.g. Photographs and other Graphic Materials, Textual Records, Maps. level: series, fileUnit, item, recordGroup, etc. record_group: Record group number, e.g. 109 (Confederate records). ancestor_na_id: Only records beneath this naId. geographic: Geographic subject heading. creators: Creator heading. include_extracted_text: Include OCR text in the results where NARA has it. limit: Results per page (1 to 100). page: Page number from 1. kind: text, image, map, audio or video, mapped to NARA's type of materials (unverified until a key has been used against the live service).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | ||
| kind | No | ||
| page | No | ||
| level | No | ||
| limit | No | ||
| title | No | ||
| creators | No | ||
| end_date | No | ||
| geographic | No | ||
| start_date | No | ||
| record_group | No | ||
| ancestor_na_id | No | ||
| available_online | No | ||
| type_of_materials | No | ||
| include_extracted_text | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||