Obituary Scraper for Legacy.com — Names, Dates & Funeral Homes avatar

Obituary Scraper for Legacy.com — Names, Dates & Funeral Homes

Pricing

from $1.75 / 1,000 results

Go to Apify Store
Obituary Scraper for Legacy.com — Names, Dates & Funeral Homes

Obituary Scraper for Legacy.com — Names, Dates & Funeral Homes

Search and scrape obituaries from Legacy.com by name: full name, birth & death dates, age, funeral home, location, bio, photo and obituary URL. For genealogy, records research and memorial data. Independent tool, not affiliated with Legacy.com.

Pricing

from $1.75 / 1,000 results

Rating

0.0

(0)

Developer

Haketa

Haketa

Maintained by Community

Actor stats

0

Bookmarked

13

Total users

4

Monthly active users

13 days ago

Last modified

Categories

Features

Limited permissions

Share

Obituary Scraper for Legacy.com — Names, Birth & Death Dates, Funeral Homes & Locations

Search and extract obituary records from Legacy.com at scale — full name, birth & death dates, age, funeral home, publisher, associated towns & cities, biography summary, portrait photo, and source obituary URL. Search by first name, last name, or keyword, or supply Legacy.com search URLs directly — no login, no coding required.

Export clean, de-duplicated records to JSON, CSV, Excel, or API in seconds.

Apify Actor

Built for genealogists and family-history researchers, vital-records and demographic analysts, journalists and memorial editors, probate and estate-location researchers, funeral-industry market analysts, and data teams enriching person records with verified obituary dates and locations.


⚡ At a glance

FeatureDetails
Target PlatformLegacy.com — nationwide US & international obituary index
Search ModesFirst name, last name (surname), free-text keyword (city, funeral home, phrase), or custom search URLs
PaginationAutomatic deep pagination (50 obituaries per page) — scales cleanly to 1,000+ records per run
Core Data ExtractedFull name, age, birth & death dates, biography summary, funeral home, publisher, locations, portrait photo, source URL
De-duplicationAutomatic in-memory de-duplication by obituaryId across all pages and searches (0 duplicates)
Empty-Run BehaviorAuto-samples top US surnames when run with empty input so every run delivers immediate data
Export FormatsJSON, CSV, Excel (XLSX), HTML, XML, JSON Lines, and live Apify REST API / KVS OUTPUT
AuthenticationNone required (public obituary directory)

🔎 Why scrape Legacy.com obituaries?

Legacy.com is the largest obituary network on the web, aggregating death notices, memorial tributes, and funeral announcements from thousands of local newspapers and funeral homes across the United States and beyond. A single surname or regional search on Legacy.com can surface decades of notices nationwide — full names, ages, exact birth and death dates, the funeral home that handled the arrangements, associated towns and cities, and a short biography for each person.

That data is essential for genealogy, vital-records research, probate and estate recovery, funeral-home market intelligence, and demographic analysis, but collecting it manually is slow and repetitive. Legacy.com displays 50 results per page, requires stepping through dozens of result pages for common surnames, and mixes newspaper notices with funeral-home tributes. This Obituary Scraper for Legacy.com automates the entire workflow: it executes your search, paginates automatically across 50-record pages up to 1,000+ obituaries, de-duplicates every record by person ID, and delivers one normalized row per obituary.

Common reasons teams use this Legacy.com data extractor:

  • 🌳 Genealogy & family-history research — trace surname lineages across states and decades with verified birth/death dates, ages, and hometowns.
  • 🧾 Probate, estate & unclaimed-asset research — confirm dates of death, last known cities, and handling funeral homes with a direct source link.
  • ⚱️ Funeral-industry market intelligence — analyze which funeral homes and newspaper affiliates publish notices in specific cities and counties.
  • 📊 Demographic & academic mortality research — aggregate obituary records by region, surname, or period to study longevity and migration patterns.
  • 📰 Journalism, alumni & memorial tracking — monitor notices for notable individuals, alumni networks, professional associations, or local communities.
  • 🔗 CRM & identity database enrichment — clean and update person databases by matching names and locations against verified obituary records.
  • 🏛️ Library & historical society archiving — build searchable local death-notice collections for counties, towns, and heritage archives.

✨ What this Legacy.com obituary scraper does

  • ✅ Flexible name & keyword search — search by firstName, lastName (surname), and/or keyword (city, state, funeral home, college, or phrase).
  • ✅ Direct Search URL support (startUrls) — paste any pre-filtered Legacy.com search URLs to run multiple surnames or regional queries in a single batch job.
  • ✅ Unlocked 1,000+ deep pagination — steps through result pages (50 obituaries per page) automatically when maxPages: 0, continuing until your maxItems target is met or all matching notices are collected.
  • ✅ Automatic fallback for empty runs — if started with no search parameters, the actor automatically samples common US surnames so test runs always return structured records.
  • ✅ Strict de-duplication — tracks every obituaryId across all pages and multiple searches so overlapping queries never produce duplicate rows.
  • ✅ Normalized, analysis-ready fields — dates formatted consistently, HTML entities decoded, locations de-duplicated into both a primaryLocation string and a full locations array, and direct links provided for both the original funeral home/newspaper page (obituaryUrl) and the Legacy profile (legacyUrl).
  • ✅ Ready for automation — mirrors summary output to Key-Value Store OUTPUT for synchronous API calls while streaming full records to the Apify Dataset for bulk JSON, CSV, and Excel export.

🎯 Use cases & industry workflows

1. Genealogists & Family-History Platforms

Build comprehensive surname indexes across the United States. Combine a lastName with a town or state in keyword (e.g., lastName: "O'Connor", keyword: "Boston") to isolate regional branches of a family tree, complete with birth dates, death dates, and multi-city location histories.

2. Probate, Heir-Search & Asset-Recovery Firms

Verify decedent details quickly across thousands of funeral homes and newspapers. Each record includes fullName, birthDate, deathDate, age, primaryLocation, funeralHome, and the authoritative obituaryUrl, giving paralegals and researchers verifiable documentation for estate filings.

3. Funeral Home & Memorial Service B2B Intelligence

Track publication volume across funeral homes (funeralHome) and publishing networks (publisher). Identify active funeral homes in target metros, benchmark regional notice volume, and map local market share across states.

4. Alumni Offices, Nonprofits & CRM Data Hygiene

Run scheduled checks by city, institution name (keyword), or surname list to keep donor, pension, and alumni databases accurate and prevent outreach to deceased contacts.

5. Academic Demographers & Public-Health Analysts

Aggregate historical and contemporary obituary notices across US regions to study age-at-death distributions (age), regional mobility (comparing birth/hometown cities vs. final residence in locations), and funeral-service consolidation.

6. Local Newspapers, Historical Societies & Archives

Preserve community history by running weekly scheduled extractions for county or town names in keyword, exporting clean CSV/Excel tables into institutional repositories.


🔄 Automation & integration workflows

Because every run outputs deterministic, schema-validated JSON records, you can plug Obituary Scraper for Legacy.com directly into your existing data stack:

Integration TargetTypical Workflow
Google Sheets / AirtableAutomatically append newly published obituaries for tracked surnames, universities, or counties into a shared research spreadsheet.
Make.com / Zapier / n8nTrigger downstream workflows whenever a new obituary matches a monitored surname or town, sending email/Slack digests to researchers or paralegals.
PostgreSQL / BigQuery / SnowflakeIngest bulk 1,000+ record datasets via the Apify Dataset API, using obituaryId as the primary upsert key.
CRM Hygiene (Salesforce / HubSpot)Cross-reference contact lists against recent obituary records by fullName, primaryLocation, and age to flag deceased contacts respectfully.

📥 Input configuration

Provide a first/last name, a keyword, or startUrls (or leave blank for an automatic multi-surname sample). All fields are optional (required: []).

ParameterTypeDefault / PrefillDescription
firstNamestring""First name to search for (optional). Combine with lastName or keyword.
lastNamestringPrefill: "Smith"Last name / surname to search for (e.g. Smith, Johnson). Leave empty to sample common surnames automatically.
keywordstring""Free-text keyword — a city, state, funeral home, university, or term. Combined with name fields when both are set.
startUrlsarray<string>[]One or more Legacy.com search URLs (e.g. https://www.legacy.com/obituaries/search?lastName=Smith). Ideal for batching multiple surnames in one run.
maxItemsintegerDefault: 0 (Prefill: 100)Maximum obituaries to return across all searches. Set 0 for no limit, or 1000+ for large bulk extractions.
maxPagesinteger0Maximum result pages per search (50 obituaries per page). 0 = automatic pagination governed by maxItems.
proxyConfigurationobjectUS ResidentialPreconfigured to US Residential proxy for reliable access. Leave at default for best performance.
{
"lastName": "Smith",
"keyword": "Chicago",
"maxItems": 250,
"maxPages": 0,
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"],
"apifyProxyCountry": "US"
}
}

Example 2 — High-volume 1,000+ obituary extraction across multiple surnames

{
"startUrls": [
"https://www.legacy.com/obituaries/search?lastName=Anderson",
"https://www.legacy.com/obituaries/search?lastName=Thomas",
"https://www.legacy.com/obituaries/search?lastName=Jackson"
],
"maxItems": 1200,
"maxPages": 0
}

Example 3 — Specific person lookup by first and last name

{
"firstName": "Robert",
"lastName": "Miller",
"keyword": "Ohio",
"maxItems": 100
}

📤 Output schema & field reference

Each obituary is saved as a structured JSON object in the dataset. Below is an authentic record from a live Smith run:

{
"obituaryId": "61758939",
"fullName": "Jeffery Smith",
"firstName": "Jeffery",
"lastName": "Smith",
"age": 69,
"birthDate": "1957-06-12",
"deathDate": "2026-06-27",
"bio": "Jeffery Smith passed away on Saturday, June 27, 2026. The family is being cared for by Crossville Memorial Funeral Home & Crematory, Inc.",
"photo": "https://www.legacy.com/media.legacy.net/obituary/image/a8cb78cd-7b5b-4aeb-915e-a5560e57ee5c.jpg",
"funeralHome": "Crossville Memorial Funeral Home & Crematory, Inc.",
"obituaryUrl": "https://crossvillememorial.com/obituaries/jeffery-smith-2026",
"publisher": "legacyadn",
"datePosted": "2026-06-29",
"obituaryCount": 1,
"locations": [
"Crossville, United States",
"St. Louis, United States"
],
"primaryLocation": "Crossville, United States",
"notable": false,
"legacyUrl": "https://www.legacy.com/us/obituaries/name/jeffery-smith-obituary?id=61758939",
"source": "Smith",
"scrapedAt": "2026-11-10T02:45:00.000Z"
}

👤 Person Identity & Vital Dates

FieldTypeCoverageDescription
obituaryIdstring🟢 High (100%)Unique Legacy.com person/obituary identifier used as the primary de-duplication key.
fullNamestring🟢 High (100%)Full name of the deceased as published on the obituary record.
firstNamestring🟡 ConditionalSplit first name when Legacy provides separate name components in the record.
lastNamestring🟡 ConditionalSplit last name / surname when provided separately by the source record.
ageinteger|null🟢 High (~85%)Age at death in years, when stated in the notice.
birthDatestring🟢 High (~84%)Date of birth (typically YYYY-MM-DD, or year-only YYYY on older notices).
deathDatestring🟢 High (~93%)Date of death (typically YYYY-MM-DD).
notableboolean🟢 High (100%)true if Legacy flags the decedent as a notable public figure.

📜 Obituary Content & Media

FieldTypeCoverageDescription
biostring🟢 High (~99%)Obituary summary / biography excerpt published with the notice.
photostring🟡 Conditional (~51%)Direct HTTPS URL to the portrait photo when the notice includes an image.
datePostedstring🟢 High (~98%)Date the obituary was published (YYYY-MM-DD).
obituaryCountinteger|null🟢 High (100%)Number of linked obituary publications for this person.

⚱️ Funeral Home, Publisher & Locations

FieldTypeCoverageDescription
funeralHomestring🟢 High (100%)Name of the funeral home, crematory, or newspaper that published the notice.
publisherstring🟢 High (100%)Legacy affiliate or newspaper network identifier (e.g., legacyadn, legacypro, local paper code).
primaryLocationstring🟢 High (~99%)Primary associated city/region (Locality, Region, Country).
locationsarray<string>🟢 High (~99%)De-duplicated list of all towns, cities, and regions associated with the decedent.
FieldTypeCoverageDescription
obituaryUrlstring🟢 High (100%)Direct URL to the original source obituary on the affiliate newspaper or funeral home website.
legacyUrlstring🟢 High (100%)Canonical Legacy.com profile URL for the obituary.
sourcestring🟢 High (100%)Search query or URL label that produced this record.
scrapedAtstring🟢 High (100%)ISO 8601 UTC timestamp when the record was collected.

🔁 Pagination, scale & 1,000+ record extraction

Legacy.com serves 50 obituaries per search page. With maxPages: 0 (the default), the scraper automatically advances ?page=1, ?page=2, ?page=3... until it reaches your maxItems target or the final page of results:

  • Fast prefill runs (maxItems: 100): Fetches 2 result pages (50 × 2 = 100 obituaries) in ~15–25 seconds.
  • Deep 1,000+ bulk runs (maxItems: 1000, maxPages: 0): Automatically paginates across 20+ pages (and across multiple surnames if needed) to deliver 1,000+ unique, de-duplicated obituaries in a single run.
  • Zero duplicates: Every record is checked against an in-memory Set keyed by obituaryId (with fallback to obituaryUrl), guaranteeing 0% duplicate rows even when multiple startUrls overlap.

⚙️ How to use

  1. Open the Actor in the Apify Console.
  2. Enter your search criteria: type a lastName (e.g., Smith), add an optional firstName or keyword (such as a city or funeral home), or paste multiple search links into startUrls.
  3. Set your volume: keep maxItems: 100 for a quick sample, raise it to 1000+ for bulk collection, or set 0 for unlimited. Leave maxPages: 0 so pagination scales automatically.
  4. Click Start and watch obituaries stream into the dataset at 50 records per page.
  5. Download & integrate: export the dataset as JSON, CSV, Excel (XLSX), or HTML, or consume it programmatically via the Apify API, Google Sheets, Make, Zapier, or webhooks.

API Example (Python)

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("haketa/legacy-obituary-scraper").call(run_input={
"lastName": "Smith",
"keyword": "Texas",
"maxItems": 500,
"maxPages": 0,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(f"{item['fullName']} ({item['birthDate']} – {item['deathDate']}) | {item['funeralHome']} | {item['primaryLocation']}")

API Example (Node.js)

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('haketa/legacy-obituary-scraper').call({
lastName: 'Johnson',
keyword: 'Seattle',
maxItems: 300,
maxPages: 0,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(`Retrieved ${items.length} obituaries`);

API Example (cURL)

curl -X POST "https://api.apify.com/v2/acts/haketa~legacy-obituary-scraper/runs?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"lastName": "Williams",
"maxItems": 1000,
"maxPages": 0
}'

💡 Pro tips for best results

  • Leave maxPages: 0 for large runs: Setting maxPages: 0 lets maxItems control the exact stopping point without cutting off multi-page surname searches early.
  • Batch surnames via startUrls: Want to collect obituaries for 10 different surnames in one job? Add https://www.legacy.com/obituaries/search?lastName=<Surname> entries to startUrls and set your overall maxItems.
  • Target a city, state, or funeral home: Put the city name, state name, or funeral-home name into keyword to narrow nationwide surname results to a single market.
  • Schedule recurring monitoring: Use Apify Schedules (daily or weekly) to capture newly posted notices for a town, university, or surname list.

⚠️ Honest limitations & source behavior

  • Split firstName / lastName vs. fullName: Legacy.com stores most names as a single fullName string rather than separate first/last fields. Always rely on fullName (100% populated) as the primary name field.
  • Data-dependent vital dates: About 84–93% of notices include structured birthDate, deathDate, and age, and ~51% include a portrait photo. When a newspaper notice omits a birth date or photo, the field is returned as "" or null rather than fabricated.
  • US Residential proxy required: Legacy.com blocks datacenter IP ranges; the default US Residential proxy configuration is required for consistent 200 OK responses.

❓ FAQ

Do I need a Legacy.com account or API key?

No. This scraper extracts publicly available obituary search results — no login, subscription, or credentials are needed.

How many obituaries can I extract in a single run?

You can extract 1,000+ obituaries in a single run. Each search page returns 50 records, and with maxPages: 0 the actor paginates continuously until maxItems is reached.

Why is US Residential proxy enabled by default?

Legacy.com protects its search pages against datacenter IPs. Using Apify's US Residential proxy (preconfigured by default) ensures smooth, uninterrupted pagination at ~50 records per request.

Can I search by funeral home or city without a surname?

Yes. Leave firstName and lastName blank and enter the city, state, or funeral home name in keyword, or paste a regional Legacy.com search URL into startUrls.

What export formats are available?

You can download results in JSON, CSV, Excel (XLSX), HTML, XML, and JSON Lines, or read them directly from the Apify Dataset API or the OUTPUT Key-Value Store record.

What happens if I run the actor with an empty input ({})?

If no firstName, lastName, keyword, or startUrls are provided, the scraper automatically iterates through common US surnames (Smith, Johnson, Williams, Brown, Jones, etc.) and returns a 100-record sample (or your requested maxItems).

How are duplicate obituaries prevented across multiple searches?

Every obituary is indexed in memory by its unique obituaryId (with fallback to obituaryUrl). Even if a person's notice matches two different keyword searches or shifts between pages during a live run, it is saved only once.

Can I schedule daily or weekly monitoring runs?

Yes. In the Apify Console, go to Schedules, create a daily or weekly schedule with your saved input, and connect a webhook or Google Sheets integration to capture new notices automatically.


Explore other public-records, research, and B2B intelligence scrapers by haketa:


This actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Legacy.com or any newspaper or funeral home. All trademarks are the property of their respective owners.

It collects only publicly available obituary information. Obituary data concerns deceased persons and their families — please use it respectfully and lawfully:

  • Comply with applicable data-protection laws and Legacy.com's Terms of Service.
  • Do not use the data for spam, harassment of grieving families, or any unlawful purpose.
  • Use reasonable request volumes and scheduling.

📋 Changelog

v1.2 (2026-11)

  • Unlocked 1,000+ Deep Pagination: Changed maxPages default to 0 (automatic pagination governed by maxItems) so large runs paginate seamlessly past 1,000+ obituaries without artificial page caps.
  • Empty-Run & Deep-Run Surname Fallback: Added automatic US surname fallback so empty runs ({}) return 100 diverse obituaries out of the box and ultra-deep 1,000+ runs never stall on a single small search.
  • Duplicate Streak Protection: Added smart end-of-results detection and enhanced documentation with full field coverage tables.

v1.1 (2026-10)

  • Added KVS OUTPUT mirroring for synchronous API callers and improved location array de-duplication.

v1.0 (2026-09)

  • Initial release with name, keyword, and startUrls search, 50-per-page pagination, and US Residential proxy rotation.