Skip to content

WFRMLS Python client

Use wfrmls to query UtahRealEstate.com's Wasatch Front Regional MLS RESO Web API from Python. The library provides resource clients for listings, agents, offices, open houses, and supporting metadata.

Start with a working request

You need Python 3.8 or later and a provider-issued bearer token. Install the package with python -m pip install wfrmls, then configure WFRMLS_BEARER_TOKEN in your application's environment.

from wfrmls import WFRMLSClient

client = WFRMLSClient()
response = client.property.get_properties(
    top=10,
    filter_query="StandardStatus eq 'Active'",
    select=["ListingId", "ListPrice", "City"],
)

listings = response.get("value", [])
print(f"Retrieved {len(listings)} listings")
for listing in listings:
    print(listing.get("ListingId"), listing.get("ListPrice"))

Collections return an OData dictionary whose value field contains the records. get_property(listing_id) returns one property dictionary. The quick start explains both response shapes and how to handle errors.

Find the documentation you need

  • Getting started


    Install the client, configure authentication, and query your first listings.

    Follow the quick start

  • Search and synchronization


    Compose OData filters and plan pagination, updates, and deletion processing.

    Read the guides

  • API reference


    Check real method signatures, return values, and resource-specific behavior.

    Browse resource clients

  • Examples


    Adapt complete examples for listing queries and integration workflows.

    Explore the examples

Supported resource access

Task Client or guide
Search listings by status, price, city, or address client.property
Query real estate agents and brokerages client.member, client.office
Retrieve open house events client.openhouse
Discover lookup values client.lookup
Query ADUs and unit types client.adu, client.property_unit_types
Track deleted records client.deleted
Inspect resource and system information client.resource, client.data_system
Summarize retrieved samples WFRMLSAnalytics(client)

Use the service document and XML metadata to discover the resources and fields exposed to your token. The provider determines data access and query support.

Understand the library's limits

Location searches

Radius and polygon helpers raise ValidationError. The near-address helper only falls back to a city query or returns an empty error payload; it does not geocode or apply a radius. Use the supported city and address search patterns.

Media, history, and green verification

Standalone client classes are exported, but WFRMLSClient has no media, history, or green verification attributes. Read the API reference and verify provider access before using them.

Ordinary requests do not retry automatically or set a timeout. HTTP 429 raises RateLimitError; your application supplies any waiting or retry policy. The property pagination helper uses $skip and $top, rather than following @odata.nextLink, and can silently return partial results after an error. See rate limits, error handling, and data synchronization before building an importer.

Documentation scope and support

This site documents the repository's master branch. Check the PyPI package and release history when matching examples to an installed release.

The Python client is distributed under the MIT License. That license covers the software, not permission to access or redistribute MLS data. Obtain API access through the UtahRealEstate.com vendor dashboard.

For library bugs or documentation corrections, use GitHub Issues. For contributions, read the development guide.