Menu · Operations
Operations

Public records for CMAs and listing presentations

Use the Public Records add-on for one property at a time, to prepare a CMA or a listing presentation, and for fixed market figures built from public records. What is allowed, the limits, and a worked example of a lookup feeding a CMA.

View as Markdownopenapi.json

Public Records is an add-on. It gives your server the county record of one property at a time, the recorded deeds and loans of that property, and a fixed set of market figures built from public records. This page says what you may use it for, what its limits are, and how to call it.

What it is for

There are two permitted uses, and only two.

  1. One address at a time, to prepare a CMA or a listing presentation. You look up the one property you are working on. Every lookup says which of the two it is for, in the purpose parameter.
  2. Market figures that Ruuster has already built from public records, for market reports. You ask for one area and you get a fixed list of counts and medians.

What the add-on does not do, by design:

  • It has no list, no bulk lookup and no export. There is no way to page through the records of a street, a ZIP code or any other area.
  • It has no search by owner name.
  • The market figures have no free-form grouping, and no filter that could single out one property.

The Add-ons page has the full data terms, which the person who adds Public Records accepts in the console before it switches on.

The rules every call follows

  • Secret key only, from your server. A call from a page answers 403 secret_key_required, and your listings route answers 404 for them. Never call these endpoints from a browser.
  • The add-on must be on. Without it the endpoints answer 403 addon_not_enabled.
  • Your states only. Public Records works in the states you picked on the Billing page, out of the states your approved MLS boards cover. When your boards cover one state and you haven't picked, that state is the one. A property or area in another state answers mls_not_in_scope. A refused call like this does not count against your daily cap.
  • Where Ruuster has public records. A few places have none. Today those are Canada and Guam. A property there answers 422 location_not_supported, and that call does not count either.
  • Limited states are labelled. In some states part of the record isn't public. The lookup and history answers then add the state's label to the end of meta.notice, for example "No sale prices: sale prices are not public record in this state" (Texas, Utah and seven more), "Most sale prices are not public record in this state", "Fewer recorded sales", "About half of sales have no price" or "No loan data" (Vermont). The Billing page shows the same label before you add a state. Show meta.notice as it is, so the person knows why a figure is missing.
  • Every call is logged. Ruuster records your account, the key, the record id, the state, the purpose, whether you asked for owner details, and the time. The log does not hold the record itself.
  • Do not keep the data beyond the CMA or the presentation you pulled it for.

Look up one property

Send the street address with its 5-digit ZIP code, and the purpose.

curl "https://idx.ruuster.com/v1/public-records/lookup?address=2217%20Sample%20Oak%20Dr%2C%20Atlanta%2C%20GA%2030308&purpose=cma" \
  -H "Authorization: Bearer $IDX_SECRET_KEY"

You can send the county's parcel number with the ZIP code instead: parcelNumber=14-0049-0003-021-7&postalCode=30308&purpose=cma.

The answer is exactly one property, in data.record: the parcel number, the building facts, the latest tax year, the last recorded sale and the open loans.

  • No match answers 404 not_found.
  • More than one match answers 409 ambiguous_address. This happens when a building has several units and you sent no unit, or when two streets share a name. The API never returns a list of candidates. Ask the person for the unit number, or look the property up by parcel number.
  • Owner details are off unless you ask. include=owner adds record.owner: the owner's name, where the tax bill goes and whether the owner lives there. Ask for it only when the CMA or the presentation is for the owner's own property and needs it.

Read the deeds and loans of that property

data.record.recordId from the lookup is the id the history endpoint takes. It works for 30 days after the lookup. A record id you have not looked up answers 404, so ids cannot be guessed.

curl "https://idx.ruuster.com/v1/public-records/900000001/history?purpose=cma" \
  -H "Authorization: Bearer $IDX_SECRET_KEY"

The answer lists every recorded transfer and every recorded mortgage, newest first. Each mortgage says whether it is open, released or paid off; that status is an estimate, because counties do not always record a payoff. include=owner adds buyer, seller and borrower names.

Market figures for a market report

Ask for one area: a ZIP code, a city with its state, or one county.

curl "https://idx.ruuster.com/v1/public-records/market?zip=30308" \
  -H "Authorization: Bearer $IDX_SECRET_KEY"

data.measures always has the same nine figures:

Figure What it is
homes Properties on the county tax roll in the area
ownerOccupiedShare The share the owner lives in
absenteeOwnerShare The share whose owner lives elsewhere
medianYearsOwned The median years since the last recorded sale
sales12m Properties whose last recorded sale was in the last 12 months
medianLastSalePrice12m The median price of those sales
medianSalePricePerSqft12m The median price per square foot of those sales
openMortgageShare The share with an estimated open loan balance
medianEquityShare The median equity share, from the estimated loan balance and the county's market value

data.salesByMonth has the sales of each of the last 12 months, and data.definitions says in plain words how each figure is worked out.

  • The minimum is 10 properties. A figure with fewer than 10 properties behind it is null, and its reason says why. A share is also null when fewer than 10 properties are on one side of it. Show "not enough data" for a null figure; never fill it in yourself.
  • Two filters only: type (single_family, condo, townhouse or multi_family) and a year-built range in whole decades (yearMin=1980&yearMax=1999).
  • A city or a county is the ZIP codes of its listings on your MLS boards. data.area.postalCodes lists them. An area wider than 25 ZIP codes answers 400 area_too_large; ask for a ZIP code or a smaller area.
  • For a county, send the where object that /v1/suggest returned for it, unchanged. A neighborhood, a school, a map box, a radius or a saved shape is not accepted.
  • The same area is worked out once a day, so the figures of an area do not change within a day.
  • Loan and equity figures are estimates. Say so when you show them, and say the figures come from county public records, which run about two months behind recording.

Limits

Public Records has its own limits for your account, on top of your key's rate limits.

Calls Each minute Each day
Lookups and history, together 20 500
Market figures 10 200

A day runs to midnight America/Chicago. A lookup that finds nothing, or that answers 409, counts like any other lookup. A call past a limit answers 429, and the message names the limit and when it resets. GET /v1/usage shows each limit, how many calls you have used today and the reset time, under addons. To ask for different limits for your account, email helpme@ruuster.com.

Worked example: a lookup feeding a CMA

This server code looks up the subject property, reads its recorded history, and gathers recent sales nearby from your own listings search to use as comparables. It runs on your server with your secret key.

import { createClient } from "@ruuster/idx";

const idx = createClient({ secretKey: process.env.IDX_SECRET_KEY });

export async function cmaInputs(address: string) {
  // 1. The subject property's county record: one property, for a CMA.
  const subject = await idx.publicRecords.lookup({ address, purpose: "cma" });
  if (!subject.ok) {
    // 404 not_found: check the address. 409 ambiguous_address: ask for the unit or the parcel number.
    return { ok: false as const, code: subject.error.code, message: subject.error.message };
  }
  const record = subject.data.record;

  // 2. Its recorded deeds and loans (the record id works for 30 days after the lookup).
  const history = await idx.publicRecords.history(record.recordId, { purpose: "cma" });

  // 3. Comparables come from your listings, not from public records: recent sales near the subject.
  const comps =
    record.lat !== null && record.lng !== null
      ? await idx.search({ near: { lat: record.lat, lng: record.lng }, radiusMiles: 1, status: ["closed"], soldPeriod: "6m", limit: 12 })
      : null;

  return {
    ok: true as const,
    subject: { address: record.address, bedrooms: record.bedrooms, bathrooms: record.bathrooms, livingArea: record.livingArea, yearBuilt: record.yearBuilt, lastSale: record.lastSale },
    transfers: history.ok ? history.data.transfers : [],
    comparables: comps && comps.ok ? comps.data.listings : [],
    notice: subject.meta.notice,
  };
}

Show notice wherever you show the record. Use what you pulled for this one CMA, and do not store it afterwards.

Try it in the sandbox

A sandbox key answers the same three endpoints from sample records, with the same parameters and the same shapes, and with no add-on to buy. The sample homes are in Georgia and Texas, and every name in them is invented. Sandbox and sample data says what the sample data holds.

Reference