apidata.one docs Get a key

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.

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 }
}

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.

This page as Markdown