Menu · Recipes
Recipes

Neighborhood and area pages

An area page such as /neighborhoods/midtown that answers the questions people ask with dated market numbers, adds your own words, and lists the area's homes with pagination, the map and the MLS disclaimers.

View as Markdownopenapi.json

A page such as /neighborhoods/midtown for each place you sell in. It opens with one sentence that answers "what is the market like here" with today's numbers and the date, shows four market tiles, answers the questions people ask as <h2> headings, adds your agents' own words, and then lists the area's homes with pagination, a map with the area's outline and the MLS disclaimers. Your server renders all of it, so search engines index it and AI assistants can quote it. These pages are your main ranking pages (SEO and AI answers, step 7).

The same recipe makes a ZIP code page, a city page, a school area page or a page for a shape you saved in Ruuster: store that place's /v1/suggest row instead.

What the visitor sees

Live preview
The area's listings.
<!--
  Listing grid with the disclaimers under it.
  From the React component ListingGrid and MlsDisclaimers. Generated by npm run idx:recipes-static from @ruuster/idx-recipes. Do not edit it by hand.

  Fill each value from:
  .rw-grid__list[aria-label]: the list's name, for example "Homes in Powder Springs" (data.location.label)
  .rw-grid__item (one per listing): each entry of data.listings, in order, holding one listing card (listing-card.html); only the first card's photo is eager with fetchpriority="high"
  .rw-grid[data-rw-ga4-event] and [data-rw-ga4-params]: view_item_list and its ecommerce JSON: item_list_name, and items with item_id (listing.mlsNumber, else listing.id), item_name (the listing name), price, item_category (listing.type), item_category2 (listing.subtype), item_brand (listing.mls.name), index and item_list_name. Leave both attributes out to send no event
  .rw-grid--empty .rw-empty: in place of the list when data.listings is empty
  .rw-disclaimer (one per board): each entry of meta.mls, once per mlsId; data-mls-id is meta.mls[].mlsId
  .rw-disclaimer .rw-board-logo: meta.mls[].logo (url, width, height, alt); leave the image out when logo is null
  .rw-disclaimer__text p: meta.mls[].disclaimer.text, then each meta.mls[].notices[].text, one paragraph per line of text; the board's mlsName when there is no text. Print the text versions, never the html ones
  .rw-asof time[datetime]: meta.freshness.asOf
  .rw-asof time text: meta.freshness.asOf as "November 4, 2026 at 3:00 PM UTC"
  Every data-rw-* attribute is a hook for ruuster-idx.js; see ../HOOKS.md.
-->
<div class="rw-recipes rw-grid" data-rw-ga4-event="view_item_list" data-rw-ga4-params="{&quot;ecommerce&quot;:{&quot;item_list_name&quot;:&quot;Homes in Powder Springs&quot;,&quot;items&quot;:[{&quot;item_id&quot;:&quot;7400123&quot;,&quot;item_name&quot;:&quot;1417 Sterlingbrooke Dr SW, Powder Springs, GA 30127&quot;,&quot;price&quot;:480000,&quot;item_category&quot;:&quot;Residential&quot;,&quot;item_category2&quot;:&quot;house&quot;,&quot;item_brand&quot;:&quot;Northwest MLS&quot;,&quot;index&quot;:0,&quot;item_list_name&quot;:&quot;Homes in Powder Springs&quot;},{&quot;item_id&quot;:&quot;7400123&quot;,&quot;item_name&quot;:&quot;Home in Powder Springs&quot;,&quot;price&quot;:480000,&quot;item_category&quot;:&quot;Residential&quot;,&quot;item_category2&quot;:&quot;house&quot;,&quot;item_brand&quot;:&quot;First MLS&quot;,&quot;index&quot;:1,&quot;item_list_name&quot;:&quot;Homes in Powder Springs&quot;},{&quot;item_id&quot;:&quot;7400456&quot;,&quot;item_name&quot;:&quot;88 Magnolia Ct, Powder Springs, GA 30127&quot;,&quot;price&quot;:315000,&quot;item_category&quot;:&quot;Residential&quot;,&quot;item_category2&quot;:&quot;house&quot;,&quot;item_brand&quot;:&quot;First MLS&quot;,&quot;index&quot;:2,&quot;item_list_name&quot;:&quot;Homes in Powder Springs&quot;}]}}">
  <ul class="rw-grid__list" aria-label="Homes in Powder Springs">
    <li class="rw-grid__item">
      <article class="rw-recipes rw-card" data-listing-id="0b6c3b52-7f0c-4a3e-9a51-6f0e2d1a0001" data-status="active">
        <div class="rw-card__gallery" data-rw-gallery="card" data-rw-photos="[{&quot;url&quot;:&quot;https://photos.ruuster.com/l/1/0.jpg&quot;,&quot;width&quot;:1200,&quot;height&quot;:800,&quot;alt&quot;:&quot;Two-story brick house with a two-car garage&quot;},{&quot;url&quot;:&quot;https://photos.ruuster.com/l/1/1.jpg&quot;,&quot;width&quot;:1200,&quot;height&quot;:800,&quot;alt&quot;:&quot;Kitchen with an island&quot;},{&quot;url&quot;:&quot;https://photos.ruuster.com/l/1/2.jpg&quot;,&quot;width&quot;:1200,&quot;height&quot;:800,&quot;alt&quot;:&quot;Fenced back yard with a patio&quot;}]" data-rw-photo-alt="1417 Sterlingbrooke Dr SW, Powder Springs, GA 30127">
          <img class="rw-card__photo" src="https://photos.ruuster.com/l/1/0.jpg" width="1200" height="800" alt="Two-story brick house with a two-car garage" loading="eager" decoding="async" srcSet="https://photos.ruuster.com/l/1/0.jpg?width=480 480w, https://photos.ruuster.com/l/1/0.jpg?width=800 800w, https://photos.ruuster.com/l/1/0.jpg?width=1200 1200w" sizes="(min-width: 1600px) 25vw, (min-width: 1280px) 33vw, (min-width: 602px) 50vw, 100vw" fetchpriority="high" data-rw-gallery-photo=""/>
          <button type="button" class="rw-card__arrow rw-card__arrow--prev" aria-label="Previous photo" data-rw-gallery-prev="">
            <svg class="rw-icon rw-card__arrow-icon" viewBox="0 0 22 22" width="18" height="18" data-rw-icon="arrow-left-white" focusable="false" aria-hidden="true"><g fill="none"><path d="M13 17L7 11L13 5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g></svg>
          </button>
          <button type="button" class="rw-card__arrow rw-card__arrow--next" aria-label="Next photo" data-rw-gallery-next="">
            <svg class="rw-icon rw-card__arrow-icon" viewBox="0 0 22 22" width="18" height="18" data-rw-icon="arrow-right-white" focusable="false" aria-hidden="true"><g fill="none"><path d="M9 17L15 11L9 5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g></svg>
          </button>
          <span class="rw-card__dots" aria-hidden="true" data-rw-gallery-dots="">
            <span class="rw-card__dot rw-card__dot--on" data-rw-gallery-dot=""></span>
            <span class="rw-card__dot" data-rw-gallery-dot=""></span>
            <span class="rw-card__dot" data-rw-gallery-dot=""></span>
          </span>
        </div>
        <span class="rw-card__badge rw-card__badge--new">New</span>
        <div class="rw-card__band">
          <p class="rw-card__price">$480,000</p>
          <ul class="rw-card__facts">
            <li class="rw-fact"><svg class="rw-icon rw-fact__icon" viewBox="0 0 22 22" width="18" height="18" data-rw-icon="beds" focusable="false" aria-hidden="true"><g fill="none"><path d="M10.4 10.0448V7.52239H9.00002C8.22881 7.52239 7.71077 7.52363 7.32434 7.57403C6.95517 7.62218 6.79717 7.7054 6.69292 7.80654C6.58866 7.90768 6.50288 8.06096 6.45325 8.41911C6.4013 8.79401 6.40002 9.29659 6.40002 10.0448L10.4 10.0448Z" fill="currentColor"/><path d="M15.6 10.0448C15.6 9.29659 15.5987 8.79401 15.5468 8.41911C15.4972 8.06096 15.4114 7.90768 15.3071 7.80654C15.2029 7.7054 15.0449 7.62218 14.6757 7.57403C14.2893 7.52363 13.7712 7.52239 13 7.52239H11.6V10.0448L15.6 10.0448Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M11.8 5H10.2C7.18303 5 5.67454 5 4.73728 5.90928C3.9193 6.70284 3.8152 7.9185 3.80195 10.1607V11.4158C3.49768 11.5857 3.2576 11.8491 3.12179 12.1672C3 12.4524 3 12.8141 3 13.5373C3 14.2606 3 14.6222 3.12179 14.9074C3.28418 15.2878 3.59566 15.59 3.98771 15.7475C4.18962 15.8287 4.42864 15.8541 4.8 15.862V17.4179C4.8 17.7394 5.06863 18 5.4 18C5.73137 18 6 17.7394 6 17.4179V15.8657H16V17.4179C16 17.7394 16.2686 18 16.6 18C16.9314 18 17.2 17.7394 17.2 17.4179V15.862C17.5714 15.8541 17.8104 15.8287 18.0123 15.7475C18.4043 15.59 18.7158 15.2878 18.8782 14.9074C19 14.6222 19 14.2606 19 13.5373C19 12.8141 19 12.4524 18.8782 12.1672C18.7424 11.8491 18.5023 11.5857 18.1981 11.4158V10.1607C18.1848 7.9185 18.0807 6.70284 17.2628 5.90928C16.3255 5 14.817 5 11.8 5ZM16.8 11.2091V10.0044C16.8 9.30712 16.8001 8.72559 16.7361 8.26399C16.6686 7.77674 16.52 7.33684 16.1557 6.98334C15.7913 6.62984 15.3378 6.48574 14.8356 6.42023C14.3598 6.35817 13.7604 6.35819 13.0416 6.35821H8.95842C8.23964 6.35819 7.64026 6.35817 7.16444 6.42023C6.6622 6.48574 6.20876 6.62984 5.84439 6.98334C5.48001 7.33684 5.33148 7.77674 5.26395 8.26399C5.19998 8.72561 5.2 9.30709 5.20002 10.0044V11.2091C5.26357 11.209 5.33015 11.209 5.4 11.209H16.6C16.6699 11.209 16.7365 11.209 16.8 11.2091Z" fill="currentColor"/></g></svg>6 beds</li>
            <li class="rw-fact"><svg class="rw-icon rw-fact__icon" viewBox="0 0 22 22" width="18" height="18" data-rw-icon="bath" focusable="false" aria-hidden="true"><g fill="none"><path d="M4.86047 5.33311C4.86047 4.66106 5.40528 4.11626 6.07733 4.11626C6.57491 4.11626 7.02237 4.4192 7.20716 4.88118L7.31379 5.14774C6.87136 5.47013 6.5099 5.91966 6.28724 6.46795C5.97445 7.23818 5.99132 8.06533 6.27278 8.77964C6.32816 8.92017 6.43812 9.03225 6.57756 9.0903C6.71701 9.14835 6.87403 9.1474 7.01276 9.08768L11.4487 7.17806C11.7256 7.05886 11.8578 6.7413 11.7473 6.46081C11.4657 5.74622 10.9159 5.13719 10.1603 4.8144C9.55652 4.55646 8.91592 4.52175 8.32557 4.67152L8.2436 4.46661C7.88928 3.58083 7.03137 3 6.07733 3C4.78877 3 3.74419 4.04457 3.74419 5.33311V10.4417H3.55814C3.24989 10.4417 3 10.6916 3 10.9999C3 11.3081 3.24989 11.558 3.55814 11.558H3.74419V11.7441C3.74419 11.7469 3.74421 11.7497 3.74425 11.7525C3.74418 11.7663 3.74418 11.7801 3.74419 11.7937L3.74419 11.8219C3.74419 12.1011 3.74419 12.2648 3.75577 12.4474C3.8614 14.1117 4.76078 15.6486 6.06424 16.6535C6.05401 16.6696 6.04451 16.6864 6.03579 16.7038L5.2916 18.1921C5.15375 18.4678 5.2655 18.8031 5.54121 18.941C5.81692 19.0788 6.15218 18.9671 6.29004 18.6914L7.0102 17.251C7.60683 17.553 8.25567 17.7518 8.9305 17.8201C9.11241 17.8385 9.22344 17.8427 9.41256 17.8498L9.41763 17.85C9.9685 17.8707 10.5077 17.8835 11 17.8835C11.4923 17.8835 12.0315 17.8707 12.5824 17.85L12.5874 17.8498C12.7765 17.8427 12.8876 17.8385 13.0695 17.8201C13.7444 17.7518 14.3933 17.553 14.99 17.251L15.7102 18.6914C15.8481 18.9671 16.1833 19.0788 16.459 18.941C16.7347 18.8031 16.8465 18.4678 16.7086 18.1921L15.9645 16.7038C15.9557 16.6863 15.9462 16.6695 15.9359 16.6534C17.2393 15.6485 18.1386 14.1117 18.2442 12.4474C18.2558 12.2649 18.2558 12.1012 18.2558 11.8219L18.2558 11.7937C18.2559 11.749 18.2559 11.7025 18.2531 11.6596C18.2509 11.6253 18.2473 11.5915 18.2425 11.558H18.4419C18.7501 11.558 19 11.3081 19 10.9999C19 10.6916 18.7501 10.4417 18.4419 10.4417H4.86047V5.33311Z" fill="currentColor"/></g></svg>5 baths</li>
            <li class="rw-fact"><svg class="rw-icon rw-fact__icon" viewBox="0 0 22 22" width="18" height="18" data-rw-icon="square" focusable="false" aria-hidden="true"><g fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M5.02513 5.02513C4 6.05025 4 7.70017 4 11C4 14.2998 4 15.9497 5.02513 16.9749C6.05025 18 7.70017 18 11 18C14.2998 18 15.9497 18 16.9749 16.9749C18 15.9497 18 14.2998 18 11C18 7.70017 18 6.05025 16.9749 5.02513C15.9497 4 14.2998 4 11 4C7.70017 4 6.05025 4 5.02513 5.02513ZM10.1232 6.79555C10.1256 7.08549 9.89256 7.32252 9.60263 7.32498C9.00351 7.33006 8.58507 7.34985 8.27026 7.41152C7.9701 7.47031 7.80396 7.55998 7.68197 7.68197C7.55998 7.80396 7.47031 7.9701 7.41152 8.27026C7.34985 8.58507 7.33006 9.00351 7.32498 9.60263C7.32252 9.89256 7.08549 10.1256 6.79555 10.1232C6.50561 10.1207 6.27256 9.88366 6.27502 9.59372C6.28007 8.99824 6.2985 8.49011 6.3811 8.06842C6.46657 7.63208 6.62721 7.2518 6.93951 6.93951C7.2518 6.62721 7.63208 6.46657 8.06842 6.3811C8.49011 6.2985 8.99824 6.28007 9.59372 6.27502C9.88366 6.27256 10.1207 6.50561 10.1232 6.79555ZM11.8751 6.79555C11.8776 6.50561 12.1146 6.27256 12.4046 6.27502C13 6.28007 13.5082 6.2985 13.9299 6.3811C14.3662 6.46657 14.7465 6.62721 15.0588 6.93951C15.3711 7.2518 15.5317 7.63208 15.6172 8.06842C15.6998 8.49011 15.7182 8.99824 15.7233 9.59372C15.7257 9.88366 15.4927 10.1207 15.2027 10.1232C14.9128 10.1256 14.6758 9.89256 14.6733 9.60263C14.6682 9.00351 14.6484 8.58507 14.5868 8.27026C14.528 7.9701 14.4383 7.80396 14.3163 7.68197C14.1943 7.55998 14.0282 7.47031 13.728 7.41152C13.4132 7.34985 12.9948 7.33006 12.3957 7.32498C12.1057 7.32252 11.8727 7.08549 11.8751 6.79555ZM7.32498 12.396C7.32252 12.1061 7.08549 11.873 6.79555 11.8755C6.50561 11.8779 6.27256 12.115 6.27502 12.4049C6.28007 13.0004 6.2985 13.5085 6.3811 13.9302C6.46657 14.3666 6.62721 14.7468 6.93951 15.0591C7.2518 15.3714 7.63208 15.5321 8.06842 15.6175C8.49011 15.7001 8.99824 15.7186 9.59372 15.7236C9.88366 15.7261 10.1207 15.493 10.1232 15.2031C10.1256 14.9131 9.89256 14.6761 9.60263 14.6737C9.00351 14.6686 8.58507 14.6488 8.27026 14.5871C7.9701 14.5283 7.80396 14.4387 7.68197 14.3167C7.55998 14.1947 7.47031 14.0285 7.41152 13.7284C7.34985 13.4136 7.33006 12.9951 7.32498 12.396ZM15.2027 11.8755C15.4927 11.8779 15.7257 12.115 15.7233 12.4049C15.7182 13.0004 15.6998 13.5085 15.6172 13.9302C15.5317 14.3666 15.3711 14.7468 15.0588 15.0591C14.7465 15.3714 14.3662 15.5321 13.9299 15.6175C13.5082 15.7001 13 15.7186 12.4046 15.7236C12.1146 15.7261 11.8776 15.493 11.8751 15.2031C11.8727 14.9131 12.1057 14.6761 12.3957 14.6737C12.9948 14.6686 13.4132 14.6488 13.728 14.5871C14.0282 14.5283 14.1943 14.4387 14.3163 14.3167C14.4383 14.1947 14.528 14.0285 14.5868 13.7284C14.6484 13.4136 14.6682 12.9951 14.6733 12.396C14.6758 12.1061 14.9128 11.873 15.2027 11.8755Z" fill="currentColor"/></g></svg>6,838 sq ft</li>
          </ul>
          <h3 class="rw-card__address">
            <a class="rw-card__link" href="/homes/1417-sterlingbrooke-dr-sw-powder-springs-ga-30127-0b6c3b52-7f0c-4a3e-9a51-6f0e2d1a0001">1417 Sterlingbrooke Dr SW, Powder Springs, GA 30127</a>
          </h3>
          <p class="rw-card__attribution">Listing provided by Peach Realty</p>
          <p class="rw-card__courtesy">Listing courtesy of Peach Realty</p>
        </div>
      </article>
    </li>
    <li class="rw-grid__item">
      <article class="rw-recipes rw-card" data-listing-id="0b6c3b52-7f0c-4a3e-9a51-6f0e2d1a0002" data-status="active">
        <div class="rw-card__gallery" data-rw-gallery="card">
          <img class="rw-card__photo" src="https://photos.ruuster.com/l/2/0.jpg" width="1200" height="800" alt="Two-story house in Powder Springs" loading="lazy" decoding="async" srcSet="https://photos.ruuster.com/l/2/0.jpg?width=480 480w, https://photos.ruuster.com/l/2/0.jpg?width=800 800w, https://photos.ruuster.com/l/2/0.jpg?width=1200 1200w" sizes="(min-width: 1600px) 25vw, (min-width: 1280px) 33vw, (min-width: 602px) 50vw, 100vw" data-rw-gallery-photo=""/>
        </div>
        <span class="rw-card__badge rw-card__badge--new">New</span>
        <div class="rw-card__band">
          <p class="rw-card__price">$480,000</p>
          <ul class="rw-card__facts">
            <li class="rw-fact"><svg class="rw-icon rw-fact__icon" viewBox="0 0 22 22" width="18" height="18" data-rw-icon="beds" focusable="false" aria-hidden="true"><g fill="none"><path d="M10.4 10.0448V7.52239H9.00002C8.22881 7.52239 7.71077 7.52363 7.32434 7.57403C6.95517 7.62218 6.79717 7.7054 6.69292 7.80654C6.58866 7.90768 6.50288 8.06096 6.45325 8.41911C6.4013 8.79401 6.40002 9.29659 6.40002 10.0448L10.4 10.0448Z" fill="currentColor"/><path d="M15.6 10.0448C15.6 9.29659 15.5987 8.79401 15.5468 8.41911C15.4972 8.06096 15.4114 7.90768 15.3071 7.80654C15.2029 7.7054 15.0449 7.62218 14.6757 7.57403C14.2893 7.52363 13.7712 7.52239 13 7.52239H11.6V10.0448L15.6 10.0448Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M11.8 5H10.2C7.18303 5 5.67454 5 4.73728 5.90928C3.9193 6.70284 3.8152 7.9185 3.80195 10.1607V11.4158C3.49768 11.5857 3.2576 11.8491 3.12179 12.1672C3 12.4524 3 12.8141 3 13.5373C3 14.2606 3 14.6222 3.12179 14.9074C3.28418 15.2878 3.59566 15.59 3.98771 15.7475C4.18962 15.8287 4.42864 15.8541 4.8 15.862V17.4179C4.8 17.7394 5.06863 18 5.4 18C5.73137 18 6 17.7394 6 17.4179V15.8657H16V17.4179C16 17.7394 16.2686 18 16.6 18C16.9314 18 17.2 17.7394 17.2 17.4179V15.862C17.5714 15.8541 17.8104 15.8287 18.0123 15.7475C18.4043 15.59 18.7158 15.2878 18.8782 14.9074C19 14.6222 19 14.2606 19 13.5373C19 12.8141 19 12.4524 18.8782 12.1672C18.7424 11.8491 18.5023 11.5857 18.1981 11.4158V10.1607C18.1848 7.9185 18.0807 6.70284 17.2628 5.90928C16.3255 5 14.817 5 11.8 5ZM16.8 11.2091V10.0044C16.8 9.30712 16.8001 8.72559 16.7361 8.26399C16.6686 7.77674 16.52 7.33684 16.1557 6.98334C15.7913 6.62984 15.3378 6.48574 14.8356 6.42023C14.3598 6.35817 13.7604 6.35819 13.0416 6.35821H8.95842C8.23964 6.35819 7.64026 6.35817 7.16444 6.42023C6.6622 6.48574 6.20876 6.62984 5.84439 6.98334C5.48001 7.33684 5.33148 7.77674 5.26395 8.26399C5.19998 8.72561 5.2 9.30709 5.20002 10.0044V11.2091C5.26357 11.209 5.33015 11.209 5.4 11.209H16.6C16.6699 11.209 16.7365 11.209 16.8 11.2091Z" fill="currentColor"/></g></svg>6 beds</li>
            <li class="rw-fact"><svg class="rw-icon rw-fact__icon" viewBox="0 0 22 22" width="18" height="18" data-rw-icon="bath" focusable="false" aria-hidden="true"><g fill="none"><path d="M4.86047 5.33311C4.86047 4.66106 5.40528 4.11626 6.07733 4.11626C6.57491 4.11626 7.02237 4.4192 7.20716 4.88118L7.31379 5.14774C6.87136 5.47013 6.5099 5.91966 6.28724 6.46795C5.97445 7.23818 5.99132 8.06533 6.27278 8.77964C6.32816 8.92017 6.43812 9.03225 6.57756 9.0903C6.71701 9.14835 6.87403 9.1474 7.01276 9.08768L11.4487 7.17806C11.7256 7.05886 11.8578 6.7413 11.7473 6.46081C11.4657 5.74622 10.9159 5.13719 10.1603 4.8144C9.55652 4.55646 8.91592 4.52175 8.32557 4.67152L8.2436 4.46661C7.88928 3.58083 7.03137 3 6.07733 3C4.78877 3 3.74419 4.04457 3.74419 5.33311V10.4417H3.55814C3.24989 10.4417 3 10.6916 3 10.9999C3 11.3081 3.24989 11.558 3.55814 11.558H3.74419V11.7441C3.74419 11.7469 3.74421 11.7497 3.74425 11.7525C3.74418 11.7663 3.74418 11.7801 3.74419 11.7937L3.74419 11.8219C3.74419 12.1011 3.74419 12.2648 3.75577 12.4474C3.8614 14.1117 4.76078 15.6486 6.06424 16.6535C6.05401 16.6696 6.04451 16.6864 6.03579 16.7038L5.2916 18.1921C5.15375 18.4678 5.2655 18.8031 5.54121 18.941C5.81692 19.0788 6.15218 18.9671 6.29004 18.6914L7.0102 17.251C7.60683 17.553 8.25567 17.7518 8.9305 17.8201C9.11241 17.8385 9.22344 17.8427 9.41256 17.8498L9.41763 17.85C9.9685 17.8707 10.5077 17.8835 11 17.8835C11.4923 17.8835 12.0315 17.8707 12.5824 17.85L12.5874 17.8498C12.7765 17.8427 12.8876 17.8385 13.0695 17.8201C13.7444 17.7518 14.3933 17.553 14.99 17.251L15.7102 18.6914C15.8481 18.9671 16.1833 19.0788 16.459 18.941C16.7347 18.8031 16.8465 18.4678 16.7086 18.1921L15.9645 16.7038C15.9557 16.6863 15.9462 16.6695 15.9359 16.6534C17.2393 15.6485 18.1386 14.1117 18.2442 12.4474C18.2558 12.2649 18.2558 12.1012 18.2558 11.8219L18.2558 11.7937C18.2559 11.749 18.2559 11.7025 18.2531 11.6596C18.2509 11.6253 18.2473 11.5915 18.2425 11.558H18.4419C18.7501 11.558 19 11.3081 19 10.9999C19 10.6916 18.7501 10.4417 18.4419 10.4417H4.86047V5.33311Z" fill="currentColor"/></g></svg>5 baths</li>
            <li class="rw-fact"><svg class="rw-icon rw-fact__icon" viewBox="0 0 22 22" width="18" height="18" data-rw-icon="square" focusable="false" aria-hidden="true"><g fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M5.02513 5.02513C4 6.05025 4 7.70017 4 11C4 14.2998 4 15.9497 5.02513 16.9749C6.05025 18 7.70017 18 11 18C14.2998 18 15.9497 18 16.9749 16.9749C18 15.9497 18 14.2998 18 11C18 7.70017 18 6.05025 16.9749 5.02513C15.9497 4 14.2998 4 11 4C7.70017 4 6.05025 4 5.02513 5.02513ZM10.1232 6.79555C10.1256 7.08549 9.89256 7.32252 9.60263 7.32498C9.00351 7.33006 8.58507 7.34985 8.27026 7.41152C7.9701 7.47031 7.80396 7.55998 7.68197 7.68197C7.55998 7.80396 7.47031 7.9701 7.41152 8.27026C7.34985 8.58507 7.33006 9.00351 7.32498 9.60263C7.32252 9.89256 7.08549 10.1256 6.79555 10.1232C6.50561 10.1207 6.27256 9.88366 6.27502 9.59372C6.28007 8.99824 6.2985 8.49011 6.3811 8.06842C6.46657 7.63208 6.62721 7.2518 6.93951 6.93951C7.2518 6.62721 7.63208 6.46657 8.06842 6.3811C8.49011 6.2985 8.99824 6.28007 9.59372 6.27502C9.88366 6.27256 10.1207 6.50561 10.1232 6.79555ZM11.8751 6.79555C11.8776 6.50561 12.1146 6.27256 12.4046 6.27502C13 6.28007 13.5082 6.2985 13.9299 6.3811C14.3662 6.46657 14.7465 6.62721 15.0588 6.93951C15.3711 7.2518 15.5317 7.63208 15.6172 8.06842C15.6998 8.49011 15.7182 8.99824 15.7233 9.59372C15.7257 9.88366 15.4927 10.1207 15.2027 10.1232C14.9128 10.1256 14.6758 9.89256 14.6733 9.60263C14.6682 9.00351 14.6484 8.58507 14.5868 8.27026C14.528 7.9701 14.4383 7.80396 14.3163 7.68197C14.1943 7.55998 14.0282 7.47031 13.728 7.41152C13.4132 7.34985 12.9948 7.33006 12.3957 7.32498C12.1057 7.32252 11.8727 7.08549 11.8751 6.79555ZM7.32498 12.396C7.32252 12.1061 7.08549 11.873 6.79555 11.8755C6.50561 11.8779 6.27256 12.115 6.27502 12.4049C6.28007 13.0004 6.2985 13.5085 6.3811 13.9302C6.46657 14.3666 6.62721 14.7468 6.93951 15.0591C7.2518 15.3714 7.63208 15.5321 8.06842 15.6175C8.49011 15.7001 8.99824 15.7186 9.59372 15.7236C9.88366 15.7261 10.1207 15.493 10.1232 15.2031C10.1256 14.9131 9.89256 14.6761 9.60263 14.6737C9.00351 14.6686 8.58507 14.6488 8.27026 14.5871C7.9701 14.5283 7.80396 14.4387 7.68197 14.3167C7.55998 14.1947 7.47031 14.0285 7.41152 13.7284C7.34985 13.4136 7.33006 12.9951 7.32498 12.396ZM15.2027 11.8755C15.4927 11.8779 15.7257 12.115 15.7233 12.4049C15.7182 13.0004 15.6998 13.5085 15.6172 13.9302C15.5317 14.3666 15.3711 14.7468 15.0588 15.0591C14.7465 15.3714 14.3662 15.5321 13.9299 15.6175C13.5082 15.7001 13 15.7186 12.4046 15.7236C12.1146 15.7261 11.8776 15.493 11.8751 15.2031C11.8727 14.9131 12.1057 14.6761 12.3957 14.6737C12.9948 14.6686 13.4132 14.6488 13.728 14.5871C14.0282 14.5283 14.1943 14.4387 14.3163 14.3167C14.4383 14.1947 14.528 14.0285 14.5868 13.7284C14.6484 13.4136 14.6682 12.9951 14.6733 12.396C14.6758 12.1061 14.9128 11.873 15.2027 11.8755Z" fill="currentColor"/></g></svg>6,838 sq ft</li>
          </ul>
          <h3 class="rw-card__address">
            <a class="rw-card__link" href="/homes/0b6c3b52-7f0c-4a3e-9a51-6f0e2d1a0002">Powder Springs, GA 30127</a>
          </h3>
        </div>
      </article>
    </li>
    <li class="rw-grid__item">
      <article class="rw-recipes rw-card" data-listing-id="0b6c3b52-7f0c-4a3e-9a51-6f0e2d1a0003" data-status="active">
        <div class="rw-card__gallery" data-rw-gallery="card" data-rw-photos="[{&quot;url&quot;:&quot;https://photos.ruuster.com/l/5/0.jpg&quot;,&quot;width&quot;:1200,&quot;height&quot;:800,&quot;alt&quot;:&quot;Craftsman house with a covered front porch&quot;},{&quot;url&quot;:&quot;https://photos.ruuster.com/l/5/1.jpg&quot;,&quot;width&quot;:1200,&quot;height&quot;:800,&quot;alt&quot;:&quot;Living room with a fireplace&quot;}]" data-rw-photo-alt="88 Magnolia Ct, Powder Springs, GA 30127">
          <img class="rw-card__photo" src="https://photos.ruuster.com/l/5/0.jpg" width="1200" height="800" alt="Craftsman house with a covered front porch" loading="lazy" decoding="async" srcSet="https://photos.ruuster.com/l/5/0.jpg?width=480 480w, https://photos.ruuster.com/l/5/0.jpg?width=800 800w, https://photos.ruuster.com/l/5/0.jpg?width=1200 1200w" sizes="(min-width: 1600px) 25vw, (min-width: 1280px) 33vw, (min-width: 602px) 50vw, 100vw" data-rw-gallery-photo=""/>
          <button type="button" class="rw-card__arrow rw-card__arrow--prev" aria-label="Previous photo" data-rw-gallery-prev="">
            <svg class="rw-icon rw-card__arrow-icon" viewBox="0 0 22 22" width="18" height="18" data-rw-icon="arrow-left-white" focusable="false" aria-hidden="true"><g fill="none"><path d="M13 17L7 11L13 5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g></svg>
          </button>
          <button type="button" class="rw-card__arrow rw-card__arrow--next" aria-label="Next photo" data-rw-gallery-next="">
            <svg class="rw-icon rw-card__arrow-icon" viewBox="0 0 22 22" width="18" height="18" data-rw-icon="arrow-right-white" focusable="false" aria-hidden="true"><g fill="none"><path d="M9 17L15 11L9 5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></g></svg>
          </button>
          <span class="rw-card__dots" aria-hidden="true" data-rw-gallery-dots="">
            <span class="rw-card__dot rw-card__dot--on" data-rw-gallery-dot=""></span>
            <span class="rw-card__dot" data-rw-gallery-dot=""></span>
          </span>
        </div>
        <div class="rw-card__band">
          <p class="rw-card__price">$315,000</p>
          <ul class="rw-card__facts">
            <li class="rw-fact"><svg class="rw-icon rw-fact__icon" viewBox="0 0 22 22" width="18" height="18" data-rw-icon="beds" focusable="false" aria-hidden="true"><g fill="none"><path d="M10.4 10.0448V7.52239H9.00002C8.22881 7.52239 7.71077 7.52363 7.32434 7.57403C6.95517 7.62218 6.79717 7.7054 6.69292 7.80654C6.58866 7.90768 6.50288 8.06096 6.45325 8.41911C6.4013 8.79401 6.40002 9.29659 6.40002 10.0448L10.4 10.0448Z" fill="currentColor"/><path d="M15.6 10.0448C15.6 9.29659 15.5987 8.79401 15.5468 8.41911C15.4972 8.06096 15.4114 7.90768 15.3071 7.80654C15.2029 7.7054 15.0449 7.62218 14.6757 7.57403C14.2893 7.52363 13.7712 7.52239 13 7.52239H11.6V10.0448L15.6 10.0448Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M11.8 5H10.2C7.18303 5 5.67454 5 4.73728 5.90928C3.9193 6.70284 3.8152 7.9185 3.80195 10.1607V11.4158C3.49768 11.5857 3.2576 11.8491 3.12179 12.1672C3 12.4524 3 12.8141 3 13.5373C3 14.2606 3 14.6222 3.12179 14.9074C3.28418 15.2878 3.59566 15.59 3.98771 15.7475C4.18962 15.8287 4.42864 15.8541 4.8 15.862V17.4179C4.8 17.7394 5.06863 18 5.4 18C5.73137 18 6 17.7394 6 17.4179V15.8657H16V17.4179C16 17.7394 16.2686 18 16.6 18C16.9314 18 17.2 17.7394 17.2 17.4179V15.862C17.5714 15.8541 17.8104 15.8287 18.0123 15.7475C18.4043 15.59 18.7158 15.2878 18.8782 14.9074C19 14.6222 19 14.2606 19 13.5373C19 12.8141 19 12.4524 18.8782 12.1672C18.7424 11.8491 18.5023 11.5857 18.1981 11.4158V10.1607C18.1848 7.9185 18.0807 6.70284 17.2628 5.90928C16.3255 5 14.817 5 11.8 5ZM16.8 11.2091V10.0044C16.8 9.30712 16.8001 8.72559 16.7361 8.26399C16.6686 7.77674 16.52 7.33684 16.1557 6.98334C15.7913 6.62984 15.3378 6.48574 14.8356 6.42023C14.3598 6.35817 13.7604 6.35819 13.0416 6.35821H8.95842C8.23964 6.35819 7.64026 6.35817 7.16444 6.42023C6.6622 6.48574 6.20876 6.62984 5.84439 6.98334C5.48001 7.33684 5.33148 7.77674 5.26395 8.26399C5.19998 8.72561 5.2 9.30709 5.20002 10.0044V11.2091C5.26357 11.209 5.33015 11.209 5.4 11.209H16.6C16.6699 11.209 16.7365 11.209 16.8 11.2091Z" fill="currentColor"/></g></svg>3 beds</li>
            <li class="rw-fact"><svg class="rw-icon rw-fact__icon" viewBox="0 0 22 22" width="18" height="18" data-rw-icon="bath" focusable="false" aria-hidden="true"><g fill="none"><path d="M4.86047 5.33311C4.86047 4.66106 5.40528 4.11626 6.07733 4.11626C6.57491 4.11626 7.02237 4.4192 7.20716 4.88118L7.31379 5.14774C6.87136 5.47013 6.5099 5.91966 6.28724 6.46795C5.97445 7.23818 5.99132 8.06533 6.27278 8.77964C6.32816 8.92017 6.43812 9.03225 6.57756 9.0903C6.71701 9.14835 6.87403 9.1474 7.01276 9.08768L11.4487 7.17806C11.7256 7.05886 11.8578 6.7413 11.7473 6.46081C11.4657 5.74622 10.9159 5.13719 10.1603 4.8144C9.55652 4.55646 8.91592 4.52175 8.32557 4.67152L8.2436 4.46661C7.88928 3.58083 7.03137 3 6.07733 3C4.78877 3 3.74419 4.04457 3.74419 5.33311V10.4417H3.55814C3.24989 10.4417 3 10.6916 3 10.9999C3 11.3081 3.24989 11.558 3.55814 11.558H3.74419V11.7441C3.74419 11.7469 3.74421 11.7497 3.74425 11.7525C3.74418 11.7663 3.74418 11.7801 3.74419 11.7937L3.74419 11.8219C3.74419 12.1011 3.74419 12.2648 3.75577 12.4474C3.8614 14.1117 4.76078 15.6486 6.06424 16.6535C6.05401 16.6696 6.04451 16.6864 6.03579 16.7038L5.2916 18.1921C5.15375 18.4678 5.2655 18.8031 5.54121 18.941C5.81692 19.0788 6.15218 18.9671 6.29004 18.6914L7.0102 17.251C7.60683 17.553 8.25567 17.7518 8.9305 17.8201C9.11241 17.8385 9.22344 17.8427 9.41256 17.8498L9.41763 17.85C9.9685 17.8707 10.5077 17.8835 11 17.8835C11.4923 17.8835 12.0315 17.8707 12.5824 17.85L12.5874 17.8498C12.7765 17.8427 12.8876 17.8385 13.0695 17.8201C13.7444 17.7518 14.3933 17.553 14.99 17.251L15.7102 18.6914C15.8481 18.9671 16.1833 19.0788 16.459 18.941C16.7347 18.8031 16.8465 18.4678 16.7086 18.1921L15.9645 16.7038C15.9557 16.6863 15.9462 16.6695 15.9359 16.6534C17.2393 15.6485 18.1386 14.1117 18.2442 12.4474C18.2558 12.2649 18.2558 12.1012 18.2558 11.8219L18.2558 11.7937C18.2559 11.749 18.2559 11.7025 18.2531 11.6596C18.2509 11.6253 18.2473 11.5915 18.2425 11.558H18.4419C18.7501 11.558 19 11.3081 19 10.9999C19 10.6916 18.7501 10.4417 18.4419 10.4417H4.86047V5.33311Z" fill="currentColor"/></g></svg>2 baths</li>
            <li class="rw-fact"><svg class="rw-icon rw-fact__icon" viewBox="0 0 22 22" width="18" height="18" data-rw-icon="square" focusable="false" aria-hidden="true"><g fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M5.02513 5.02513C4 6.05025 4 7.70017 4 11C4 14.2998 4 15.9497 5.02513 16.9749C6.05025 18 7.70017 18 11 18C14.2998 18 15.9497 18 16.9749 16.9749C18 15.9497 18 14.2998 18 11C18 7.70017 18 6.05025 16.9749 5.02513C15.9497 4 14.2998 4 11 4C7.70017 4 6.05025 4 5.02513 5.02513ZM10.1232 6.79555C10.1256 7.08549 9.89256 7.32252 9.60263 7.32498C9.00351 7.33006 8.58507 7.34985 8.27026 7.41152C7.9701 7.47031 7.80396 7.55998 7.68197 7.68197C7.55998 7.80396 7.47031 7.9701 7.41152 8.27026C7.34985 8.58507 7.33006 9.00351 7.32498 9.60263C7.32252 9.89256 7.08549 10.1256 6.79555 10.1232C6.50561 10.1207 6.27256 9.88366 6.27502 9.59372C6.28007 8.99824 6.2985 8.49011 6.3811 8.06842C6.46657 7.63208 6.62721 7.2518 6.93951 6.93951C7.2518 6.62721 7.63208 6.46657 8.06842 6.3811C8.49011 6.2985 8.99824 6.28007 9.59372 6.27502C9.88366 6.27256 10.1207 6.50561 10.1232 6.79555ZM11.8751 6.79555C11.8776 6.50561 12.1146 6.27256 12.4046 6.27502C13 6.28007 13.5082 6.2985 13.9299 6.3811C14.3662 6.46657 14.7465 6.62721 15.0588 6.93951C15.3711 7.2518 15.5317 7.63208 15.6172 8.06842C15.6998 8.49011 15.7182 8.99824 15.7233 9.59372C15.7257 9.88366 15.4927 10.1207 15.2027 10.1232C14.9128 10.1256 14.6758 9.89256 14.6733 9.60263C14.6682 9.00351 14.6484 8.58507 14.5868 8.27026C14.528 7.9701 14.4383 7.80396 14.3163 7.68197C14.1943 7.55998 14.0282 7.47031 13.728 7.41152C13.4132 7.34985 12.9948 7.33006 12.3957 7.32498C12.1057 7.32252 11.8727 7.08549 11.8751 6.79555ZM7.32498 12.396C7.32252 12.1061 7.08549 11.873 6.79555 11.8755C6.50561 11.8779 6.27256 12.115 6.27502 12.4049C6.28007 13.0004 6.2985 13.5085 6.3811 13.9302C6.46657 14.3666 6.62721 14.7468 6.93951 15.0591C7.2518 15.3714 7.63208 15.5321 8.06842 15.6175C8.49011 15.7001 8.99824 15.7186 9.59372 15.7236C9.88366 15.7261 10.1207 15.493 10.1232 15.2031C10.1256 14.9131 9.89256 14.6761 9.60263 14.6737C9.00351 14.6686 8.58507 14.6488 8.27026 14.5871C7.9701 14.5283 7.80396 14.4387 7.68197 14.3167C7.55998 14.1947 7.47031 14.0285 7.41152 13.7284C7.34985 13.4136 7.33006 12.9951 7.32498 12.396ZM15.2027 11.8755C15.4927 11.8779 15.7257 12.115 15.7233 12.4049C15.7182 13.0004 15.6998 13.5085 15.6172 13.9302C15.5317 14.3666 15.3711 14.7468 15.0588 15.0591C14.7465 15.3714 14.3662 15.5321 13.9299 15.6175C13.5082 15.7001 13 15.7186 12.4046 15.7236C12.1146 15.7261 11.8776 15.493 11.8751 15.2031C11.8727 14.9131 12.1057 14.6761 12.3957 14.6737C12.9948 14.6686 13.4132 14.6488 13.728 14.5871C14.0282 14.5283 14.1943 14.4387 14.3163 14.3167C14.4383 14.1947 14.528 14.0285 14.5868 13.7284C14.6484 13.4136 14.6682 12.9951 14.6733 12.396C14.6758 12.1061 14.9128 11.873 15.2027 11.8755Z" fill="currentColor"/></g></svg>1,650 sq ft</li>
          </ul>
          <h3 class="rw-card__address">
            <a class="rw-card__link" href="/homes/88-magnolia-ct-powder-springs-ga-30127-0b6c3b52-7f0c-4a3e-9a51-6f0e2d1a0003">88 Magnolia Ct, Powder Springs, GA 30127</a>
          </h3>
        </div>
      </article>
    </li>
  </ul>
</div>
<aside class="rw-recipes rw-disclaimers rw-disclaimers--page" aria-label="Listing data notices">
  <div class="rw-disclaimer" data-mls-id="nwmls">
    <img class="rw-board-logo" src="https://photos.ruuster.com/mls/nwmls.png" alt="Northwest MLS logo" width="80" height="32" loading="lazy" decoding="async"/>
    <div class="rw-disclaimer__text">
      <p>Listing information is provided by Northwest MLS and is deemed reliable but not guaranteed.</p>
      <p>To report a copyright concern, contact Northwest MLS.</p>
    </div>
  </div>
  <div class="rw-disclaimer" data-mls-id="fmls">
    <div class="rw-disclaimer__text">
      <p>Information is deemed reliable but not guaranteed. First MLS.</p>
    </div>
  </div>
  <p class="rw-asof">Data last updated <time dateTime="2026-11-04T15:00:00Z">November 4, 2026 at 3:00 PM UTC</time>.</p>
</aside>

Above the listings, the page shows your answer sentence, the market tiles and the questions, in your site's own layout.

What the page calls

When Request Key Cached
Once, while you set up the page GET /v1/suggest for the place's name secret key, from your terminal you store the row in content/areas.ts
Each page view GET /v1/listings with the stored where row secret key, on your server 5 minutes by Next.js
Each page view GET /v1/market with the same where row, 13 months secret key, on your server 5 minutes by Next.js
When the map is on GET /v1/boundaries/{boundaryId} for the outline secret key, on your server 5 minutes by Next.js

Find the place's row once:

curl -s -G "https://idx.ruuster.com/v1/suggest" \
  --data-urlencode q=Midtown \
  --data-urlencode groups=neighborhood \
  -H "Authorization: Bearer $IDX_SECRET_KEY"

The listings on page 1:

curl -s -G "https://idx.ruuster.com/v1/listings" \
  --data-urlencode 'where={"label":"Atlanta, GA Midtown","value":"a0000000-0000-4000-8000-000000000001","source":"neighborhood","data":{"state":"GA"}}' \
  --data-urlencode status=active \
  --data-urlencode limit=24 \
  --data-urlencode pageHref=/neighborhoods/midtown \
  -H "Authorization: Bearer $IDX_SECRET_KEY"

The market numbers for the answer sentence and the tiles:

curl -s -G "https://idx.ruuster.com/v1/market" \
  --data-urlencode 'where={"label":"Atlanta, GA Midtown","value":"a0000000-0000-4000-8000-000000000001","source":"neighborhood","data":{"state":"GA"}}' \
  --data-urlencode months=13 \
  -H "Authorization: Bearer $IDX_SECRET_KEY"

Steps

  1. Add lib/idx.ts, lib/site.ts and components/results.tsx from the recipes overview, and lib/area-query.ts and lib/results.ts from the search page recipe.
  2. For each place, run the suggest call above in your terminal with your secret key in your shell (never in a chat), pick the row for the place you mean, and paste its where object into content/areas.ts unchanged.
  3. Write your agents' own paragraphs for each area in ownWords, and any questions you answer yourself in questions.
  4. Create content/answer.ts and app/neighborhoods/[area]/page.tsx with the code below.
  5. Run npm run dev and open http://localhost:3000/neighborhoods/midtown.
  6. Add every area page to app/sitemap.ts (Area guide hub has the file).

The code

app/neighborhoods/[area]/page.tsx

// /neighborhoods/<area>: an area page built to rank and to be quoted by AI assistants.
// Top to bottom: the one-sentence answer with today's numbers and the date, the market tiles, the
// questions people ask (each an <h2> answered in its first sentence), your own words, then the
// listings, pagination, the map, the MLS disclaimers and the JSON-LD.
import Link from "next/link";
import { notFound } from "next/navigation";
import { Filters, MarketStats } from "@ruuster/idx-recipes";
import { Results } from "@/components/results";
import { areaAnswer } from "@/content/answer";
import { AREAS, areaBySlug } from "@/content/areas";
import { getMeta, idx } from "@/lib/idx";
import { areaQuery, showsSoldData } from "@/lib/area-query";
import { failureAction, resultsMetadata } from "@/lib/results";

export const revalidate = 300;

type Props = { params: { area: string }; searchParams: Record<string, string | string[] | undefined> };

export function generateStaticParams() {
  return AREAS.map((a) => ({ area: a.slug }));
}

export async function generateMetadata({ params, searchParams }: Props) {
  const area = areaBySlug(params.area);
  if (!area) return {};
  const r = await idx.search(areaQuery(area, searchParams));
  return r.ok ? resultsMetadata(r.data.head, `Homes for sale in ${area.name}`) : {};
}

export default async function AreaPage({ params, searchParams }: Props) {
  const area = areaBySlug(params.area);
  if (!area) notFound();
  const q = areaQuery(area, searchParams);
  const [r, answer, meta] = await Promise.all([idx.search(q), areaAnswer(area), getMeta()]);
  if (!r.ok) {
    const action = failureAction(r);
    if (action === "not_found") notFound();
    throw new Error(`Listings API ${r.status} ${r.error.code}`);
  }
  const sold = area.soldPage && meta.ok && showsSoldData(meta.data.capabilities);
  return (
    <main>
      <nav aria-label="Breadcrumb">
        <Link href="/neighborhoods">Neighborhoods</Link> › {area.name}
      </nav>
      <h1>{`Homes for sale in ${area.name}`}</h1>
      {answer ? <p>{answer.answer.lead}</p> : null}
      {answer ? <MarketStats market={answer.market} /> : null}
      {answer?.answer.questions.map((x) => (
        <section key={x.question}>
          <h2>{x.question}</h2>
          <p>{x.answer}</p>
        </section>
      ))}
      {area.questions.map((x) => (
        <section key={x.question}>
          <h2>{x.question}</h2>
          <p>{x.answer}</p>
        </section>
      ))}
      <section aria-labelledby="our-take">
        <h2 id="our-take">Our take on {area.name}</h2>
        {area.ownWords.map((p) => (
          <p key={p}>{p}</p>
        ))}
      </section>
      <h2>Listings in {area.name}</h2>
      <Filters value={q} action={`/neighborhoods/${area.slug}`} fields={["price", "beds", "baths", "type", "sort"]} keep={[]} />
      <Results r={r} basePath={`/neighborhoods/${area.slug}`} searchParams={searchParams} listName={`Homes for sale in ${area.name}`} />
      {sold ? (
        <p>
          <Link href={`/neighborhoods/${area.slug}/sold`}>Recently sold homes in {area.name}</Link>
        </p>
      ) : null}
    </main>
  );
}

content/areas.ts

// The places you sell in: one entry per area page. This file is your own content.
//
// `where` is the row GET /v1/suggest answered for the place, copied in once and never edited by
// hand. To get one, run (with your secret key in your shell, never in a chat):
//   curl -s "https://idx.ruuster.com/v1/suggest?q=Midtown&groups=neighborhood" -H "Authorization: Bearer $IDX_SECRET_KEY"
// and paste the `where` object of the row you want.
// The two areas below are example rows; replace them with your own.
import type { WhereObject } from "@ruuster/idx";

export type AreaQuestion = { question: string; answer: string };

export type Area = {
  /** The URL segment: /neighborhoods/<slug>. */
  slug: string;
  /** The name you show in headings and links. */
  name: string;
  /** The /v1/suggest row for this place, unchanged. */
  where: WhereObject;
  /** Publish /neighborhoods/<slug>/sold. The page also checks that your boards show sold data. */
  soldPage: boolean;
  /** Your agents' own words about the area: the streets, the housing, what buyers ask about. */
  ownWords: readonly string[];
  /** Questions you answer yourself, shown after the market questions. Each answer starts with the answer. */
  questions: readonly AreaQuestion[];
};

export const AREAS: readonly Area[] = [
  {
    slug: "midtown",
    name: "Midtown",
    where: { label: "Atlanta, GA Midtown", value: "a0000000-0000-4000-8000-000000000001", source: "neighborhood", data: { state: "GA" } },
    soldPage: true,
    ownWords: [
      "Midtown mixes high-rise condos along Peachtree Street with brick bungalows on the quieter side streets east of the park.",
      "Most condo buildings here have a monthly association fee that covers the pool, the gym and building insurance, so ask for the budget early.",
    ],
    questions: [
      {
        question: "What kinds of homes are in Midtown?",
        answer: "Mostly condos in mid-rise and high-rise buildings, with single-family homes and townhomes on the side streets.",
      },
    ],
  },
  {
    slug: "atlanta",
    name: "Atlanta",
    where: { label: "Atlanta, GA", value: "Atlanta", source: "crm-system", data: { state: "GA", city: "Atlanta" }, city: "Atlanta", state: "GA" },
    soldPage: true,
    ownWords: ["Atlanta's listings range from downtown lofts to wooded lots inside the Perimeter, and every neighborhood has its own page on this site."],
    questions: [],
  },
];

/** The area the site-wide pages (open houses, price reduced, new construction) search in. */
export const MARKET_AREA: Area = AREAS[AREAS.length - 1];

export function areaBySlug(slug: string): Area | null {
  return AREAS.find((a) => a.slug === slug) ?? null;
}

content/answer.ts

// The answer at the top of an area page: one sentence with today's numbers and the date, then the
// questions people ask about the area, each answered in its first sentence (plain market facts only).
import type { MarketData, MarketSeries } from "@ruuster/idx";
import { fmt, idx } from "@/lib/idx";
import type { Area, AreaQuestion } from "@/content/areas";

export type AreaAnswer = {
  /** The lead sentence: homes for sale, prices, days on market, the date. */
  lead: string;
  /** Market questions with their answers (a question whose number is missing is left out). */
  questions: AreaQuestion[];
  /** The date the numbers are from (ISO). */
  asOf: string;
};

const MONTHS = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];

/** "2026-10" → "October 2026". */
export function monthName(month: string): string {
  const m = /^(\d{4})-(\d{2})$/.exec(month);
  if (!m) return month;
  return `${MONTHS[Number(m[2]) - 1] ?? m[2]} ${m[1]}`;
}

/** The latest month of a series that has a value, or null. */
export function latestPoint(s: MarketSeries | undefined): { month: string; value: number } | null {
  if (!s) return null;
  for (let i = s.series.length - 1; i >= 0; i--) {
    const p = s.series[i];
    if (p.value !== null) return { month: p.month, value: p.value };
  }
  return null;
}

/** Builds the answer from a GET /v1/market answer. Pure: the page passes the data in. */
export function answerFromMarket(market: MarketData, areaName: string): AreaAnswer {
  const m = market.measures;
  const updated = `Updated ${fmt.date(market.asOf)}.`;
  const sentences: string[] = [];

  const inventory = m.activeInventory?.current ?? null;
  const asking = m.medianListPrice?.current ?? null;
  if (inventory !== null && asking !== null) {
    sentences.push(`${areaName} has ${fmt.count(inventory)} ${inventory === 1 ? "home" : "homes"} for sale today, at a median asking price of ${fmt.usd(asking)}.`);
  } else if (inventory !== null) {
    sentences.push(`${areaName} has ${fmt.count(inventory)} ${inventory === 1 ? "home" : "homes"} for sale today.`);
  }

  const sold = latestPoint(m.medianSoldPrice);
  const ratio = m.listToSaleRatio?.current ?? null;
  const dom = m.medianDaysOnMarket?.current ?? null;
  if (sold) {
    let s = `Homes that sold in ${monthName(sold.month)} closed at a median of ${fmt.usd(sold.value)}`;
    if (ratio !== null) s += `, or ${(ratio * 100).toFixed(1)}% of asking`;
    if (dom !== null) s += `, after ${fmt.count(dom)} days on market`;
    sentences.push(`${s}.`);
  }
  sentences.push(updated);

  const questions: AreaQuestion[] = [];
  if (sold) {
    const change = fmt.change(m.medianSoldPrice, 12);
    const year = Number(sold.month.slice(0, 4)) - 1;
    const since = change ? ` That is a change of ${change} from ${monthName(`${year}${sold.month.slice(4)}`)}.` : "";
    questions.push({ question: `What is the median home price in ${areaName}?`, answer: `${fmt.usd(sold.value)} for homes sold in ${monthName(sold.month)}.${since}` });
  } else if (asking !== null) {
    questions.push({ question: `What is the median home price in ${areaName}?`, answer: `The median asking price of the homes for sale today is ${fmt.usd(asking)}.` });
  }
  const supply = m.monthsOfSupply?.current ?? null;
  if (dom !== null || supply !== null) {
    const parts: string[] = [];
    if (dom !== null && sold) parts.push(`The median home sold in ${fmt.count(dom)} days in ${monthName(sold.month)}.`);
    else if (dom !== null) parts.push(`The median home sold in ${fmt.count(dom)} days.`);
    if (supply !== null) parts.push(`At the current pace of sales, the homes for sale today would sell in ${fmt.count(supply)} months.`);
    questions.push({ question: `How fast are homes selling in ${areaName}?`, answer: parts.join(" ") });
  }
  const fresh = latestPoint(m.newListings);
  if (inventory !== null) {
    let a = `${fmt.count(inventory)} ${inventory === 1 ? "home is" : "homes are"} for sale today.`;
    if (fresh) a += ` ${fmt.count(fresh.value)} new ${fresh.value === 1 ? "listing" : "listings"} came on the market in ${monthName(fresh.month)}.`;
    questions.push({ question: `How many homes are for sale in ${areaName}?`, answer: a });
  }

  return { lead: sentences.join(" "), questions, asOf: market.asOf };
}

/** GET /v1/market for the area (13 months, so the change against a year earlier has both ends), then the answer. */
export async function areaAnswer(area: Area): Promise<{ answer: AreaAnswer; market: MarketData } | null> {
  const r = await idx.market({ where: area.where, months: 13 });
  if (!r.ok) return null;
  return { answer: answerFromMarket(r.data, area.name), market: r.data };
}

Forms and your CRM

Area pages carry no forms. Visitors reach your tour form from each listing page (Registration, tour and contact forms).

Rules this page follows

MUST

  • Store the where row exactly as /v1/suggest answered it.
  • Print the "Updated" date with the market numbers, and every board's disclaimer under the listings.
  • Hide a market tile and its sentence when /v1/market answers null for it (boards that show no sold data answer null for the sold measures).
  • Re-render at least every 5 minutes (revalidate = 300) or on the listing-change webhook.

NEVER

  • Describe a neighborhood by who lives there or who it suits, or rank schools as a reason to buy (Fair housing).
  • Paste listing remarks into your area copy.
  • Store listings in bulk or serve them to another site.

Test it

curl -s http://localhost:3000/neighborhoods/midtown | grep -o 'href="[^"]*/homes/[^"]*"' | sort -u | wc -l

The count matches the cards on page 1. View source and find the answer sentence with its date, each question as an <h2>, and the <script type="application/ld+json"> block with the ItemList. Paste the URL into Google's Rich Results Test: it parses with no errors.

Build it with AI

Prompt
Read RUUSTER_IDX.md first and follow its MUST and NEVER rules. Ask me if it doesn't cover something.

Build neighborhood pages at /neighborhoods/[area] for this list of places: [your list]. Follow the recipe at <https://help.ruuster.com/idx/recipe-neighborhood-page>. For each place, call GET /v1/suggest once on the server with my secret key, show me the rows it answers so I can confirm the right one, and store that row's where object unchanged in content/areas.ts. Never build or edit a where object by hand. Each page opens with one sentence that answers what the market is like, using GET /v1/market numbers and the date. Then it shows the MarketStats tiles, answers three to five questions as <h2> headings with the answer in the first sentence, leaves a section for my agents' own words, and shows the listings, pagination, the map, the MLS disclaimers and the JSON-LD. Add the area pages to app/sitemap.ts and build an area hub at /neighborhoods.

Use these environment variables: IDX_SECRET_KEY (server only), SITE_ORIGIN and SITE_NAME. Never paste a secret key into a chat, and never put IDX_SECRET_KEY in browser code, a URL or a log. No key goes in any page: my pages call my own /api/idx route, made with createListingsRoute from @ruuster/idx/route, which adds my secret key on the server (on a site with no server, the widgets call the API with no key from my approved website address).

Fair housing: describe homes, places and amenities only. Never describe the people who live in an area or who a home or area suits, and never rank schools as a reason to buy. Do not copy listing remarks into the area copy, and write a marked placeholder for my agents' own section instead of inventing it.

When you are done, list the where rows you stored so I can check them.

On a site without React, such as PHP, Python, Ruby on Rails, Go or plain HTML, Build without React: HTML, CSS and JavaScript gives you the same markup, the stylesheet and the script for every widget.