Retrieve and correctly order listing photos using the RESO Web API Media resource with $expand

domain: reso.org · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Query Property with $expand=Media to return photo/document records inline with each listing, rather than issuing a separate Media call per listing
  2. Sort the returned Media array by the Order field to reproduce the listing agent's intended photo sequence
  3. Use MediaKey as the stable identifier for deduplication and change detection between syncs
  4. Filter on MediaType or MediaCategory to separate photos from virtual tours, floor plans, and documents
  5. Re-fetch Media on a schedule tied to ModificationTimestamp changes rather than assuming photos are static once pulled

Known gotchas

Related routes

Query listings via RESO Web API OData filters
reso.org · 6 steps · unrated
Parse and normalize a rental listing syndication feed (RETS or RESO)
reso-webapi · 6 steps · unrated
Query active MLS listings via RESO Web API using OData filters
reso-webapi · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans