On this page
- Where a new homeowner mailing list comes from for an API send
- Who on a new homeowner mailing list moved in, before an API send
- When to mail new homeowners by API
- What a new homeowner welcome card says, sent by API
- Code: a daily new homeowner job by API
- What new homeowner mail costs by API
- New homeowner mailing list questions from API senders
Where a new homeowner mailing list comes from for an API send
- The county recorder. Every sale ends with a recorded deed: the buyer, the property and the recording date. Many counties publish them in a search with an export, or sell a daily file.
- The assessor. Parcel data has the owner’s mailing address, which is what tells you whether the buyer lives there. It updates after the sale, on the assessor’s own schedule.
- A list provider. Homeowner lists from providers such as DataZapp or PropStream; ask how recent their new-owner records are.
- Your own records. A real estate team or a lender already knows its buyers and their closing dates.
One source is off limits: NCOA updates addresses already on your list, and its license says it can’t be used to build a list of new movers. How these sources compare with your own customers and bought lists is in targeted direct mail, and pulling county data day by day is in the public records guide.
Who on a new homeowner mailing list moved in, before an API send
| buyer | property | owner mailing address | send |
|---|---|---|---|
| Ana Ruiz | 12 Birch Ln | 12 Birch Ln | Welcome card |
| Ruiz Family Trust | 3 Pine Ct | 3 Pine Ct | Card to “Neighbor” |
| Oak Holdings LLC | 7 Elm St | PO Box 88, Denver | Investor: skip |
| J. Park | 40 Cedar Ave | (none yet) | Wait for the assessor |
- The owner’s mailing address is the house: someone lives there. Mail them.
- The mailing address is somewhere else: usually a landlord or an investor. Skip them, or send a different card to the mailing address.
- A trust, an LLC or a company bought it: mail the house as “Current Resident” and greet them as Neighbor.
- No mailing address yet: the assessor hasn’t caught up. Wait, or mail the house as Current Resident.
Recording practice and the names of deed types differ by county and state, so check which records your county marks as sales before you filter on them.
When to mail new homeowners by API
The deed is recorded around the closing, and the move often comes later. Waiting a few weeks after the recording date gives the buyer time to arrive; the job below waits 21 days and keeps the rest for a later run. The cards then go by USPS Marketing Mail, which USPS puts at 3 to 10 business days. A second card two or three months later catches the projects that start once people have settled in.
What a new homeowner welcome card says, sent by API
- Welcome to the neighborhood, from a business nearby.
- What you do, for a house they just took on: a roofer offers to inspect the roof they inherited, an HVAC company a first tune-up, a landscaper the first mow.
- An offer with an end date and a code of their own, so you can count who called.
- Nothing about the sale. Leave the price and the date off. Details about one buyer count as personal information in Marketing Mail, allowed only to support an offer, and nobody wants their price on a postcard.
What goes where on the card is in direct mail design, and what trades mail at other moments is on the home services page.
Code: a daily new homeowner job by API
This reads the day’s recorded sales, drops the ones whose owner gets mail elsewhere, holds the recent ones back for 21 days, greets trusts and companies as Neighbor, and mails a 6x9 welcome card to the rest:
# Daily. sales.csv: the county's recorded sales since the last run, joined to the assessor's parcel data:
# doc_number, recorded (YYYY-MM-DD), buyer, line1, line2, city, state, zip (the property)
# mail_line1, mail_city, mail_state, mail_zip (the owner's mailing address, if any)
# waiting.csv and mailed.csv are kept by this script.
import csv, datetime, os, re, requests
WAIT = 21 # days after recording, to give the buyer time to move in
LAST_FIRST = True # many counties record buyers last name first, like "RUIZ ANA M"
today = datetime.date.today()
norm = lambda s: re.sub(r"[^a-z0-9]", "", (s or "").lower())
mailed = set(open("mailed.csv").read().split()) if os.path.exists("mailed.csv") else set()
rows = []
for f in ("waiting.csv", "sales.csv"):
if os.path.exists(f):
with open(f, newline="") as fh:
rows += list(csv.DictReader(fh))
send, wait = [], []
for s in rows:
if s["doc_number"] in mailed:
continue
if s["mail_line1"] and norm(s["mail_line1"]) != norm(s["line1"]):
continue # the owner gets mail somewhere else: a landlord or an investor, not a new neighbor
if (today - datetime.date.fromisoformat(s["recorded"])).days < WAIT:
wait.append(s) # not yet: keep it for a later run
continue
words = s["buyer"].split()
person = words and not re.search(r"\b(LLC|INC|TRUST|CORP|LP|HOLDINGS)\b", s["buyer"].upper())
if person and LAST_FIRST and len(words) > 1:
words = words[1:2] + words[:1] # "RUIZ ANA M" -> "ANA RUIZ"
first = words[0].title() if person else ""
send.append({"to": {"name": (" ".join(words).title() if person else "Current Resident")[:40], "line1": s["line1"],
"line2": s["line2"] or None, "city": s["city"], "state": s["state"], "zip": s["zip"]},
"merge": {"first_name": (first or "Neighbor")[:14],
"promo_code": f"HOME{s['doc_number'][-6:]}"[:12]},
"doc": s["doc_number"]})
with open("waiting.csv", "w", newline="") as fh:
w = csv.DictWriter(fh, fieldnames=list(rows[0].keys()) if rows else ["doc_number"])
w.writeheader(); w.writerows(wait)
for n, start in enumerate(range(0, len(send), 1000)):
chunk = send[start:start + 1000]
r = requests.post("https://api.mailr.dev/v1/batches", timeout=120,
headers={"Authorization": f"Bearer {os.environ['MAILR_API_KEY']}",
"Idempotency-Key": f"newhome-{today.isoformat()}-{n}"},
json={"kind": "postcard", "size": "6x9", "verify": True,
"front": open("mail/welcome/front.html").read(), "back": open("mail/welcome/back.html").read(),
"recipients": [{"to": c["to"], "merge": c["merge"]} for c in chunk],
"description": f"New homeowners {today.isoformat()}"})
if r.status_code == 422: # the error names the row to fix; nothing in this batch was sent
print("batch", n, r.json()["error"]["message"])
continue
r.raise_for_status()
with open("mailed.csv", "a") as fh:
fh.write("".join(c["doc"] + "\n" for c in chunk))
print(r.json()["id"], r.json()["count"], r.json()["price"])mlr_test_ key first: the cards are checked, priced and proofed, and nothing prints or charges.What new homeowner mail costs by API
| New homes a month | 4x6 | 6x9 |
|---|---|---|
| 50 | $42.50 | $44.50 |
| 100 | $85.00 | $89.00 |
| 250 | $212.50 | $222.50 |
| 500 | $425.00 | $445.00 |
Pay as you go prices, with printing in full color on both sides, addressing and postage. Checking the addresses is extra.
New homeowner mailing list questions from API senders
Where can I get a new homeowner mailing list?
From your county's recorded sales, joined to the assessor's parcel data, or from a list provider that sells homeowner lists; ask how fresh its new-homeowner records are. Mailr mails whichever list you bring.
Can USPS give me a list of new movers?
No. NCOA updates addresses already on your list, and the agreement every NCOA user signs says it can't be used to build a list of new movers.
How soon after a sale should the card go out?
A few weeks after the deed is recorded, so the buyer has had time to move in. The job above waits 21 days; change it to fit your area.
Do I need the buyer's name?
No. When the buyer is a trust or a company, or the name is missing, address the card to Current Resident and greet them as Neighbor.
What does a new homeowner mailing cost?
A 6x9 welcome card is $0.89 on pay as you go, printing and postage included, so 100 new homes a month is $89.00.