# Objects Every object the API sends or takes, field by field. An object holds exactly these fields: one that is not listed here is never sent. A field marked "not always present" is left out when it does not apply; a field that can be `null` says so in its type. ## Account Your account. A publishable key sees what a site needs; a secret key also sees the rest, its keys among them. | Field | Type | Description | | --- | --- | --- | | `id` | string | The account's ID. | | `type` | `agent`, `broker` | | | `tier` | `basic`, `premium` | The plan this key gets: for a test key, the one chosen when it was made. | | `status` | `pending`, `active`, `suspended`, `closed` | | | `environment` | `live`, `test` | | | `domains` | list of string | The website addresses a publishable key works from, each a scheme, host and port. | | `complianceProfile` | object | | | `complianceProfile.brokerageDisplayName` | string or null | Your brokerage, as shown in the disclosures. | | `complianceProfile.agentLicenseStates` | list of string | | | `complianceProfile.participantBrokerageName` | string or null | The brokerage that takes part in the IDX program. | | `accountTier` | `basic`, `premium` | (not always present) The account's own plan. | | `suspendedAt` | string or null | (not always present) | | `closedAt` | string or null | (not always present) | | `verification` | object | (not always present) | | `verification.status` | string | | | `verification.verifiedAt` | string or null | | | `brightIdentity` | object | (not always present) | | `brightIdentity.memberKey` | string or null | | | `brightIdentity.officeKey` | string or null | | | `brightIdentity.signingMainOfficeKey` | string or null | | | `brightIdentity.signingBrokerKey` | string or null | | | `createdAt` | string | (not always present) | | `keys` | list of object | (not always present) The account's keys. | | `keys[].id` | string | "key_…". | | `keys[].kind` | `pk`, `sk` | | | `keys[].env` | `live`, `test` | | | `keys[].last4` | string | The key's last four characters. A key itself is never shown. | | `keys[].sandboxTier` | `basic`, `premium` or null | | | `keys[].possiblyExposed` | boolean | True when the secret key was seen from a browser: replace it. | | `keys[].possiblyExposedAt` | string or null | | | `keys[].revokedAt` | string or null | | | `keys[].createdAt` | string | | ## Compliance The notices Bright requires beside listing content, filled in for your account. Show the texts as given; never copy them into a template. | Field | Type | Description | | --- | --- | --- | | `copyright` | string | Show on every page with a listing. | | `accuracy` | string | Show on every page with a listing. | | `idxSource` | string | Show on the home page or every search page. It names your brokerage. | | `personalUse` | string | Show on the home page or every search page. | | `availability` | string | Show on the home page or every search page. | | `lastUpdated` | string or null | The time of the last successful data update, in Eastern time, ready to show: "Data last updated: 11/10/2026 at 9:59 AM ET". Show on every page with a listing. Null when there is no such time to give (in the sandbox, until its first change has run): then show nothing in its place, never a time of your own. | | `dataLastUpdatedAt` | string or null | The same instant, in ISO 8601. | | `advertisingBrokerage` | object | | | `advertisingBrokerage.name` | string | Your brokerage, as licensed. Show it on every page with a listing. | | `advertisingBrokerage.licenseStates` | list of string | For an agent: the states of licensure, to show with the name. | | `closed` | object | (not always present) Present only when the answer holds a Closed listing: its label and the two statements to show with it. | | `closed.label` | string | | | `closed.notAppraisal` | string | | | `closed.provider` | string | | | `comingSoon` | object | (not always present) Present only when the answer holds a Coming Soon listing: its label. | | `comingSoon.label` | string | | | `renderingRules` | list of string | Where each text goes on a page, in words. | | `poweredBy` | string | Optional to show. | ## ComplianceBundle Every disclosure text, for site footers and email templates: the compliance block with both `closed` and `comingSoon`, and the texts an email needs. | Field | Type | Description | | --- | --- | --- | | `copyright` | string | Show on every page with a listing. | | `accuracy` | string | Show on every page with a listing. | | `idxSource` | string | Show on the home page or every search page. It names your brokerage. | | `personalUse` | string | Show on the home page or every search page. | | `availability` | string | Show on the home page or every search page. | | `lastUpdated` | string or null | The time of the last successful data update, in Eastern time, ready to show: "Data last updated: 11/10/2026 at 9:59 AM ET". Show on every page with a listing. Null when there is no such time to give (in the sandbox, until its first change has run): then show nothing in its place, never a time of your own. | | `dataLastUpdatedAt` | string or null | The same instant, in ISO 8601. | | `advertisingBrokerage` | object | | | `advertisingBrokerage.name` | string | Your brokerage, as licensed. Show it on every page with a listing. | | `advertisingBrokerage.licenseStates` | list of string | For an agent: the states of licensure, to show with the name. | | `closed` | object | Present only when the answer holds a Closed listing: its label and the two statements to show with it. | | `closed.label` | string | | | `closed.notAppraisal` | string | | | `closed.provider` | string | | | `comingSoon` | object | Present only when the answer holds a Coming Soon listing: its label. | | `comingSoon.label` | string | | | `renderingRules` | list of string | Where each text goes on a page, in words. | | `poweredBy` | string | Optional to show. | | `completeness` | string | The notice for a site that claims to show every listing. | | `emailSource` | string | "Property information provided by Bright MLS". | | `withheld` | string | The notice shown in place of a withheld address. | | `email` | object | The texts an email with listing content must carry. | | `email.source` | string | | | `email.copyright` | string | | | `email.accuracy` | string | | | `email.personalUse` | string | | | `email.availability` | string | | | `email.lastUpdated` | string or null | | ## CursorPage | Field | Type | Description | | --- | --- | --- | | `limit` | integer | | | `nextCursor` | string or null | Send it as `cursor` for the next page. Null on the last page. | ## DistrictRef | Field | Type | Description | | --- | --- | --- | | `placeId` | string | The district as a place: search it with location.placeIds. | | `displayName` | string | | | `districtType` | string or null | unified, elementary or secondary. | | `grades` | string or null | The lowest and highest grade served, such as "KG-12". | ## DrawnShape A GeoJSON Polygon with exactly one ring: closed, 3 to 200 corners, not crossing itself, at most 5,000 km². Positions are [longitude, latitude]. | Field | Type | Description | | --- | --- | --- | | `type` | `Polygon` | | | `coordinates` | list of list of list of number | | ## Error | Field | Type | Description | | --- | --- | --- | | `error` | object | | | `error.code` | string | What went wrong. Decide by this, never by the message. | | `error.message` | string | What is wrong, in a sentence. | | `error.fix` | string | (not always present) Exactly what to do about it. | | `error.docs` | string | The address of this code's page in the docs. | | `error.requestId` | string | The ID of this request. Send it when you ask about an answer. | | `error.fields` | list of [FieldProblem](#fieldproblem) | (not always present) For validation_failed: every input that was wrong, at once. | ## Favorite One listing a consumer saved. It holds the listing's key and nothing else of it. | Field | Type | Description | | --- | --- | --- | | `id` | string | The favorite's ID, "fav_…". | | `listingKey` | string | The listing that was saved. | | `createdAt` | string | | ## FieldProblem | Field | Type | Description | | --- | --- | --- | | `path` | string | Which input, such as `price.min`, `body.listingKey` or `header.Idempotency-Key`. | | `problem` | string | | | `expected` | string | (not always present) | ## ListingDetail A listing in full, as its detail route returns it. | Field | Type | Description | | --- | --- | --- | | `listingKey` | string | The listing's lasting key. Use it in your page addresses and to fetch the listing. Treat it as text. | | `mlsNumber` | string or null | The MLS number shown to the public. It can change; the key does not. | | `status` | `active`, `active_under_contract`, `coming_soon`, `pending`, `closed` | | | `statusLabel` | string | The status in words, such as "Active Under Contract". | | `propertyClass` | `residential`, `residential_lease`, `land`, `farm`, `commercial_sale`, `commercial_lease`, `business_opportunity`, `manufactured_in_park`, `multi_family`, `other` | | | `structureType` | `detached`, `twin_semi_detached`, `row_townhouse_interior`, `row_townhouse_end`, `condo_apartment`, `multi_family`, `deeded_parking`, `manufactured`, `other` | | | `price` | object | | | `price.list` | number or null | The list price in US dollars. Null when the listing has none, or when its prices may not be shown. | | `price.close` | number or null | The sale price. Only for a Closed listing; null otherwise. | | `address` | object or null | | | `address.line1` | string or null | The street address, as Bright sends it. | | `address.unit` | string or null | | | `address.city` | string or null | The postal city, in title case. | | `address.state` | string or null | The two-letter state code. | | `address.postalCode` | string or null | | | `address.county` | string or null | The county, in title case. | | `addressDisplay` | `full`, `withheld` | "withheld": the seller asked that the address be hidden. The address and the location are then null. | | `addressNotice` | string | (not always present) Only when the address is withheld: the text to show in its place ("Contact Listing Agent for Additional Information"). | | `location` | object or null | The point for a map. Null when the address is withheld, when the listing has no coordinates, and when its point lies outside the seven jurisdictions. | | `location.lat` | number | | | `location.lng` | number | | | `beds` | integer or null | | | `baths` | object | | | `baths.total` | number or null | Full baths plus half a bath for each half bath. | | `baths.full` | integer or null | | | `baths.half` | integer or null | | | `livingAreaSqft` | integer or null | | | `lotSizeAcres` | number or null | | | `lotSizeSqft` | number or null | | | `yearBuilt` | integer or null | | | `daysOnMarket` | integer or null | Null for a Coming Soon listing, and when the listing does not allow it to be shown. Never compute it yourself. | | `expectedOnMarketDate` | string or null | For a Coming Soon listing: the day it is expected on the market. | | `closeDate` | string or null | The day of the sale. Only for a Closed listing; null otherwise. | | `photos` | object | | | `photos.count` | integer | How many photos the gallery has. | | `photos.primary` | [PhotoUrls](#photourls) or null | The first photo, or null when there is none. | | `photos.items` | list of object | Every photo of the gallery, in display order. | | `photos.items[].mediaKey` | string | | | `photos.items[].order` | integer | | | `photos.items[].caption` | string or null | | | `photos.items[].urls` | [PhotoUrls](#photourls) | | | `attribution` | object | Who must be credited for the listing. | | `attribution.listOfficeName` | string or null | The listing office. Show it on every card and thumbnail, and near the top of the detail page. | | `attribution.listOfficePhone` | string or null | | | `attribution.listOfficeEmail` | string or null | | | `attribution.listAgentName` | string or null | | | `attribution.listAgentPhone` | string or null | | | `attribution.listAgentEmail` | string or null | | | `attribution.coListOfficeName` | string or null | | | `attribution.coListAgentName` | string or null | | | `attribution.buyerOfficeName` | string or null | The selling office. Only for a Closed listing; null otherwise. | | `attribution.buyerAgentName` | string or null | The selling agent. Only for a Closed listing; null otherwise. | | `permissions` | object | What the listing's seller allows beside the listing. | | `permissions.avmDisplay` | boolean or null | False: show no estimated value for this listing, from any source. | | `permissions.consumerComments` | boolean or null | False: show no visitor comments or reviews on this listing. | | `slug` | string | Words for a page address, ending in the listing key: the street, city, state and ZIP code, or the city and state alone when the address is withheld. | | `isFavorite` | boolean | (not always present) Only when the request acts for one consumer (a client token, or X-Client-Id): whether the listing is among that consumer's favorites. | | `updatedAt` | string or null | When the listing last changed at Bright. | | `remarks` | string or null | The public remarks. | | `directions` | string or null | Only when the address is shown; null otherwise. | | `taxId` | string or null | Only when the address is shown; null otherwise. | | `virtualTourUrl` | string or null | The listing's tour link. Null for a Coming Soon listing, and for a Closed one whose seller hides its media. | | `media` | object | | | `media.links` | list of [MediaLink](#medialink) | The virtual tours and videos, in display order. Empty for a Coming Soon listing and under the off-market hide. | | `features` | object | The listing's other facts, by Bright's own field names in lowerCamelCase with the YN suffix kept (basementYN, heating, taxAnnualAmount): booleans, numbers, strings and lists of display strings. A fact the listing does not have is left out. | | `rooms` | list of [Room](#room) or null | The rooms, in display order, for a listing on the market. Null when the listing is off the market, and (with the warning rooms_stale) when the room list could not be refreshed in 12 hours. | | `openHouses` | list of [OpenHouse](#openhouse) | Public open houses that have not ended. Empty for a Coming Soon listing and for a withheld address. | | `places` | list of [PlaceRef](#placeref) | The places the listing belongs to. School districts on Premium only. | | `schools` | [ListingSchools](#listingschools) | (not always present) | | `priceHistory` | list of object | (not always present) Dated price events, oldest first. Left out for a Coming Soon listing and when the listing hides its price history. | | `priceHistory[].date` | string | A calendar date in Eastern time, YYYY-MM-DD. | | `priceHistory[].price` | number | | | `priceHistory[].kind` | `list`, `close` | | | `listingIdHistory` | list of object | The MLS numbers the listing has carried. | | `listingIdHistory[].mlsNumber` | string | | | `listingIdHistory[].firstSeenAt` | string | | | `listingIdHistory[].lastSeenAt` | string | | ## ListingSchools | Field | Type | Description | | --- | --- | --- | | `district` | [DistrictRef](#districtref) or null | The school district the listing lies in; the first of `districts`. Null when it lies in none. | | `districts` | list of [DistrictRef](#districtref) | Every district the listing lies in: a unified one, then an elementary one, then a secondary one. | | `assigned` | list of object | The schools the listing's agent entered, at most one a level. Empty when none was entered. | | `assigned[].level` | `elementary`, `middle_or_junior`, `high` | | | `assigned[].name` | string | | | `assigned[].source` | `listing` | Always "listing": the names are what the listing's agent entered, not a school authority's. | | `asOf` | string or null | The listing's updatedAt. | | `notice` | string | "School assignments are subject to change; verify with the school district." Show it with the schools. | ## ListingSchoolsAnswer | Field | Type | Description | | --- | --- | --- | | `listingKey` | string | | | `district` | [DistrictRef](#districtref) or null | The school district the listing lies in; the first of `districts`. Null when it lies in none. | | `districts` | list of [DistrictRef](#districtref) | Every district the listing lies in: a unified one, then an elementary one, then a secondary one. | | `assigned` | list of object | The schools the listing's agent entered, at most one a level. Empty when none was entered. | | `assigned[].level` | `elementary`, `middle_or_junior`, `high` | | | `assigned[].name` | string | | | `assigned[].source` | `listing` | Always "listing": the names are what the listing's agent entered, not a school authority's. | | `asOf` | string or null | The listing's updatedAt. | | `notice` | string | "School assignments are subject to change; verify with the school district." Show it with the schools. | ## ListingSummary A listing as a search returns it. | Field | Type | Description | | --- | --- | --- | | `listingKey` | string | The listing's lasting key. Use it in your page addresses and to fetch the listing. Treat it as text. | | `mlsNumber` | string or null | The MLS number shown to the public. It can change; the key does not. | | `status` | `active`, `active_under_contract`, `coming_soon`, `pending`, `closed` | | | `statusLabel` | string | The status in words, such as "Active Under Contract". | | `propertyClass` | `residential`, `residential_lease`, `land`, `farm`, `commercial_sale`, `commercial_lease`, `business_opportunity`, `manufactured_in_park`, `multi_family`, `other` | | | `structureType` | `detached`, `twin_semi_detached`, `row_townhouse_interior`, `row_townhouse_end`, `condo_apartment`, `multi_family`, `deeded_parking`, `manufactured`, `other` | | | `price` | object | | | `price.list` | number or null | The list price in US dollars. Null when the listing has none, or when its prices may not be shown. | | `price.close` | number or null | The sale price. Only for a Closed listing; null otherwise. | | `address` | object or null | | | `address.line1` | string or null | The street address, as Bright sends it. | | `address.unit` | string or null | | | `address.city` | string or null | The postal city, in title case. | | `address.state` | string or null | The two-letter state code. | | `address.postalCode` | string or null | | | `address.county` | string or null | The county, in title case. | | `addressDisplay` | `full`, `withheld` | "withheld": the seller asked that the address be hidden. The address and the location are then null. | | `addressNotice` | string | (not always present) Only when the address is withheld: the text to show in its place ("Contact Listing Agent for Additional Information"). | | `location` | object or null | The point for a map. Null when the address is withheld, when the listing has no coordinates, and when its point lies outside the seven jurisdictions. | | `location.lat` | number | | | `location.lng` | number | | | `beds` | integer or null | | | `baths` | object | | | `baths.total` | number or null | Full baths plus half a bath for each half bath. | | `baths.full` | integer or null | | | `baths.half` | integer or null | | | `livingAreaSqft` | integer or null | | | `lotSizeAcres` | number or null | | | `lotSizeSqft` | number or null | | | `yearBuilt` | integer or null | | | `daysOnMarket` | integer or null | Null for a Coming Soon listing, and when the listing does not allow it to be shown. Never compute it yourself. | | `expectedOnMarketDate` | string or null | For a Coming Soon listing: the day it is expected on the market. | | `closeDate` | string or null | The day of the sale. Only for a Closed listing; null otherwise. | | `photos` | object | | | `photos.count` | integer | How many photos the gallery has. | | `photos.primary` | [PhotoUrls](#photourls) or null | The first photo, or null when there is none. | | `attribution` | object | Who must be credited for the listing. | | `attribution.listOfficeName` | string or null | The listing office. Show it on every card and thumbnail, and near the top of the detail page. | | `attribution.listOfficePhone` | string or null | | | `attribution.listOfficeEmail` | string or null | | | `attribution.listAgentName` | string or null | | | `attribution.listAgentPhone` | string or null | | | `attribution.listAgentEmail` | string or null | | | `attribution.coListOfficeName` | string or null | | | `attribution.coListAgentName` | string or null | | | `attribution.buyerOfficeName` | string or null | The selling office. Only for a Closed listing; null otherwise. | | `attribution.buyerAgentName` | string or null | The selling agent. Only for a Closed listing; null otherwise. | | `permissions` | object | What the listing's seller allows beside the listing. | | `permissions.avmDisplay` | boolean or null | False: show no estimated value for this listing, from any source. | | `permissions.consumerComments` | boolean or null | False: show no visitor comments or reviews on this listing. | | `slug` | string | Words for a page address, ending in the listing key: the street, city, state and ZIP code, or the city and state alone when the address is withheld. | | `isFavorite` | boolean | (not always present) Only when the request acts for one consumer (a client token, or X-Client-Id): whether the listing is among that consumer's favorites. | | `updatedAt` | string or null | When the listing last changed at Bright. | ## MapAnswer Pins, or clusters above 500. Only listings with a shown address and a point inside the region. | Field | Type | Description | | --- | --- | --- | | `total` | integer | How many located listings match. | | `pins` | list of object | One for each listing, when 500 or fewer match. Empty otherwise. | | `pins[].listingKey` | string | | | `pins[].lat` | number | | | `pins[].lng` | number | | | `pins[].price` | number or null | The list price. Null when it may not be shown. | | `pins[].status` | `active`, `active_under_contract`, `coming_soon`, `pending`, `closed` | | | `clusters` | list of object | Groups on a grid, when more than 500 match. Empty otherwise. | | `clusters[].lat` | number | | | `clusters[].lng` | number | | | `clusters[].count` | integer | How many listings the cluster stands for. | | `clusters[].bbox` | list of number | The box that holds them: [minLng, minLat, maxLng, maxLat]. Zoom to it. | | `gridCellDegrees` | number | (not always present) With clusters: the size of a grid cell, in degrees. | ## MediaLink A virtual tour or a video, as a link. Never part of the photo gallery or its count. | Field | Type | Description | | --- | --- | --- | | `mediaKey` | string | | | `kind` | `tour`, `video`, `other` | | | `url` | string | Bright's address for it, unaltered except for https:// added where it had no scheme. | | `order` | integer | | | `caption` | string or null | | ## Notice Something your site should act on. IDs and the kind of change, never listing content. The same JSON a webhook carries. | Field | Type | Description | | --- | --- | --- | | `id` | string | "evt_…". The same notice always has the same ID: de-duplicate by it. | | `type` | `saved_search.matches`, `favorite.listing_updated`, `favorite.listing_removed`, `listing.removed`, `account.suspended`, `account.reinstated`, `data.stale` | | | `createdAt` | string | | | `accountId` | string | Your account. | | `clientId` | string | (not always present) The consumer it concerns. Only on the three consumer types. | | `savedSearchId` | string | (not always present) The saved search. Only on saved_search.matches. | | `listingKeys` | list of string | The listings concerned, at most 500. Empty on the account and data types. | | `changes` | list of any | What happened. Always an array. | ## OpenHouse | Field | Type | Description | | --- | --- | --- | | `id` | string | | | `date` | string | The day, YYYY-MM-DD. | | `startTime` | string or null | | | `endTime` | string or null | | | `method` | `in_person`, `virtual`, `in_person_and_virtual` | | | `virtualUrl` | string or null | The link of an open house held by video. Always https. | | `remarks` | string or null | | ## PhotoUrls One photo in Bright's five sizes, each an https address on Bright's own media host (on the sandbox, the sandbox's). Show them whole, with CSS object-fit: contain; never crop, overlay or alter one. A size that is not available is null. | Field | Type | Description | | --- | --- | --- | | `thumb` | string or null | | | `medium` | string or null | | | `full` | string or null | | | `hires` | string or null | | | `hd` | string or null | | ## Place A named area listings belong to: its names, its center and its box. Never a boundary shape. | Field | Type | Description | | --- | --- | --- | | `placeId` | string | The place's ID, "pl_…". The same in the sandbox and on live. | | `kind` | `state`, `county`, `city`, `municipality`, `cdp`, `community`, `zcta`, `postal_city`, `subdivision`, `school_district` | What kind of area it is. A county that is its own city reads "city". | | `name` | string | The bare name, such as "Lower Merion". | | `displayName` | string | The name to show: it tells look-alikes apart ("Lower Merion Township, Montgomery County, PA"). | | `state` | string or null | The two-letter state code. | | `slug` | string or null | Words for a page address, such as "pa/montgomery-county/lower-merion-township". | | `typeLabel` | string or null | What the place calls itself: township, borough, city. | | `cityCounty` | boolean | True for a city that is its own county. | | `center` | object or null | | | `center.lat` | number | | | `center.lng` | number | | | `bbox` | list of number or null | The box that holds it: [minLng, minLat, maxLng, maxLat]. Fit your map to it. | | `radiusMeters` | integer or null | For a community, which is a point: the radius it is searched within. Null for every other kind. | | `approximate` | boolean | True for an outline put together from other shapes, such as a postal city's. | | `ncesId` | string or null | (not always present) Only on a school district: its NCES ID. | | `districtType` | string or null | (not always present) Only on a school district: unified, elementary or secondary. | | `grades` | string or null | (not always present) Only on a school district: the lowest and highest grade served, such as "KG-12". | | `notice` | string | (not always present) Only on a school district: "School assignments are subject to change; verify with the school district." | | `source` | string | Where the place comes from, as a code. Today one of: census_tiger, nces_edge, usgs_gnis, bright_derived, bright_lookup, bright_listing. | | `license` | string | | | `attribution` | string or null | A credit line, where the source requires one. | | `vintage` | string or null | The source's edition: a year, a school year, or "current". | | `asOf` | string or null | For a school district: the first day of the school year its boundary is from. | | `parents` | list of object | The places this one lies in. A place can lie in more than one. | | `parents[].placeId` | string | | | `parents[].kind` | `state`, `county`, `city`, `municipality`, `cdp`, `community`, `zcta`, `postal_city`, `subdivision`, `school_district` | | | `parents[].displayName` | string | | | `parents[].overlapFraction` | number | The share of this place that lies in the parent, from 0 to 1. | | `parents[].primary` | boolean | True for the parent used in the display name. | ## PlaceContaining | Field | Type | Description | | --- | --- | --- | | `placeId` | string | The place's ID, "pl_…". The same in the sandbox and on live. | | `kind` | `state`, `county`, `city`, `municipality`, `cdp`, `community`, `zcta`, `postal_city`, `subdivision`, `school_district` | What kind of area it is. A county that is its own city reads "city". | | `name` | string | The bare name, such as "Lower Merion". | | `displayName` | string | The name to show: it tells look-alikes apart ("Lower Merion Township, Montgomery County, PA"). | | `state` | string or null | The two-letter state code. | | `slug` | string or null | Words for a page address, such as "pa/montgomery-county/lower-merion-township". | | `typeLabel` | string or null | What the place calls itself: township, borough, city. | | `cityCounty` | boolean | True for a city that is its own county. | | `center` | object or null | | | `center.lat` | number | | | `center.lng` | number | | | `bbox` | list of number or null | The box that holds it: [minLng, minLat, maxLng, maxLat]. Fit your map to it. | | `radiusMeters` | integer or null | For a community, which is a point: the radius it is searched within. Null for every other kind. | | `approximate` | boolean | True for an outline put together from other shapes, such as a postal city's. | | `ncesId` | string or null | (not always present) Only on a school district: its NCES ID. | | `districtType` | string or null | (not always present) Only on a school district: unified, elementary or secondary. | | `grades` | string or null | (not always present) Only on a school district: the lowest and highest grade served, such as "KG-12". | | `notice` | string | (not always present) Only on a school district: "School assignments are subject to change; verify with the school district." | | `source` | string | Where the place comes from, as a code. Today one of: census_tiger, nces_edge, usgs_gnis, bright_derived, bright_lookup, bright_listing. | | `license` | string | | | `attribution` | string or null | A credit line, where the source requires one. | | `vintage` | string or null | The source's edition: a year, a school year, or "current". | | `asOf` | string or null | For a school district: the first day of the school year its boundary is from. | | `parents` | list of object | The places this one lies in. A place can lie in more than one. | | `parents[].placeId` | string | | | `parents[].kind` | `state`, `county`, `city`, `municipality`, `cdp`, `community`, `zcta`, `postal_city`, `subdivision`, `school_district` | | | `parents[].displayName` | string | | | `parents[].overlapFraction` | number | The share of this place that lies in the parent, from 0 to 1. | | `parents[].primary` | boolean | True for the parent used in the display name. | | `via` | `geometry`, `radius`, `postal_city` | Why the place holds the point: its outline covers it, a community's radius reaches it, or it is the postal city of the ZIP area that covers it. | ## PlaceRef A place the listing belongs to: its ID and name, never a shape. | Field | Type | Description | | --- | --- | --- | | `placeId` | string | | | `kind` | string | | | `displayName` | string | | ## Room | Field | Type | Description | | --- | --- | --- | | `type` | string or null | | | `level` | string or null | | | `length` | number or null | | | `width` | number or null | | | `area` | number or null | | | `dimensions` | string or null | | | `features` | list of string or null | | | `description` | string or null | | | `order` | integer | | ## SandboxTrigger A change the sandbox was asked to make on demand, and how it ended. | Field | Type | Description | | --- | --- | --- | | `id` | string | "trg_…". | | `event` | `saved_search.matches`, `favorite.listing_updated`, `listing.removed` | | | `listingKey` | string | The listing that is made, changed or removed. One a trigger makes starts with "SBXT". | | `change` | object | What is done: { kind: "new_listing", status }, { kind: "price" \| "photos" \| "open_house" }, { kind: "status", from, to } or { kind: "removed" }. | | `change.kind` | string | | | `notice` | `instant`, `next_digest` | instant: the notice follows within about 10 seconds. next_digest: it comes with the saved search's next daily or weekly digest. | | `status` | `pending`, `done`, `failed` | | | `noticeId` | string or null | Once done: the ID of the notice the change produced. Null for next_digest, and until then. | | `reason` | string or null | Why a failed trigger could not be completed. Null otherwise. | | `createdAt` | string | When the trigger was accepted. | | `completedAt` | string or null | When it was done, or failed. Null while it is pending. | ## SandboxTriggerAccepted A change the sandbox was asked to make on demand, as it was accepted. | Field | Type | Description | | --- | --- | --- | | `id` | string | "trg_…". | | `event` | `saved_search.matches`, `favorite.listing_updated`, `listing.removed` | | | `listingKey` | string | The listing that is made, changed or removed. One a trigger makes starts with "SBXT". | | `change` | object | What is done: { kind: "new_listing", status }, { kind: "price" \| "photos" \| "open_house" }, { kind: "status", from, to } or { kind: "removed" }. | | `change.kind` | string | | | `notice` | `instant`, `next_digest` | instant: the notice follows within about 10 seconds. next_digest: it comes with the saved search's next daily or weekly digest. | | `status` | `pending`, `done`, `failed` | | ## SavedSearch A consumer's search, kept so that your site can tell them of new matches. | Field | Type | Description | | --- | --- | --- | | `id` | string | "ss_…". | | `name` | string or null | | | `criteria` | [SearchFilters](#searchfilters) | | | `alertFrequency` | `instant`, `daily`, `weekly`, `off` | When matches are gathered into a notice: after each data update, daily at 7:00 am Eastern, Mondays at 7:00 am Eastern, or never. | | `status` | `active`, `paused_tier`, `paused_suspended`, `paused_invalid` | Worked out on every read. A paused search makes no notices: its criteria need Premium on a Basic account, the account is suspended, or its criteria are no longer accepted. | | `createdAt` | string | | | `updatedAt` | string | | ## SavedShape A shape a consumer drew and kept, usable as a search's location.shapeId. | Field | Type | Description | | --- | --- | --- | | `id` | string | "shp_…". | | `name` | string or null | | | `geometry` | [DrawnShape](#drawnshape) | | | `vertices` | integer | The ring's corners; its closing repeat is not one. | | `areaSqKm` | number | The area on the Earth's surface, in square kilometres. | | `createdAt` | string | | ## SearchFilters The filters of a search. Every one is optional, and they combine with AND. A key that is not listed is refused, never ignored. | Field | Type | Description | | --- | --- | --- | | `status` | list of `active`, `active_under_contract`, `coming_soon`, `pending`, `closed` | (not always present) Left out: active. | | `propertyClass` | list of `residential`, `residential_lease`, `land`, `farm`, `commercial_sale`, `commercial_lease`, `business_opportunity`, `manufactured_in_park`, `multi_family`, `other` | (not always present) Property classes: the values of GET /v1/lookups/property-classes. | | `structureType` | list of `detached`, `twin_semi_detached`, `row_townhouse_interior`, `row_townhouse_end`, `condo_apartment`, `multi_family`, `deeded_parking`, `manufactured`, `other` | (not always present) Structure types: the values of GET /v1/lookups/structure-types. | | `price` | object | (not always present) The list price in US dollars. | | `price.min` | number | (not always present) | | `price.max` | number | (not always present) | | `beds` | object | (not always present) Bedrooms. | | `beds.min` | integer | (not always present) | | `beds.max` | integer | (not always present) | | `baths` | object | (not always present) Baths, a half bath counting half. | | `baths.min` | number | (not always present) | | `baths.max` | number | (not always present) | | `livingAreaSqft` | object | (not always present) Living area in square feet. | | `livingAreaSqft.min` | number | (not always present) | | `livingAreaSqft.max` | number | (not always present) | | `lotSizeAcres` | object | (not always present) Lot size in acres. | | `lotSizeAcres.min` | number | (not always present) | | `lotSizeAcres.max` | number | (not always present) | | `yearBuilt` | object | (not always present) The year built. | | `yearBuilt.min` | integer | (not always present) | | `yearBuilt.max` | integer | (not always present) | | `closeDate` | object | (not always present) The day of the sale. Only a Closed listing has one, so this finds Closed listings only. Closed listings are kept for three years: an earlier `from` is moved to that, with the warning close_date_clamped. | | `closeDate.from` | string | (not always present) | | `closeDate.to` | string | (not always present) | | `keywords` | string | (not always present) Words searched in the public remarks and these feature lists: interior, exterior, appliances, lot, pool, parking, waterfront, view, architectural style, patio and porch, windows, doors. | | `location` | object | (not always present) Where. The kinds combine with AND. | | `location.placeIds` | list of string | (not always present) Place IDs: any kind on every plan, except school districts, which are Premium. Listings in any of them match. A community is a point with a radius of a mile, which radius.meters alone may change. An unknown or retired place is 404 not_found. | | `location.postalCodes` | list of string | (not always present) Five-digit ZIP codes, matched on the listing's own postal code. | | `location.cities` | list of object | (not always present) Postal cities, matched on the listing's own city and state. | | `location.cities[].name` | string | | | `location.cities[].state` | string | The two-letter state code. | | `location.subdivisions` | list of object | (not always present) Subdivisions, matched on the listing's own subdivision name and state. | | `location.subdivisions[].name` | string | | | `location.subdivisions[].state` | string | The two-letter state code. | | `location.bbox` | list of number | (not always present) A box: [minLng, minLat, maxLng, maxLat]. Finds only listings with a shown address. | | `location.radius` | object | (not always present) A circle. Finds only listings with a shown address. sort=distance needs its center. | | `location.radius.center` | list of number | (not always present) [longitude, latitude]. | | `location.radius.meters` | number | With a center: the radius in metres. Alone, with one community among placeIds: that community's radius, from 400 to 8000. | | `location.shapeId` | string | (not always present) Premium. A saved shape's ID, "shp_…", of the same consumer. | | `listAgentMlsId` | string | (not always present) The listing or co-listing agent's MLS ID. | | `listOfficeMlsId` | string | (not always present) The listing or co-listing office's MLS ID. | | `openHouse` | object | (not always present) Listings with a public open house in this range of days. While the open-house feed is more than 12 hours old: 500 data_stale, with details.feed "openHouses". | | `openHouse.from` | string | (not always present) | | `openHouse.to` | string | (not always present) | | `modifiedSince` | string | (not always present) An instant in ISO 8601: listings changed at or after it. | | `hasBasement` | boolean | (not always present) true to require it. | | `hasFireplace` | boolean | (not always present) true to require it. | | `hasPool` | boolean | (not always present) true to require it. | | `seniorCommunity` | boolean | (not always present) true to require it. | | `petsAllowed` | boolean | (not always present) true to require it. | | `newConstruction` | boolean | (not always present) true to require it. | | `waterfront` | boolean | (not always present) true to require it. | | `garage` | boolean | (not always present) true to require it. | ## SearchPage | Field | Type | Description | | --- | --- | --- | | `limit` | integer | How many listings a page holds. | | `nextCursor` | string or null | Send it as `cursor` for the next page. Null on the last page. | | `total` | integer | How many listings match, exact up to 10,000. | | `totalIsCapped` | boolean | True when the count stopped at 10,000. | ## SearchRequest A search: filters, a sort and paging. Every key is optional. A key that is not listed is refused, never ignored. The map routes ignore sort, limit and cursor. | Field | Type | Description | | --- | --- | --- | | `status` | list of `active`, `active_under_contract`, `coming_soon`, `pending`, `closed` | (not always present) Left out: active. | | `propertyClass` | list of `residential`, `residential_lease`, `land`, `farm`, `commercial_sale`, `commercial_lease`, `business_opportunity`, `manufactured_in_park`, `multi_family`, `other` | (not always present) Property classes: the values of GET /v1/lookups/property-classes. | | `structureType` | list of `detached`, `twin_semi_detached`, `row_townhouse_interior`, `row_townhouse_end`, `condo_apartment`, `multi_family`, `deeded_parking`, `manufactured`, `other` | (not always present) Structure types: the values of GET /v1/lookups/structure-types. | | `price` | object | (not always present) The list price in US dollars. | | `price.min` | number | (not always present) | | `price.max` | number | (not always present) | | `beds` | object | (not always present) Bedrooms. | | `beds.min` | integer | (not always present) | | `beds.max` | integer | (not always present) | | `baths` | object | (not always present) Baths, a half bath counting half. | | `baths.min` | number | (not always present) | | `baths.max` | number | (not always present) | | `livingAreaSqft` | object | (not always present) Living area in square feet. | | `livingAreaSqft.min` | number | (not always present) | | `livingAreaSqft.max` | number | (not always present) | | `lotSizeAcres` | object | (not always present) Lot size in acres. | | `lotSizeAcres.min` | number | (not always present) | | `lotSizeAcres.max` | number | (not always present) | | `yearBuilt` | object | (not always present) The year built. | | `yearBuilt.min` | integer | (not always present) | | `yearBuilt.max` | integer | (not always present) | | `closeDate` | object | (not always present) The day of the sale. Only a Closed listing has one, so this finds Closed listings only. Closed listings are kept for three years: an earlier `from` is moved to that, with the warning close_date_clamped. | | `closeDate.from` | string | (not always present) | | `closeDate.to` | string | (not always present) | | `keywords` | string | (not always present) Words searched in the public remarks and these feature lists: interior, exterior, appliances, lot, pool, parking, waterfront, view, architectural style, patio and porch, windows, doors. | | `location` | object | (not always present) Where. The kinds combine with AND. | | `location.placeIds` | list of string | (not always present) Place IDs: any kind on every plan, except school districts, which are Premium. Listings in any of them match. A community is a point with a radius of a mile, which radius.meters alone may change. An unknown or retired place is 404 not_found. | | `location.postalCodes` | list of string | (not always present) Five-digit ZIP codes, matched on the listing's own postal code. | | `location.cities` | list of object | (not always present) Postal cities, matched on the listing's own city and state. | | `location.cities[].name` | string | | | `location.cities[].state` | string | The two-letter state code. | | `location.subdivisions` | list of object | (not always present) Subdivisions, matched on the listing's own subdivision name and state. | | `location.subdivisions[].name` | string | | | `location.subdivisions[].state` | string | The two-letter state code. | | `location.bbox` | list of number | (not always present) A box: [minLng, minLat, maxLng, maxLat]. Finds only listings with a shown address. | | `location.radius` | object | (not always present) A circle. Finds only listings with a shown address. sort=distance needs its center. | | `location.radius.center` | list of number | (not always present) [longitude, latitude]. | | `location.radius.meters` | number | With a center: the radius in metres. Alone, with one community among placeIds: that community's radius, from 400 to 8000. | | `location.shapeId` | string | (not always present) Premium. A saved shape's ID, "shp_…", of the same consumer. | | `location.shape` | [DrawnShape](#drawnshape) | (not always present) | | `listAgentMlsId` | string | (not always present) The listing or co-listing agent's MLS ID. | | `listOfficeMlsId` | string | (not always present) The listing or co-listing office's MLS ID. | | `openHouse` | object | (not always present) Listings with a public open house in this range of days. While the open-house feed is more than 12 hours old: 500 data_stale, with details.feed "openHouses". | | `openHouse.from` | string | (not always present) | | `openHouse.to` | string | (not always present) | | `modifiedSince` | string | (not always present) An instant in ISO 8601: listings changed at or after it. | | `hasBasement` | boolean | (not always present) true to require it. | | `hasFireplace` | boolean | (not always present) true to require it. | | `hasPool` | boolean | (not always present) true to require it. | | `seniorCommunity` | boolean | (not always present) true to require it. | | `petsAllowed` | boolean | (not always present) true to require it. | | `newConstruction` | boolean | (not always present) true to require it. | | `waterfront` | boolean | (not always present) true to require it. | | `garage` | boolean | (not always present) true to require it. | | `sort` | `price_asc`, `price_desc`, `newest`, `beds_desc`, `baths_desc`, `sqft_desc`, `close_date_desc`, `distance` | (not always present) Left out: price_asc. distance needs location.radius with a center. | | `limit` | integer | (not always present) Listings a page. Left out: 24. | | `cursor` | string | (not always present) The previous page's nextCursor, exactly as it came, with the same filters and sort. | ## Status Whether the service runs, and how fresh its data is. | Field | Type | Description | | --- | --- | --- | | `service` | `ok`, `database_unreachable` | | | `version` | string | The version of the API that is running. | | `freshness` | object | | | `freshness.live` | object | | | `freshness.live.stale` | boolean | True when any of the three clocks is stale. | | `freshness.live.stopActive` | boolean | True while live listing routes answer 500 data_stale. | | `freshness.live.dataLastUpdatedAt` | string or null | When live data was last updated. | | `freshness.live.clocks` | object | | | `freshness.live.openHouses` | object | (not always present) | | `freshness.test` | object | | | `freshness.test.stale` | boolean | | | `freshness.test.stopActive` | boolean | | | `freshness.test.exempt` | boolean | Always true: the sandbox is never stopped. | | `freshness.test.dataLastUpdatedAt` | string or null | The sandbox's own clock: when its change job last finished. | | `geography` | object or null | The counts of the last geography build, or null before the first. Counts only, never a shape. | ## Warning The request was answered, but not exactly as asked. A warning never changes results silently. | Field | Type | Description | | --- | --- | --- | | `code` | string | What was not answered exactly as asked: close_date_clamped, filter_not_applicable, rooms_stale or open_houses_stale. | | `message` | string | | | `fix` | string | (not always present) | | `details` | any | (not always present) More about this warning, by its code. | ## WebhookDelivery One notice sent, or to be sent, to one endpoint, and what became of it. | Field | Type | Description | | --- | --- | --- | | `id` | string | "dlv_…": also sent as the ApiData-Delivery-Id header. | | `eventId` | string or null | The notice's ID. Null for a ping. | | `type` | string | The notice's type, or "ping". | | `status` | `pending`, `succeeded`, `failed` | | | `attempts` | integer | Attempts made so far. | | `lastAttemptAt` | string or null | | | `nextAttemptAt` | string or null | Null once the delivery has succeeded or failed. | | `lastResult` | `http_status`, `timeout`, `refused_destination`, `tls_failed`, `connection_failed`, `redirect_not_followed` or null | What the last attempt came to. Null before the first. | | `lastStatusCode` | integer or null | Your server's status code, with http_status and redirect_not_followed. | ## WebhookEndpoint An address on your server that receives your account's notices as signed POST requests. Its secret is not part of it. | Field | Type | Description | | --- | --- | --- | | `id` | string | "wh_…". | | `url` | string | The https:// address notices are sent to. It can not be changed. | | `eventTypes` | list of `saved_search.matches`, `favorite.listing_updated`, `favorite.listing_removed`, `listing.removed`, `account.suspended`, `account.reinstated`, `data.stale` | The notice types the endpoint receives. | | `description` | string or null | | | `enabled` | boolean | false pauses the endpoint: nothing is sent to it, and what it misses is not sent later. | | `createdAt` | string | | _This page is made from the API's own declarations by `npm run openapi`. To change it, change the declaration or its explanation, never this file._