GET /v1/status
Whether the service runs and how fresh its data is. No key needed.
| Access | |
|---|---|
| Keys | none |
Answers
200: The status
The answer is { data, meta }; meta holds requestId.
data is a Status.
500: The database could not be read: the same body, with service "database_unreachable"
The answer is { data, meta }; meta holds requestId.
data is a Status.
Errors
| Status | Codes |
|---|---|
| 400 | validation_failed |
| 429 | rate_limited |
| 500 | internal_error |
Every error has the same body, and says how to fix it (responses and errors).
More
Service health and data freshness, for anyone: no key is read.
{
"data": {
"service": "ok",
"version": "0.9.0-m9",
"freshness": {
"live": {
"stale": false,
"stopActive": false,
"dataLastUpdatedAt": "2026-11-03T12:05:40.000Z",
"clocks": {
"delta": { "startedAt": "2026-11-03T12:05:00.000Z", "completedAt": "2026-11-03T12:05:40.000Z", "ageSeconds": 95, "stale": false },
"keySweep": { "startedAt": "2026-11-03T08:00:00.000Z", "completedAt": "2026-11-03T08:41:12.000Z", "ageSeconds": 14795, "stale": false, "purgeHeld": false },
"rosterSweep": { "startedAt": "2026-11-03T06:20:00.000Z", "completedAt": "2026-11-03T06:31:03.000Z", "ageSeconds": 20795, "stale": false }
},
"openHouses": {
"stale": false,
"clocks": {
"delta": { "startedAt": "2026-11-03T12:02:00.000Z", "completedAt": "2026-11-03T12:02:05.000Z", "ageSeconds": 275, "stale": false },
"recount": { "startedAt": "2026-11-03T11:30:00.000Z", "completedAt": "2026-11-03T11:30:20.000Z", "ageSeconds": 2195, "stale": false }
}
}
},
"test": { "stale": false, "stopActive": false, "exempt": true, "dataLastUpdatedAt": "2026-11-03T12:03:11.000Z" }
}
},
"meta": { "requestId": "req_…" }
}
Live listing data is served only while each of three pulls started less than 12 hours ago: the
last change check (delta), the last complete key sweep whose purges finished (keySweep), and
the last complete roster sweep (rosterSweep). Each clock reports when that pull started and
finished, its age in seconds, and whether it is stale. A clock that is missing or unreadable
counts as stale, so before replication has run every clock reads startedAt: null, stale: true.
staleis true when any clock is stale;stopActivesays whether the 12-hour stop is on (the same value today).dataLastUpdatedAtis the completion time of the latest gap-free change check. It freezes at its last value once the key sweep is more than 12 hours old, even while change checks keep succeeding, and is never cleared.keySweep.purgeHeldis true while a purge is held by the removal guardrails; a held purge doesn't advance the sweep clock, so the clock then ages from the last sweep whose purges finished.- Listing endpoints answer
500 data_stalewhile the stop is on. Sandbox (test) keys are never stopped: the sandbox's listings are made up and don't come from a sync. test.dataLastUpdatedAtis the sandbox's own clock: when its change job last finished. That job runs every 5 minutes, so the value is normally a few minutes old. It isnullon a sandbox whose change job has never run. Sandbox responses carry this same value inmeta.dataLastUpdatedAtand in the compliance block.openHousesreports the open-house feed's two marks:delta(the last incremental pull or full pull) andrecount(the last full, count-checked pull). While either is past 12 hours or missing,openHouses.staleis true: listing details are served withopenHouses: []and the warningopen_houses_stale, and theopenHousesearch filter answers500 data_stalewithdetails.feed: "openHouses". The marks never feedstaleorstopActive.
The geography block
Beside freshness, the body carries geography: the counts of the last geography build, or
null before the first one. Counts only, never a shape.
"geography": {
"builtAt": "2026-11-05T14:00:00.000Z",
"vintage": { "tiger_county": "2026", "cb_county": "2025", "nces_district": "SY2024-25", "gnis": "current" },
"places": { "total": 12900, "byKind": { "state": 7, "county": 304, "municipality": 3749, "cdp": 2450, "community": 480, "zcta": 4674, "postal_city": 2100, "subdivision": 60000, "school_district": 1286 } },
"crosswalk": { "rows": 8722, "resolved": 6300, "review": 27, "gaps": 180, "deferred": 2214 },
"memberships": { "computedAt": "2026-11-05T14:30:00.000Z", "listings": 1059157, "withMemberships": 1059157, "located": 1056086, "suppressed": 2544, "noCoordinates": 527, "pointOutsideRegion": 229 },
"derived": { "succeededAt": "2026-11-07T07:55:00.000Z", "listingsWithoutCityPlace": 0, "listingsWithoutSubdivisionPlace": 0, "changedKeys": 3 }
}
vintagenames each boundary source's edition.crosswalksummarises the owner's place index against the places: rows resolved to a place, rows resolved but listed for review, documented gaps, and neighborhood rows that wait for a later release.membershipssays how many listings carry place memberships, how many were placed by their coordinates, and how many hidden-address or no-coordinate listings were placed by their own fields only.pointOutsideRegioncounts listings whose point lies in no county of the seven jurisdictions: they are placed by their own fields, never by that point.derivedis the daily run that gives newly seen cities and subdivisions their places: when it last succeeded, and the two counts it took as it ended,listingsWithoutCityPlaceandlistingsWithoutSubdivisionPlace: the listings the run left naming a city or subdivision with no place (placeholders don't count). 0 is expected. A listing that brings a new city or subdivision after a run waits for the next run, up to a day, and isn't counted in the meantime.nulluntil the first run.
This page is made from the route's own declaration by npm run openapi. To change it, change the declaration or its explanation, never this file.