# GET /v1/lookups/{name} One of the API's lists of values, with a label for each. | Access | | | --- | --- | | Keys | publishable or secret | | Plan | every plan | | Environment | live and sandbox | | Acts for | the account | | While the account is suspended | refused | | During a data stop | works | ## Path | Name | Type | Description | | --- | --- | --- | | `name` | `statuses`, `property-classes`, `structure-types`, `sorts` | **Required.** Which list. | ## Answers ### 200: The list The answer is `{ data, meta }`; `meta` holds `requestId` and `environment`. `data`: | Field | Type | Description | | --- | --- | --- | | `name` | string | | | `values` | list of object | | | `values[].value` | string | | | `values[].label` | string | | ## Errors | Status | Codes | | --- | --- | | 400 | [`client_id_must_be_opaque`](../../errors/client_id_must_be_opaque.md), [`validation_failed`](../../errors/validation_failed.md) | | 401 | [`client_token_account_mismatch`](../../errors/client_token_account_mismatch.md), [`client_token_expired`](../../errors/client_token_expired.md), [`client_token_invalid`](../../errors/client_token_invalid.md), [`invalid_api_key`](../../errors/invalid_api_key.md), [`key_revoked`](../../errors/key_revoked.md), [`missing_api_key`](../../errors/missing_api_key.md) | | 403 | [`account_pending`](../../errors/account_pending.md), [`account_suspended`](../../errors/account_suspended.md), [`origin_not_allowed`](../../errors/origin_not_allowed.md), [`secret_key_in_browser`](../../errors/secret_key_in_browser.md) | | 404 | [`not_found`](../../errors/not_found.md) | | 429 | [`rate_limited`](../../errors/rate_limited.md) | | 500 | [`internal_error`](../../errors/internal_error.md), [`temporarily_unavailable`](../../errors/temporarily_unavailable.md) | Every error has the same body, and says how to fix it ([responses and errors](../../concepts/responses-and-errors.md)). ## More The API's own lists of values, for building filters and labels. Not listing content, so served during the 12-hour stop. | `name` | Values | | ------------------- | ------------------------------------------------------------------------------------------ | | `statuses` | `active`, `active_under_contract`, `coming_soon`, `pending`, `closed` | | `property-classes` | `residential`, `residential_lease`, `land`, `farm`, `commercial_sale`, `commercial_lease`, `business_opportunity`, `manufactured_in_park`, `multi_family`, `other` | | `structure-types` | `detached`, `twin_semi_detached`, `row_townhouse_interior`, `row_townhouse_end`, `condo_apartment`, `multi_family`, `deeded_parking`, `manufactured`, `other` | | `sorts` | `price_asc`, `price_desc`, `newest`, `beds_desc`, `baths_desc`, `sqft_desc`, `close_date_desc`, `distance` | ```json { "data": { "name": "statuses", "values": [ { "value": "active", "label": "Active" }, { "value": "coming_soon", "label": "Coming Soon" } ] } } ``` An unknown name is `404 not_found`. _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._