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
- Sign in and open your API keys page from your account. Create a key, give it a name, and choose when it expires.
- Copy the key when it appears. We show it only once.
- 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_KEYRate 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."
}| HTTP status | error | When it happens |
|---|---|---|
| 400 | invalid_parameter | A query parameter is not valid. The message names it and says what to send. |
| 401 | missing_api_key | Send your API key in the Authorization header: Authorization: Bearer uc_live_... |
| 401 | invalid_api_key | This API key is not valid. Check that you copied the whole key, or create a new one. |
| 401 | api_key_revoked | This API key was revoked. Create a new key on your API keys page. |
| 401 | api_key_expired | This API key has expired. Create a new key on your API keys page. |
| 403 | insufficient_scope | This API key is not allowed to read check results. |
| 404 | not_found | No check with this id belongs to this API key's account. |
| 405 | method_not_allowed | API version 1 is read-only. Use GET. |
| 409 | not_ready | The packet is available once the check's report is ready. |
| 429 | rate_limited | Too many requests. Wait a minute and try again. |
| 500 | packet_failed | The packet could not be built just now. Try again in a minute. |
| 500 | internal_error | Something 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.
| Field | Type | Description |
|---|---|---|
accountId | string | Your account id. The API never returns your email. |
accountCreatedAt | string (date-time) | When the account was created. |
key | object | The key that made this request. |
key.id | string | Key id. |
key.name | string | The name you gave the key. |
key.prefix | string | The first characters of the key. |
key.scopes | array of string | What the key may do. |
key.createdAt | string (date-time) | When the key was created. |
key.expiresAt | string (date-time) or null | When the key stops working. null = never. |
pilot | object | Free pilot allowance. active is false once paid plans start. |
pilot.active | boolean | The free pilot is running. |
pilot.checksAllowed | integer | Free checks per account. |
pilot.checksUsed | integer | Free checks this account has used. |
pilot.checksLeft | integer | Free checks this account has left. |
pilot.programFull | boolean | Every 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.
| Name | In | Type | Description |
|---|---|---|---|
status | query | string: draft, capturing, queued, processing, ready, failed | Only checks with this status. (optional) |
limit | query | integer | Checks per page, 1 to 100. Default 25. (optional) |
cursor | query | string | nextCursor from the previous page. (optional) |
| Field | Type | Description |
|---|---|---|
data | array of objects | Checks, newest first. |
data[].id | string | Check id (a ULID). |
data[].label | string or null | The owner's name for the unit, if any. |
data[].status | string: draft, capturing, queued, processing, ready, failed | draft and capturing: filming. queued and processing: the AI is reviewing the media. ready: the report is ready. failed: no step could be reviewed. |
data[].createdAt | string (date-time) | When the check was started. |
data[].submittedAt | string (date-time) or null | When the owner submitted the media for review. |
data[].completedAt | string (date-time) or null | When the report was ready. |
data[].findingCounts | object | Number of findings by severity. Notes that ask for a retake are not counted. |
data[].findingCounts.lt | integer | Life-threatening findings. |
data[].findingCounts.severe | integer | Severe findings. |
data[].findingCounts.moderate | integer | Moderate findings. |
data[].findingCounts.low | integer | Low findings. |
data[].findingCounts.total | integer | All findings. |
nextCursor | string or null | Send 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.
| Name | In | Type | Description |
|---|---|---|---|
id | path | string | Check id, from GET /checks. (required) |
| Field | Type | Description |
|---|---|---|
id | string | Check id (a ULID). |
label | string or null | The owner's name for the unit, if any. |
status | string: draft, capturing, queued, processing, ready, failed | draft and capturing: filming. queued and processing: the AI is reviewing the media. ready: the report is ready. failed: no step could be reviewed. |
createdAt | string (date-time) | When the check was started. |
submittedAt | string (date-time) or null | When the owner submitted the media for review. |
completedAt | string (date-time) or null | When the report was ready. |
findingCounts | object | Number of findings by severity. Notes that ask for a retake are not counted. |
findingCounts.lt | integer | Life-threatening findings. |
findingCounts.severe | integer | Severe findings. |
findingCounts.moderate | integer | Moderate findings. |
findingCounts.low | integer | Low findings. |
findingCounts.total | integer | All findings. |
address | string or null | Street address, if the owner gave one. |
state | string or null | Two-letter state. |
housingAuthority | string or null | Housing authority name. |
bedrooms | integer or null | Bedrooms (0 = studio). |
bathrooms | number or null | Bathrooms. |
yearBuilt | integer or null | Year built. |
occupancy | string: vacant, occupied | Occupancy. |
housingAuthorityVisitDate | string (date) or null | Date of the housing authority's visit, if the owner entered it. |
findings | array of objects | Likely issues, most severe first. |
findings[].id | string | Finding id. |
findings[].nspireItemId | string | Our id for the NSPIRE deficiency, for example smoke-alarm.removed-from-base. |
findings[].nspireItemName | string | Plain-English name of the deficiency. |
findings[].standard | string | NSPIRE standard name as HUD titles it. |
findings[].title | string | Short title shown on the report. |
findings[].severity | string: lt, severe, moderate, low | lt = life-threatening, then severe, moderate, low. |
findings[].severityLabel | string | Severity in words. |
findings[].status | string: open, confirmed, dismissed, fixed, verified, not_verified | open: 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[].location | string or null | Where in the unit it was seen. |
findings[].clip | object or null | The video or photo step it was seen in. |
findings[].clip.label | string | Step name, for example Kitchen. |
findings[].clip.kind | string: video, still | Video or photo. |
findings[].timestampSeconds | number or null | Seconds into the video where it was seen. |
findings[].evidence | string or null | Why it was flagged. |
findings[].fix | string or null | How to fix it. |
findings[].costBand | string or null: $, $$, $$$ | Rough repair cost band. |
findings[].likelihood | string or null: Very likely, Likely, Possible, Less likely | How sure the AI was, in words. |
findings[].verifyInPerson | string or null | What to test in person, when a photo or video cannot show it. |
findings[].fixNote | string or null | Result of the fix-photo re-check, if any. |
findings[].recheck | string: none, pending, failed, verified, not_verified, done | Where the fix-photo re-check stands. |
findings[].hasFixPhoto | boolean | The owner uploaded a fix photo. |
findings[].deadlineWindow | object or null | The housing authority correction timeframe for this severity under HUD's voucher rules. Your housing authority's notice sets the actual date. |
findings[].deadlineWindow.text | string | The timeframe in plain words. |
findings[].deadlineWindow.source | object | |
findings[].createdAt | string (date-time) | When the finding was made. |
findings[].updatedAt | string (date-time) | Last status change. |
retakeNotes | array of objects | Steps the AI could not review, with why. |
retakeNotes[].id | string | Note id. |
retakeNotes[].step | string or null | The step to film or photograph again. |
retakeNotes[].note | string or null | Why a new video or photo is needed. |
links | object | |
links.report | string (uri) | The report page (owner sign-in needed). |
links.packet | string (uri) | The packet PDF endpoint. |
notices | object | Text that must stay with these results wherever you show them. |
notices.ai | string | AI notice. |
notices.disclaimer | string | Disclaimer. |
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.
| Name | In | Type | Description |
|---|---|---|---|
id | path | string | Check 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.pdfGET /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"