Unit Checkup API reference

Version 1 of the Unit Checkup API is a read-only REST API. Use it to pull your own check results, findings and fix-evidence packets into property management software or a spreadsheet.

Last updated:

Getting started

  1. Sign in and open your API keys page from your account. Create a key, give it a name, and choose when it expires.
  2. Copy the key when it appears. We show it only once.
  3. Call GET /api/v1/me with the key to check that it works, then list your checks with GET /api/v1/checks.

Authentication

Every endpoint except the OpenAPI document needs an API key. Send it in the Authorization header with the Bearer scheme. Keys look like uc_live_ followed by 40 letters and digits.

Keys are read-only and belong to your account: a key sees only the checks your account made. Sign-in cookies are never accepted by the API.

Keep keys on your server. Never put a key in a web page, a mobile app, a URL or a shared spreadsheet. If a key may have leaked, revoke it on your API keys page; it stops working at once.

Authorization: Bearer $UNIT_CHECKUP_API_KEY

Rate limits

Each key may make up to 120 requests per minute. Cloudflare counts requests at each of its locations, so treat the limit as approximate.

Over the limit, the API answers 429 with a Retry-After header in seconds. Wait that long, then retry. Requests with a wrong key are also limited, by network address.

Errors

Errors use one JSON shape: an error code for your code to check and a plain-English message for people. Codes do not change within version 1; messages may.

{
  "error": "invalid_api_key",
  "message": "This API key is not valid. Check that you copied the whole key, or create a new one."
}
Errors
HTTP statuserrorWhen it happens
400invalid_parameterA query parameter is not valid. The message names it and says what to send.
401missing_api_keySend your API key in the Authorization header: Authorization: Bearer uc_live_...
401invalid_api_keyThis API key is not valid. Check that you copied the whole key, or create a new one.
401api_key_revokedThis API key was revoked. Create a new key on your API keys page.
401api_key_expiredThis API key has expired. Create a new key on your API keys page.
403insufficient_scopeThis API key is not allowed to read check results.
404not_foundNo check with this id belongs to this API key's account.
405method_not_allowedAPI version 1 is read-only. Use GET.
409not_readyThe packet is available once the check's report is ready.
429rate_limitedToo many requests. Wait a minute and try again.
500packet_failedThe packet could not be built just now. Try again in a minute.
500internal_errorSomething went wrong on our side. Try again.

Versioning

The version is part of the path: /api/v1/. Version 1 only gets additive changes: new endpoints, new optional query parameters, and new fields in responses. Write your code to ignore fields it does not know.

A change that would break existing code ships as a new version under a new path. We email the owners of active keys before version 1 is retired.

What the API returns

Findings are likely issues that Google's Gemini AI models spotted in the owner's videos and photos. They are not determinations, and each one needs a person's review. Only the housing authority decides whether a unit meets NSPIRE.

The API returns what the report page shows: each finding's NSPIRE item, severity, status, location, evidence, fix, fix note and the housing authority deadline window for its severity. It never returns videos, photos, storage keys, internal costs, AI prompts or raw AI output.

Times are UTC in ISO 8601 format. Likelihood is given in words, never as a number.

OpenAPI document

The full machine-readable description of this API, in OpenAPI 3.1 format, is at https://unitcheckup.com/api/v1/openapi.json. Import it into Postman, Insomnia or a code generator.

Endpoints

GET /api/v1/me

Test a key. Returns the account id behind the key, the key's own details and the account's free pilot allowance. Use it to check that a key works. It never returns an email address.

Response fields
FieldTypeDescription
accountIdstringYour account id. The API never returns your email.
accountCreatedAtstring (date-time)When the account was created.
keyobjectThe key that made this request.
key.idstringKey id.
key.namestringThe name you gave the key.
key.prefixstringThe first characters of the key.
key.scopesarray of stringWhat the key may do.
key.createdAtstring (date-time)When the key was created.
key.expiresAtstring (date-time) or nullWhen the key stops working. null = never.
pilotobjectFree pilot allowance. active is false once paid plans start.
pilot.activebooleanThe free pilot is running.
pilot.checksAllowedintegerFree checks per account.
pilot.checksUsedintegerFree checks this account has used.
pilot.checksLeftintegerFree checks this account has left.
pilot.programFullbooleanEvery pilot spot is taken.

Status codes

  • 200: The key works.
  • 401: missing_api_key, invalid_api_key, api_key_revoked, api_key_expired
  • 403: insufficient_scope
  • 429: rate_limited
  • 500: internal_error

Example request

curl -sS "https://unitcheckup.com/api/v1/me" \
  -H "Authorization: Bearer $UNIT_CHECKUP_API_KEY"

Example response

{
  "accountId": "01KB9X2C4E6G8J0M2P4R6T8V0Y",
  "accountCreatedAt": "2026-11-20T18:30:00.000Z",
  "key": {
    "id": "01KBDC0E2G4J6M8P0R2T4W6Y8Z",
    "name": "Property software",
    "prefix": "uc_live_4fK9qZ",
    "scopes": [
      "read"
    ],
    "createdAt": "2026-12-01T09:00:00.000Z",
    "expiresAt": "2027-03-01T09:00:00.000Z"
  },
  "pilot": {
    "active": true,
    "checksAllowed": 2,
    "checksUsed": 1,
    "checksLeft": 1,
    "programFull": false
  }
}

GET /api/v1/checks

List checks. Returns the account's checks, newest first, with finding counts by severity. Deleted checks are never listed. Page through with limit and cursor.

Parameters
NameInTypeDescription
statusquerystring: draft, capturing, queued, processing, ready, failedOnly checks with this status. (optional)
limitqueryintegerChecks per page, 1 to 100. Default 25. (optional)
cursorquerystringnextCursor from the previous page. (optional)
Response fields
FieldTypeDescription
dataarray of objectsChecks, newest first.
data[].idstringCheck id (a ULID).
data[].labelstring or nullThe owner's name for the unit, if any.
data[].statusstring: draft, capturing, queued, processing, ready, faileddraft and capturing: filming. queued and processing: the AI is reviewing the media. ready: the report is ready. failed: no step could be reviewed.
data[].createdAtstring (date-time)When the check was started.
data[].submittedAtstring (date-time) or nullWhen the owner submitted the media for review.
data[].completedAtstring (date-time) or nullWhen the report was ready.
data[].findingCountsobjectNumber of findings by severity. Notes that ask for a retake are not counted.
data[].findingCounts.ltintegerLife-threatening findings.
data[].findingCounts.severeintegerSevere findings.
data[].findingCounts.moderateintegerModerate findings.
data[].findingCounts.lowintegerLow findings.
data[].findingCounts.totalintegerAll findings.
nextCursorstring or nullSend it as cursor to get the next page. null on the last page.

Status codes

  • 200: A page of checks.
  • 400: invalid_parameter
  • 401: missing_api_key, invalid_api_key, api_key_revoked, api_key_expired
  • 403: insufficient_scope
  • 429: rate_limited
  • 500: internal_error

Example request

curl -sS "https://unitcheckup.com/api/v1/checks?status=ready&limit=10" \
  -H "Authorization: Bearer $UNIT_CHECKUP_API_KEY"

Example response

{
  "data": [
    {
      "id": "01KBD7Y5ZQ3M8N6P2R4T6V8W0X",
      "label": "Unit 2B",
      "status": "ready",
      "createdAt": "2026-11-28T15:04:05.000Z",
      "submittedAt": "2026-11-28T15:40:12.000Z",
      "completedAt": "2026-11-28T15:52:47.000Z",
      "findingCounts": {
        "lt": 1,
        "severe": 0,
        "moderate": 2,
        "low": 1,
        "total": 4
      }
    }
  ],
  "nextCursor": null
}

GET /api/v1/checks/{id}

Get a check with its findings. Returns one check with the unit details, every finding (NSPIRE item, severity, status, fix note and deadline window), notes that ask for a retake, and the notices that must stay with the results. Only the key owner's checks are found.

Parameters
NameInTypeDescription
idpathstringCheck id, from GET /checks. (required)
Response fields
FieldTypeDescription
idstringCheck id (a ULID).
labelstring or nullThe owner's name for the unit, if any.
statusstring: draft, capturing, queued, processing, ready, faileddraft and capturing: filming. queued and processing: the AI is reviewing the media. ready: the report is ready. failed: no step could be reviewed.
createdAtstring (date-time)When the check was started.
submittedAtstring (date-time) or nullWhen the owner submitted the media for review.
completedAtstring (date-time) or nullWhen the report was ready.
findingCountsobjectNumber of findings by severity. Notes that ask for a retake are not counted.
findingCounts.ltintegerLife-threatening findings.
findingCounts.severeintegerSevere findings.
findingCounts.moderateintegerModerate findings.
findingCounts.lowintegerLow findings.
findingCounts.totalintegerAll findings.
addressstring or nullStreet address, if the owner gave one.
statestring or nullTwo-letter state.
housingAuthoritystring or nullHousing authority name.
bedroomsinteger or nullBedrooms (0 = studio).
bathroomsnumber or nullBathrooms.
yearBuiltinteger or nullYear built.
occupancystring: vacant, occupiedOccupancy.
housingAuthorityVisitDatestring (date) or nullDate of the housing authority's visit, if the owner entered it.
findingsarray of objectsLikely issues, most severe first.
findings[].idstringFinding id.
findings[].nspireItemIdstringOur id for the NSPIRE deficiency, for example smoke-alarm.removed-from-base.
findings[].nspireItemNamestringPlain-English name of the deficiency.
findings[].standardstringNSPIRE standard name as HUD titles it.
findings[].titlestringShort title shown on the report.
findings[].severitystring: lt, severe, moderate, lowlt = life-threatening, then severe, moderate, low.
findings[].severityLabelstringSeverity in words.
findings[].statusstring: open, confirmed, dismissed, fixed, verified, not_verifiedopen: not reviewed yet. confirmed, dismissed (not an issue) and fixed are set by the owner. verified and not_verified come from a fix-photo re-check.
findings[].locationstring or nullWhere in the unit it was seen.
findings[].clipobject or nullThe video or photo step it was seen in.
findings[].clip.labelstringStep name, for example Kitchen.
findings[].clip.kindstring: video, stillVideo or photo.
findings[].timestampSecondsnumber or nullSeconds into the video where it was seen.
findings[].evidencestring or nullWhy it was flagged.
findings[].fixstring or nullHow to fix it.
findings[].costBandstring or null: $, $$, $$$Rough repair cost band.
findings[].likelihoodstring or null: Very likely, Likely, Possible, Less likelyHow sure the AI was, in words.
findings[].verifyInPersonstring or nullWhat to test in person, when a photo or video cannot show it.
findings[].fixNotestring or nullResult of the fix-photo re-check, if any.
findings[].recheckstring: none, pending, failed, verified, not_verified, doneWhere the fix-photo re-check stands.
findings[].hasFixPhotobooleanThe owner uploaded a fix photo.
findings[].deadlineWindowobject or nullThe housing authority correction timeframe for this severity under HUD's voucher rules. Your housing authority's notice sets the actual date.
findings[].deadlineWindow.textstringThe timeframe in plain words.
findings[].deadlineWindow.sourceobject
findings[].createdAtstring (date-time)When the finding was made.
findings[].updatedAtstring (date-time)Last status change.
retakeNotesarray of objectsSteps the AI could not review, with why.
retakeNotes[].idstringNote id.
retakeNotes[].stepstring or nullThe step to film or photograph again.
retakeNotes[].notestring or nullWhy a new video or photo is needed.
linksobject
links.reportstring (uri)The report page (owner sign-in needed).
links.packetstring (uri)The packet PDF endpoint.
noticesobjectText that must stay with these results wherever you show them.
notices.aistringAI notice.
notices.disclaimerstringDisclaimer.

Status codes

  • 200: The check and its findings.
  • 401: missing_api_key, invalid_api_key, api_key_revoked, api_key_expired
  • 403: insufficient_scope
  • 404: not_found
  • 429: rate_limited
  • 500: internal_error

Example request

curl -sS "https://unitcheckup.com/api/v1/checks/01KBD7Y5ZQ3M8N6P2R4T6V8W0X" \
  -H "Authorization: Bearer $UNIT_CHECKUP_API_KEY"

Example response

{
  "id": "01KBD7Y5ZQ3M8N6P2R4T6V8W0X",
  "label": "Unit 2B",
  "status": "ready",
  "createdAt": "2026-11-28T15:04:05.000Z",
  "submittedAt": "2026-11-28T15:40:12.000Z",
  "completedAt": "2026-11-28T15:52:47.000Z",
  "findingCounts": {
    "lt": 1,
    "severe": 0,
    "moderate": 2,
    "low": 1,
    "total": 4
  },
  "address": null,
  "state": "TX",
  "housingAuthority": "Example Housing Authority",
  "bedrooms": 2,
  "bathrooms": 1,
  "yearBuilt": 1972,
  "occupancy": "vacant",
  "housingAuthorityVisitDate": "2026-12-15",
  "findings": [
    {
      "id": "01KBD8A1B2C3D4E5F6G7H8J9K0",
      "nspireItemId": "smoke-alarm.removed-from-base",
      "nspireItemName": "Smoke alarm removed from its base",
      "standard": "Smoke Alarm",
      "title": "Smoke alarm removed from its base",
      "severity": "lt",
      "severityLabel": "Life-threatening",
      "status": "fixed",
      "location": "Ceiling by the bedroom door",
      "clip": {
        "label": "Bedroom 1",
        "kind": "video"
      },
      "timestampSeconds": 42,
      "evidence": "A bare ceiling plate with two wires and no alarm attached.",
      "fix": "Reinstall a working alarm on the base. For a hardwired base, turn off the breaker and connect a compatible hardwired alarm, or have a licensed electrician do it. Mount it on the ceiling more than 4 inches from any wall, or high on a wall with its top edge 4 to 12 inches below the ceiling, at least 10 feet from the stove and away from windows, doors, and air ducts. Use a hardwired alarm or a sealed alarm with a 10-year non-replaceable battery: federal law has required one of these in voucher units since December 29, 2024, and a unit built or substantially rehabilitated after December 29, 2022 needs hardwired alarms, which a licensed electrician should install.",
      "costBand": "$",
      "likelihood": "Very likely",
      "verifyInPerson": "After reinstalling, press its test button until it sounds, and check the label: it must be hardwired, or a sealed alarm with a 10-year non-replaceable battery. If an occupant has hearing loss, the alarm must also flash a visual signal. For a hardwired alarm, also confirm its power light is on.",
      "fixNote": "The new photo shows an alarm mounted on the plate.",
      "recheck": "verified",
      "hasFixPhoto": true,
      "deadlineWindow": {
        "text": "Fix within 24 hours of the housing authority's notice. HUD's voucher rule says that if a deficiency is life-threatening, the owner must correct it within 24 hours of notification.",
        "source": {
          "title": "24 CFR 982.404: Maintenance: Owner and family responsibility; PHA remedies (eCFR)",
          "url": "https://www.ecfr.gov/current/title-24/subtitle-B/chapter-IX/part-982/subpart-I/section-982.404"
        }
      },
      "createdAt": "2026-11-28T15:51:30.000Z",
      "updatedAt": "2026-11-29T10:12:00.000Z"
    }
  ],
  "retakeNotes": [],
  "links": {
    "report": "https://unitcheckup.com/app/checks/01KBD7Y5ZQ3M8N6P2R4T6V8W0X/report",
    "packet": "https://unitcheckup.com/api/v1/checks/01KBD7Y5ZQ3M8N6P2R4T6V8W0X/packet.pdf"
  },
  "notices": {
    "ai": "Findings are generated by Google's Gemini AI models from the media you upload and may be wrong or incomplete.",
    "disclaimer": "Unit Checkup is an AI-assisted self-check for property owners. It is not a HUD or housing-authority inspection, is not affiliated with HUD or any housing authority, and does not guarantee any inspection result."
  }
}

GET /api/v1/checks/{id}/packet.pdf

Download the fix-evidence packet. Returns the same dated fix-evidence packet PDF the app makes: unit details, findings with status and fix notes, fix photos with re-check results, the in-person checklist and the disclaimers. Available once the report is ready.

Parameters
NameInTypeDescription
idpathstringCheck id, from GET /checks. (required)

The response body is the PDF file itself.

Status codes

  • 200: The packet PDF.
  • 401: missing_api_key, invalid_api_key, api_key_revoked, api_key_expired
  • 403: insufficient_scope
  • 404: not_found
  • 409: not_ready
  • 429: rate_limited
  • 500: internal_error

Example request

curl -sS "https://unitcheckup.com/api/v1/checks/01KBD7Y5ZQ3M8N6P2R4T6V8W0X/packet.pdf" \
  -H "Authorization: Bearer $UNIT_CHECKUP_API_KEY" \
  -o packet.pdf

GET /api/v1/openapi.json

OpenAPI document. This API described in OpenAPI 3.1. Public and cacheable: no API key needed.

No API key needed.

Status codes

  • 200: The OpenAPI 3.1 document.
  • 500: internal_error

Example request

curl -sS "https://unitcheckup.com/api/v1/openapi.json"