{"uid":"cap_dZDtrHumipkmBqZ8UIhLV","slug":"legacy-com-obituary-sitemap-scraper-5bfde0a7","name":"Legacy.com Obituary Sitemap Scraper","description":"Pay-per-call structured web data. Failed or empty runs are not charged.","url":"https://api.scrapeforagents.tech/v1/legacy?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"maxItems":{"type":"integer","default":100,"minimum":0,"description":"Maximum dataset rows across all sitemap URLs. Set 0 for no item cap; maxSitemaps still limits the crawl."},"startUrls":{"type":"array","items":{"type":"string"},"description":"One or more public Legacy.com XML sitemap or sitemap-index URLs. The prefilled recent paid-obituary index includes titles and publication dates; publication-specific and general obituary sitemaps also work."},"maxSitemaps":{"type":"integer","default":10,"maximum":100,"minimum":1,"description":"Maximum XML documents to read, including sitemap indexes. The recent paid-obituary index currently points to several URL sets."},"nameContains":{"type":"string","default":"","description":"Optional case-insensitive text filter on the name in sitemap metadata or the obituary URL slug. It does not query Legacy.com's search pages."}}},"responseSchema":{"type":"json","example":{"count":1,"items":[{"url":null,"city":null,"name":null,"title":null,"publisher":null,"obituaryId":null,"publishedAt":null,"publicationSlug":null}],"product":"legacy"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.025","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jKuXWTRWZS3Rk2kFQp9AY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts structured obituary records from Legacy.com XML sitemaps, returning names, URLs, publishers, cities, and publication dates","exampleAgentPrompt":"Pull up to 200 recent paid obituaries from Legacy.com's sitemap index — filter for anyone with 'Johnson' in their name — and give me the structured list with names, cities, publishers, and publication dates.","exampleUseCases":[{"title":"Genealogy research name lookup","prompt":"I'm researching my family history — can you scrape Legacy.com's recent paid obituary sitemap for up to 50 entries where the name contains 'Kowalski' and return the names, cities, publishers, and URLs?"},{"title":"Funeral home competitive monitoring","prompt":"Get me the latest 100 obituaries from Legacy.com's recent paid-obituary sitemap index and tell me which publishers and cities appear most often — I want to see which funeral homes are most active."},{"title":"Bulk obituary data collection","prompt":"I need a dataset of Legacy.com obituaries — scrape up to 10 sitemap files from their recent paid-obituary index with no name filter and return all the records you can find, up to 500 items."}],"resultDescription":"A JSON object containing a count field and an items array where each item includes the obituary URL, city, person name, title, publisher name, obituary ID, publication date, and publication slug. Failed or empty runs are not billed.","failureModes":["Invalid or unreachable sitemap URL returns empty items array","Name filter too restrictive yields zero results but no charge","Sitemap index structure change on Legacy.com causes parsing failure","maxSitemaps cap reached before full dataset is collected","Rate limits or blocking by Legacy.com origin server"],"whenToPreferThis":"Choose this endpoint when you need structured, machine-readable obituary data from Legacy.com at scale — particularly when you want to filter by name or limit result counts — and you want pay-per-successful-call pricing with no charge for failed or empty runs. Prefer it over manual scraping or generic web crawlers when you need clean, pre-parsed fields like obituaryId, publicationSlug, and publishedAt directly from Legacy.com's XML sitemap infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:47:29.520Z","isFirstParty":false,"canonicalSlug":"legacy-com-obituary-sitemap-scraper-5bfde0a7"}