SNAC Archives
v0.1.0Find which archive holds the papers: SNAC's index of archival collections, plus ArchiveGrid links.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_collections
Find archival collections by words in their title, with who holds each. Matches the collection TITLE only, and every word must appear: a county or second surname named only in the abstract will not match, so use archivegrid_search_link or search_names for those. The same papers often appear two or three times (a WorldCat record plus harvested finding aids); `possible_duplicate_of` flags them. SNAC's catalogue is largely a 2010s snapshot. A hit tells you where papers are, not what they say: confirm the collection number in the repository's own catalogue, and cite it…
| Parameter | Type | Description |
|---|---|---|
title_words * | string | Words that must all appear in the collection's title, e.g. 'Davenport family papers'. Places and second surnames are usually not in the title. |
count | integer | Collections per page (1-50). |
page | integer | Page of results, 1-based. |
refresh | boolean | True asks SNAC again instead of using the cache, and replaces the cached copy. Answers are cached for 30 days; refresh a cached empty result before concluding something is absent. |
get_collection
Read one collection description in full, with the names SNAC links to it. Depth varies: a one-line MARC record with no box or folder list is normal, and a terse description does not mean a person is absent from the papers. Follow `link` (when `link_kind` is finding_aid) or the repository's own catalogue to the finding aid; that is the description to cite, by its collection number. Record `oclc_number`. "[microform]" in a title means a copy; the original is elsewhere.
| Parameter | Type | Description |
|---|---|---|
resource_id * | string | The collection's SNAC resource id, e.g. '7252207'. |
refresh | boolean | True asks SNAC again instead of using the cache, and replaces the cached copy. Answers are cached for 30 days; refresh a cached empty result before concluding something is absent. |
search_names
Find SNAC name records for a person, family or organisation. A heading such as "Anderson family." matches hundreds of unrelated families, usually one record per source collection, with no place or date to tell them apart. A SNAC record is a machine-built authority record, not an identification: narrow with get_name, reading the collections it links to and their places and dates, before treating any record as your family.
| Parameter | Type | Description |
|---|---|---|
name * | string | A name as a heading would carry it, e.g. 'Anderson family'. |
count | integer | Names per page (1-50). |
entity_type | string | Restrict to one kind of name. corporateBody covers churches, businesses, societies and government offices. |
page | integer | Page of results, 1-based. |
refresh | boolean | True asks SNAC again instead of using the cache, and replaces the cached copy. Answers are cached for 30 days; refresh a cached empty result before concluding something is absent. |
search_biographies | boolean | Also match words in the biographical notes. |
get_name
Read one SNAC name record: who or what it is, and the collections linked to it. In `collections`, role creatorOf means these are the name's own papers; referencedIn means the name is an index term on the collection, not proof the person appears in any document. The biography is copied from a finding aid: secondary information to follow up, not to cite for a fact. `maybe_same_count` above 0 means SNAC suspects this record and another describe one entity. Record the `ark`, not the numeric id.
| Parameter | Type | Description |
|---|---|---|
name_id * | string | A SNAC ARK (ark:/99166/w6xj0ds0, or just w6xj0ds0) or a numeric constellation id. |
detail | string | summary: headings, dates, places, biography. full adds every linked collection and related name. |
refresh | boolean | True asks SNAC again instead of using the cache, and replaces the cached copy. Answers are cached for 30 days; refresh a cached empty result before concluding something is absent. |
collections_in_common
List the collections linked to both of two names. Useful for intermarried families and the associates around an ancestor: papers that mention both are where to look for letters between them. Two names on one collection do not show the two people knew each other.
| Parameter | Type | Description |
|---|---|---|
first * | string | One name: a SNAC ARK or constellation id. |
second * | string | The other name: a SNAC ARK or constellation id. |
refresh | boolean | True asks SNAC again instead of using the cache, and replaces the cached copy. Answers are cached for 30 days; refresh a cached empty result before concluding something is absent. |
repository_holdings
List the collections SNAC links to one repository, filtered by title. The first call for a large repository is slow (10 to 20 seconds; it is SNAC building a list of thousands) and is then cached. The list is SNAC's link table, not the repository's catalogue: it includes printed and microform items and misses recent accessions. Survey "repositories" such as a state historical documents inventory record what a town or church held when surveyed decades ago; the material may since have moved.
| Parameter | Type | Description |
|---|---|---|
repository * | string | The holding repository: its SNAC ARK or constellation id, as get_collection's repository field gives it. |
count | integer | Collections per page (1-100). |
page | integer | Page of results, 1-based. |
refresh | boolean | True asks SNAC again instead of using the cache, and replaces the cached copy. Answers are cached for 30 days; refresh a cached empty result before concluding something is absent. |
title_contains | string | Keep only collections whose title contains this text. |
archivegrid_search_link
Build an ArchiveGrid search address for the user to open. Makes no network call. ArchiveGrid often finds what SNAC cannot: collections known only by place or subject, and HTML or PDF finding aids. OCLC forbids automated access, so give the link to the user; never fetch it. Fielded indexes cover catalogue records and EAD only; HTML and PDF finding aids match keywords only. Over 90% of hits are collection-level WorldCat records, and microfilm held by many libraries (county or church records) is usually missing.
| Parameter | Type | Description |
|---|---|---|
archive | string | The holding repository's name. |
event | string | A named event or meeting. |
exclude | array | Words or phrases to exclude. |
family | string | A family name heading, e.g. 'Anderson family'. |
has_links | boolean | Only records linking to something online. |
keywords | string | Free words, as typed into ArchiveGrid. |
location | string | Where the REPOSITORY is, e.g. 'North Carolina'. |
oclc_number | string | Instead of a search, link one record by its OCLC number. |
organization | string | A church, firm, society or office. |
person | string | A person's name, e.g. 'Crothers, Robert'. |
place | string | A place the papers are ABOUT, e.g. 'Lincoln County (N.C.)'. |
source_type | string | Only one kind of record. |
title | string | Words in the collection title. |
topic | string | A subject heading. |
cache_status
Report this session's SNAC calls and cache use. Makes no network call.