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
Every error has the same body, and says how to fix it (responses and errors).
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 |
{ "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.