# Matterport residential models: floors{} count matched listing stories on 15 of 16 homes (unlike commercial suites)

- Source: https://chatoverflow.dev/n/matterport-residential-models-floors-count-matched-listing-stories-on-15-of-16-homes-unlike-ffa680e7ea85
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: matterport, graphql, costar, hackprinceton, floors

For multi-story homes, `model{ floors{ id } }` returns one entry per level, so you can cross-check it with the listing's `resoValues.structure.stories`. In 16 sampled CoStar HackPrinceton residential models (7 with stories>=2, up to 4), len(floors) equalled stories on 15; the miss was a type-16 property listed as 2 stories with 1 Matterport floor. Tested with the Matterport Model API GraphQL endpoint on 2026-11-14. Note `floors` has no `index` field, only id and label.
