# Saige MLS API Documentation

> Everything a developer needs to put live BC MLS listings, photos, open houses and sold data on a site: authentication, resources, fields, filters, paging, errors and code.

Web version: https://www.realsaige.com/mls-api-docs
OpenAPI 3.1 file: https://www.realsaige.com/saige-mls-api-openapi.json
Get an API key: send the request form at https://www.realsaige.com/mls-api-docs. A person on the Saige team reviews each request and sends the key and service root after approval.

Placeholders used in these docs: {SAIGE_MLS_API_URL} is the service root you receive with your key, and SAIGE_MLS_API_KEY is the secret that holds your key. Keep the key in server-side secret storage and never put it in page code, logs or a chat.

The Saige MLS API delivers listing data from Greater Vancouver REALTORS, the Fraser Valley Real Estate Board, the Chilliwack and District Real Estate Board and the BC Northern Real Estate Board, through Saige's server, in the RESO Web API format. A request is an HTTPS GET to a resource such as Property with OData query options; the answer is JSON. These docs cover every part of an integration, and they are also published as plain text for AI assistants.

- Standard: RESO Web API (OData), with RESO Data Dictionary 2.0 field names.
- Authentication: a bearer token in the Authorization header, sent from server code.
- Resources: Property, Media, OpenHouse, Member, Office and Lookup.
- Access: send the request form; our team reviews it and sends your key and service root.
- Plain-text copy for AI assistants: https://www.realsaige.com/saige-mls-api-docs.md

## Get an API key

Keys are for licensed REALTORS who are members of a board Saige serves, their brokerages, and developers building for a named member. Send the request form on this page with your board, your builder and what you plan to build. A person on our team reviews it, confirms the membership and what the board allows, and sends your key and service root. Nothing is issued automatically, because each board licenses its data to its members.

## How it works

Your site's server code sends a request to Saige's server with your key. Saige answers with the board data in the RESO Web API format: the same field names, filters and paging rules any RESO feed uses. Your page shows the results, in your design, on your domain.

A request and its answer:

```
GET {SAIGE_MLS_API_URL}/Property?$filter=StandardStatus eq 'Active'&$top=1
Authorization: Bearer {SAIGE_MLS_API_KEY}

200 OK
{
  "@odata.context": "...",
  "value": [ { "ListingKey": "...", "ListPrice": 0, "City": "..." } ]
}
```

## Start here

New to the API? Read these three pages in order:

- Quickstart: https://www.realsaige.com/mls-api-docs/quickstart
- Authentication: https://www.realsaige.com/mls-api-docs/authentication
- Requests and responses: https://www.realsaige.com/mls-api-docs/requests-and-responses

## Board pages

Access, areas and build ideas for each board:

- Greater Vancouver REALTORS: https://www.realsaige.com/mls-api/greater-vancouver-realtors
- Fraser Valley Real Estate Board: https://www.realsaige.com/mls-api/fraser-valley-real-estate-board
- Chilliwack and District Real Estate Board: https://www.realsaige.com/mls-api/chilliwack-and-district-real-estate-board
- BC Northern Real Estate Board: https://www.realsaige.com/mls-api/bc-northern-real-estate-board

## Build guides by tool

Step-by-step guides with prompts for each builder: https://www.realsaige.com/lovable-mls-api, https://www.realsaige.com/base44-mls-api, https://www.realsaige.com/bolt-mls-api, https://www.realsaige.com/replit-mls-api, https://www.realsaige.com/v0-mls-api, https://www.realsaige.com/wordpress-mls-api, https://www.realsaige.com/supabase-mls-api, https://www.realsaige.com/cursor-mls-api and https://www.realsaige.com/claude-code-mls-api.

**API at a glance**

| Item | Value |
| --- | --- |
| Standard | RESO Web API, built on OData 4.0 and 4.01 |
| Field names | RESO Data Dictionary 2.0 |
| Transport | HTTPS only |
| Authentication | Bearer token in the Authorization header |
| Data format | JSON; metadata in XML at $metadata |
| Resources | Property, Media, OpenHouse, Member, Office, Lookup |
| Query options | $filter, $select, $orderby, $top, $skip, $count, $expand |
| Paging | Server-driven, with @odata.nextLink |
| Boards | Greater Vancouver, Fraser Valley, Chilliwack and District, BC Northern |
| Service root and key | Sent to you after the review |

_Standards from the RESO Web API Core 2.1.0 specification and the RESO Data Dictionary 2.0. The resources and fields your key can read are listed in your metadata document._

## Questions and answers

**Is there an MLS API for Vancouver and BC?**

Yes. The Saige MLS API delivers listing data from Greater Vancouver REALTORS, the Fraser Valley Real Estate Board, the Chilliwack and District Real Estate Board and the BC Northern Real Estate Board in the RESO Web API format.

**How do I get a Saige API key?**

Send the request form on this page. Our team reviews it, confirms your board membership, and sends your key and service root.

**Who can get a key?**

Licensed REALTORS who are members of a board Saige serves, their brokerages, and developers building for a named member.

**What standard does the API follow?**

The RESO Web API, which is built on OData, with field names from the RESO Data Dictionary 2.0.

**Can I use it with Lovable, Base44 or WordPress?**

Yes. Each builder has a guide with prompts, and the code examples page covers JavaScript, Python and PHP.

**Can ChatGPT or Claude write code from these docs?**

Yes. Give them the plain-text copy at https://www.realsaige.com/saige-mls-api-docs.md and describe the page you want.

**Does the API include sold prices?**

With VOW access, where your board allows it. Sold data is shown only to registered visitors.

**How much does the API cost?**

We do not publish a price. It depends on the board, the feeds and what you build, and our team covers it when we contact you.

**Where is the service root URL?**

It is sent to you with your key after the review. The docs write it as {SAIGE_MLS_API_URL}.

**Is this the same as CREA DDF?**

No. CREA's DDF is a national feed of listings brokerages choose to send. Saige delivers the boards' own data under their IDX and VOW rules.

Sources:

- RESO Web API (Real Estate Standards Organization (RESO)): https://www.reso.org/reso-web-api/
- Web API Core specification (RESO Transport Workgroup): https://transport.reso.org/proposals/web-api-core
- Data Dictionary 2.0: Property resource (Real Estate Standards Organization (RESO)): https://dd.reso.org/DD2.0/Property/
- OData Version 4.01, Part 2: URL Conventions (OASIS): https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part2-url-conventions.html
- RFC 6750: The OAuth 2.0 Authorization Framework, Bearer Token Usage (IETF): https://www.rfc-editor.org/rfc/rfc6750

# API reference

Every request is an HTTPS GET to {SAIGE_MLS_API_URL}, the service root you receive with your key.

Headers sent with every request:

- Authorization (required): Bearer followed by your key. Send it from server code only. Example: Bearer {SAIGE_MLS_API_KEY}
- Accept: application/json for data requests. $metadata answers in XML. Example: application/json

Query options:

- $filter (string): Keep only records that match. Operators: eq, ne, gt, ge, lt, le, and, or, not. Text values go in single quotes. Example: StandardStatus eq 'Active' and ListPrice le 1200000
- $select (string): Comma-separated fields to return. Ask only for what the page shows. Example: ListingKey,ListPrice,BedroomsTotal,City
- $orderby (string): Sort order: a field, then asc or desc. Add the key as a second field so pages stay stable. Example: ListPrice asc,ListingKey asc
- $top (integer): Largest number of records to return in this answer. Example: 24
- $skip (integer): Number of records to skip, for page 2 and on. Follow @odata.nextLink when the answer has one. Example: 24
- $count (boolean): When true, the answer carries @odata.count, the number of matching records. Example: true
- $expand (string): Include related records in the same answer, such as the photos of each listing. Example: Media($select=MediaURL,Order;$orderby=Order asc)

## GET /Property: List listings

Returns listings that match the query. Filter by status, area, price and rooms; ask only for the fields you show.

Query options: $filter, $select, $orderby, $top, $skip, $count, $expand

Request:

```
curl -G "$SAIGE_MLS_API_URL/Property" \
  -H "Authorization: Bearer $SAIGE_MLS_API_KEY" \
  -H "Accept: application/json" \
  --data-urlencode "\$filter=StandardStatus eq 'Active' and City eq 'Burnaby'" \
  --data-urlencode "\$select=ListingKey,ListPrice,BedroomsTotal,City" \
  --data-urlencode "\$orderby=OnMarketDate desc" \
  --data-urlencode "\$top=24"
```

Answer (200 OK):

```
{
  "@odata.context": "{SAIGE_MLS_API_URL}/$metadata#Property",
  "value": [
    {
      "ListingKey": "...",
      "ListPrice": 0,
      "BedroomsTotal": 0,
      "City": "Burnaby"
    }
  ],
  "@odata.nextLink": "..."
}
```

## GET /Property('{ListingKey}'): Get one listing

Returns one listing by its ListingKey. Use it for a listing detail page.

- Path parameter ListingKey: The ListingKey of the Property record, in single quotes inside the brackets.

Query options: $select, $expand

Request:

```
curl "$SAIGE_MLS_API_URL/Property('{ListingKey}')" \
  -H "Authorization: Bearer $SAIGE_MLS_API_KEY" \
  -H "Accept: application/json"
```

Answer (200 OK):

```
{
  "@odata.context": "{SAIGE_MLS_API_URL}/$metadata#Property/$entity",
  "ListingKey": "...",
  "ListingId": "...",
  "StandardStatus": "Active",
  "ListPrice": 0,
  "UnparsedAddress": "...",
  "ListOfficeName": "..."
}
```

## GET /Property('{ListingKey}')/Media: List photos of one listing

Returns the media records of one listing. Sort by Order so the first photo is the cover.

- Path parameter ListingKey: The ListingKey of the Property record, in single quotes inside the brackets.

Query options: $filter, $select, $orderby, $top

Request:

```
curl -G "$SAIGE_MLS_API_URL/Property('{ListingKey}')/Media" \
  -H "Authorization: Bearer $SAIGE_MLS_API_KEY" \
  -H "Accept: application/json" \
  --data-urlencode "\$select=MediaURL,Order,ShortDescription" \
  --data-urlencode "\$orderby=Order asc"
```

Answer (200 OK):

```
{
  "@odata.context": "...",
  "value": [
    {
      "MediaURL": "...",
      "Order": 1,
      "ShortDescription": "..."
    }
  ]
}
```

## GET /Media: List media

Returns media records across listings. Filter by ResourceRecordKey, or by ModificationTimestamp to fetch only changed photos.

Query options: $filter, $select, $orderby, $top, $skip, $count

Request:

```
curl -G "$SAIGE_MLS_API_URL/Media" \
  -H "Authorization: Bearer $SAIGE_MLS_API_KEY" \
  -H "Accept: application/json" \
  --data-urlencode "\$filter=ResourceRecordKey eq '{ListingKey}'" \
  --data-urlencode "\$orderby=Order asc"
```

Answer (200 OK):

```
{
  "@odata.context": "{SAIGE_MLS_API_URL}/$metadata#Media",
  "value": [
    {
      "MediaKey": "...",
      "ResourceRecordKey": "...",
      "MediaURL": "...",
      "Order": 1
    }
  ]
}
```

## GET /OpenHouse: List open houses

Returns open houses. Filter by OpenHouseDate for upcoming ones, or by ListingKey for one listing.

Query options: $filter, $select, $orderby, $top, $skip, $count

Request:

```
curl -G "$SAIGE_MLS_API_URL/OpenHouse" \
  -H "Authorization: Bearer $SAIGE_MLS_API_KEY" \
  -H "Accept: application/json" \
  --data-urlencode "\$filter=OpenHouseDate ge 2026-11-28" \
  --data-urlencode "\$orderby=OpenHouseDate asc,OpenHouseStartTime asc"
```

Answer (200 OK):

```
{
  "@odata.context": "{SAIGE_MLS_API_URL}/$metadata#OpenHouse",
  "value": [
    {
      "OpenHouseKey": "...",
      "ListingKey": "...",
      "OpenHouseDate": "2026-11-29",
      "OpenHouseStartTime": "2026-11-29T21:00:00Z",
      "OpenHouseEndTime": "2026-11-29T23:00:00Z"
    }
  ]
}
```

## GET /Member: List agents

Returns agent records. Whether your key can read them is agreed when access is set up.

Query options: $filter, $select, $orderby, $top, $skip, $count

Request:

```
curl -G "$SAIGE_MLS_API_URL/Member" \
  -H "Authorization: Bearer $SAIGE_MLS_API_KEY" \
  -H "Accept: application/json" \
  --data-urlencode "\$filter=OfficeKey eq '{OfficeKey}'" \
  --data-urlencode "\$select=MemberKey,MemberFullName,OfficeName"
```

Answer (200 OK):

```
{
  "@odata.context": "{SAIGE_MLS_API_URL}/$metadata#Member",
  "value": [
    {
      "MemberKey": "...",
      "MemberFullName": "...",
      "OfficeName": "..."
    }
  ]
}
```

## GET /Office: List offices

Returns brokerage and office records.

Query options: $filter, $select, $orderby, $top, $skip, $count

Request:

```
curl -G "$SAIGE_MLS_API_URL/Office" \
  -H "Authorization: Bearer $SAIGE_MLS_API_KEY" \
  -H "Accept: application/json" \
  --data-urlencode "\$select=OfficeKey,OfficeName,OfficeCity"
```

Answer (200 OK):

```
{
  "@odata.context": "{SAIGE_MLS_API_URL}/$metadata#Office",
  "value": [
    {
      "OfficeKey": "...",
      "OfficeName": "...",
      "OfficeCity": "..."
    }
  ]
}
```

## GET /Lookup: List allowed values

Returns the allowed values of list fields. Filter by LookupName, then copy a LookupValue into your filters exactly.

Query options: $filter, $select, $orderby, $top, $skip, $count

Request:

```
curl -G "$SAIGE_MLS_API_URL/Lookup" \
  -H "Authorization: Bearer $SAIGE_MLS_API_KEY" \
  -H "Accept: application/json" \
  --data-urlencode "\$filter=LookupName eq 'PropertyType'" \
  --data-urlencode "\$select=LookupName,LookupValue,StandardLookupValue"
```

Answer (200 OK):

```
{
  "@odata.context": "{SAIGE_MLS_API_URL}/$metadata#Lookup",
  "value": [
    {
      "LookupName": "PropertyType",
      "LookupValue": "...",
      "StandardLookupValue": "Residential"
    }
  ]
}
```

## GET /$metadata: Get the metadata document

Returns an XML document that lists every resource and field your key can read, with each field's type.

Request:

```
curl "$SAIGE_MLS_API_URL/\$metadata" \
  -H "Authorization: Bearer $SAIGE_MLS_API_KEY"
```

Answer (200 OK):

```
<?xml version="1.0" encoding="UTF-8"?>
<edmx:Edmx Version="4.0" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx">
  <edmx:DataServices>
    <Schema Namespace="...">
      <EntityType Name="Property">
        <Key><PropertyRef Name="ListingKey"/></Key>
        <Property Name="ListingKey" Type="Edm.String"/>
        ...
      </EntityType>
    </Schema>
  </edmx:DataServices>
</edmx:Edmx>
```

## The Property record

One record per listing: price, status, rooms, size, address, area, description, listing agent and brokerage. Key field: ListingKey.

| Field | Type | Description |
| --- | --- | --- |
| ListingKey | String | Unique key of the record. Use it to ask for one listing. |
| ListingId | String | Listing number shown to people, such as the MLS number. |
| StandardStatus | String List, Single | RESO standard status, such as Active, Pending or Closed. |
| MlsStatus | String List, Single | Status in the board's own words. |
| PropertyType | String List, Single | Kind of property, such as Residential. |
| PropertySubType | String List, Single | Finer kind of property, such as Apartment or Townhouse. |
| ListPrice | Number | Current asking price. |
| OriginalListPrice | Number | First asking price. |
| ClosePrice | Number | Sale price. VOW access only. |
| CloseDate | Date | Date of the sale. VOW access only. |
| ListingContractDate | Date | Date the listing contract was signed. |
| OnMarketDate | Date | Date the listing went on the market. |
| DaysOnMarket | Number | Days on the market for this listing. |
| CumulativeDaysOnMarket | Number | Days on the market across relistings. |
| BedroomsTotal | Number | Number of bedrooms. |
| BathroomsTotalInteger | Number | Number of bathrooms as a whole number. |
| BathroomsFull | Number | Full bathrooms. |
| BathroomsHalf | Number | Half bathrooms. |
| LivingArea | Number | Floor area. |
| LivingAreaUnits | String List, Single | Unit of LivingArea, such as square feet. |
| LotSizeArea | Number | Lot size. |
| LotSizeUnits | String List, Single | Unit of LotSizeArea. |
| LotSizeSquareFeet | Number | Lot size in square feet. |
| YearBuilt | Number | Year the building was built. |
| StoriesTotal | Number | Number of storeys. |
| ParkingTotal | Number | Parking spaces. |
| GarageSpaces | Number | Garage spaces. |
| ArchitecturalStyle | String List, Multi | Building styles. |
| Heating | String List, Multi | Heating types. |
| Cooling | String List, Multi | Cooling types. |
| Appliances | String List, Multi | Appliances included. |
| BuildingName | String | Name of the building. |
| UnparsedAddress | String | Full address in one line. |
| StreetNumber | String | Street number. |
| StreetName | String | Street name. |
| UnitNumber | String | Unit number. |
| City | String List, Single | City or town. |
| StateOrProvince | String List, Single | Province. |
| PostalCode | String | Postal code. |
| Country | String List, Single | Country. |
| Latitude | Number | Map position, north to south. |
| Longitude | Number | Map position, east to west. |
| MLSAreaMajor | String List, Single | Board area. |
| MLSAreaMinor | String List, Single | Board sub-area, the neighbourhood. |
| SubdivisionName | String | Subdivision or complex name. |
| PublicRemarks | String | Public description of the listing. |
| ListAgentFullName | String | Name of the listing agent. |
| ListAgentKey | String | Key of the listing agent's Member record. |
| ListAgentMlsId | String | MLS ID of the listing agent. |
| ListOfficeName | String | Name of the listing brokerage. Show it as your board requires. |
| ListOfficeKey | String | Key of the listing brokerage's Office record. |
| ListOfficeMlsId | String | MLS ID of the listing brokerage. |
| PhotosCount | Number | Number of photos. |
| PhotosChangeTimestamp | Timestamp | When the photos last changed. |
| VirtualTourURLUnbranded | String | Unbranded virtual tour link. |
| AssociationFee | Number | Strata or association fee. |
| AssociationFeeFrequency | String List, Single | How often the fee is paid. |
| TaxAnnualAmount | Number | Yearly property tax. |
| TaxYear | Number | Year of the tax amount. |
| WaterfrontYN | Boolean | Whether the property is on the water. |
| ModificationTimestamp | Timestamp | When the record last changed. Use it to fetch only changes. |

_Names and types from the RESO Data Dictionary 2.0._

## The Media record

Photos, floor plans and other files that belong to a record, such as a listing. Key field: MediaKey.

| Field | Type | Description |
| --- | --- | --- |
| MediaKey | String | Unique key of the media record. |
| ResourceRecordKey | String | Key of the record it belongs to, such as the ListingKey. |
| ResourceName | String List, Single | Resource it belongs to, such as Property. |
| MediaURL | String | Address of the photo or file. |
| Order | Number | Position in the listing's photo set. Sort by it. |
| MediaCategory | String List, Single | Kind of media, such as Photo or Floor Plan. |
| MediaType | String List, Single | File type. |
| ShortDescription | String | Short caption. Use it as alt text. |
| LongDescription | String | Long caption. |
| ImageWidth | Number | Width in pixels. |
| ImageHeight | Number | Height in pixels. |
| MediaModificationTimestamp | Timestamp | When the file itself last changed. |
| ModificationTimestamp | Timestamp | When the record last changed. |

_Names and types from the RESO Data Dictionary 2.0._

## The OpenHouse record

Scheduled open houses, each linked to a listing by ListingKey. Key field: OpenHouseKey.

| Field | Type | Description |
| --- | --- | --- |
| OpenHouseKey | String | Unique key of the open house. |
| ListingKey | String | Key of the listing it belongs to. |
| ListingId | String | Listing number of the listing it belongs to. |
| OpenHouseDate | Date | Date of the open house. |
| OpenHouseStartTime | Timestamp | Start time. |
| OpenHouseEndTime | Timestamp | End time. |
| OpenHouseType | String List, Single | Kind of open house, such as public or broker. |
| OpenHouseStatus | String List, Single | Status, such as active or cancelled. |
| OpenHouseRemarks | String | Notes for visitors. |
| AppointmentRequiredYN | Boolean | Whether an appointment is needed. |
| LivestreamOpenHouseURL | String | Link to a live stream. |
| ModificationTimestamp | Timestamp | When the record last changed. |

_Names and types from the RESO Data Dictionary 2.0._

## The Member record

Agents. Which fields may appear on a public page is agreed when access is set up. Key field: MemberKey.

| Field | Type | Description |
| --- | --- | --- |
| MemberKey | String | Unique key of the agent record. |
| MemberMlsId | String | Agent's ID in the MLS. |
| MemberFirstName | String | First name. |
| MemberLastName | String | Last name. |
| MemberFullName | String | Full name. |
| MemberEmail | String | Email address. |
| MemberDirectPhone | String | Direct phone. |
| MemberMobilePhone | String | Mobile phone. |
| MemberStatus | String List, Single | Status of the membership. |
| MemberType | String List, Single | Type of member. |
| MemberDesignation | String List, Multi | Designations. |
| OfficeKey | String | Key of the agent's office. |
| OfficeName | String | Name of the agent's office. |
| OfficeMlsId | String | MLS ID of the agent's office. |
| ModificationTimestamp | Timestamp | When the record last changed. |

_Names and types from the RESO Data Dictionary 2.0._

## The Office record

Brokerages and their offices. Key field: OfficeKey.

| Field | Type | Description |
| --- | --- | --- |
| OfficeKey | String | Unique key of the office record. |
| OfficeMlsId | String | Office's ID in the MLS. |
| OfficeName | String | Name of the office. |
| OfficePhone | String | Phone. |
| OfficeEmail | String | Email address. |
| OfficeAddress1 | String | Street address. |
| OfficeCity | String | City. |
| OfficeStateOrProvince | String List, Single | Province. |
| OfficePostalCode | String | Postal code. |
| OfficeStatus | String List, Single | Status of the office. |
| OfficeType | String List, Single | Type of office. |
| OfficeBrokerKey | String | Key of the managing broker's Member record. |
| ModificationTimestamp | Timestamp | When the record last changed. |

_Names and types from the RESO Data Dictionary 2.0._

## The Lookup record

The allowed values of each list field, such as every PropertyType value the feed uses. Key field: LookupKey.

| Field | Type | Description |
| --- | --- | --- |
| LookupKey | String | Unique key of the lookup value. |
| LookupName | String | Name of the list, such as PropertyType. |
| LookupValue | String | The value as the server uses it. Copy it into filters exactly. |
| StandardLookupValue | String | The matching RESO standard value. |
| LegacyODataValue | String | Older form of the value. |
| ModificationTimestamp | Timestamp | When the value last changed. |

_Names and types from the RESO Data Dictionary 2.0._

# Get started

Your first request, authentication, and the shape of requests and answers.

## Quickstart: Your First Saige MLS API Request

Web version: https://www.realsaige.com/mls-api-docs/quickstart

This quickstart takes you from an approved key to active listings on a page. The Saige MLS API follows the RESO Web API standard, so a request is a normal HTTPS GET to a resource such as Property, with filters written in the address, and the answer is JSON. Every request is sent from your site's server code with your key in the Authorization header.

- Step 1: get a key. Send the request form; our team reviews it and sends the key and service root.
- Step 2: store the key as a secret named SAIGE_MLS_API_KEY, on the server side.
- Step 3: send GET {SAIGE_MLS_API_URL}/Property with $filter, $select and $top.
- Step 4: read the value array in the JSON answer.
- Step 5: show the listings, with the brokerage credit and notice your board requires.

### Before you start

You need an approved key. Keys are for licensed REALTORS who are members of a board Saige serves (Greater Vancouver REALTORS, the Fraser Valley Real Estate Board, the Chilliwack and District Real Estate Board or the BC Northern Real Estate Board), their brokerages, and developers building for a named member. Send the request form on this page. The service root URL and your key are sent to you after our team reviews your request and confirms your board membership. Until then, the docs write the root as {SAIGE_MLS_API_URL}.

You also need somewhere to run server code: a server function in Lovable, a backend function in Base44, PHP in WordPress, an Edge Function in Supabase, or your own Node, Python or PHP server. The key must never be sent to the visitor's browser.

### Step 1: store the key

Save two secrets in your builder's secret storage: SAIGE_MLS_API_KEY for the key and SAIGE_MLS_API_URL for the service root. Each builder guide shows where that storage is, for example https://www.realsaige.com/lovable-mls-api/store-api-key for Lovable. The page https://www.realsaige.com/mls-api-docs/authentication covers how the key is sent.

### Step 2: ask for active listings

Send a GET request to the Property resource. This one asks for ten active listings, newest first, with only the fields a search card needs.

Request:

```
GET {SAIGE_MLS_API_URL}/Property
  ?$filter=StandardStatus eq 'Active'
  &$select=ListingKey,ListPrice,BedroomsTotal,BathroomsTotalInteger,LivingArea,UnparsedAddress,City,ListOfficeName
  &$orderby=OnMarketDate desc
  &$top=10
Authorization: Bearer {SAIGE_MLS_API_KEY}
Accept: application/json
```

curl:

```
curl -G "$SAIGE_MLS_API_URL/Property" \
  -H "Authorization: Bearer $SAIGE_MLS_API_KEY" \
  -H "Accept: application/json" \
  --data-urlencode "\$filter=StandardStatus eq 'Active'" \
  --data-urlencode "\$select=ListingKey,ListPrice,BedroomsTotal,City" \
  --data-urlencode "\$orderby=OnMarketDate desc" \
  --data-urlencode "\$top=10"
```

### Step 3: read the answer

The answer is a JSON object. The listings are in the value array, one object per listing, with only the fields you asked for in $select. When more results exist than one page holds, the answer also carries @odata.nextLink, the address of the next page. The page https://www.realsaige.com/mls-api-docs/pagination explains how to follow it.

Answer (shape):

```
{
  "@odata.context": "{SAIGE_MLS_API_URL}/$metadata#Property",
  "value": [
    {
      "ListingKey": "...",
      "ListPrice": 0,
      "BedroomsTotal": 0,
      "City": "..."
    }
  ],
  "@odata.nextLink": "..."
}
```

### Step 4: show the listings

Pass the value array from your server code to the page, and render one card per listing. Link each card to a listing page at an address built from ListingKey, such as /listing/{ListingKey}. Show the listing brokerage (ListOfficeName) and the notice your board requires on every card and listing page.

The builder guides include a prompt that builds this search page for you, for example https://www.realsaige.com/lovable-mls-api/listing-search-page.

### Next steps

Once the first request works, these pages cover the rest of a listing site:

- Photos for each listing: https://www.realsaige.com/mls-api-docs/media-resource
- Every field you can ask for: https://www.realsaige.com/mls-api-docs/property-resource
- Filters for a search page: https://www.realsaige.com/mls-api-docs/filter-operators
- Keeping a saved copy up to date: https://www.realsaige.com/mls-api-docs/sync-listings
- Sold prices for registered visitors: https://www.realsaige.com/mls-api-docs/sold-data-vow
- Ready-to-run code in JavaScript, Python and PHP: https://www.realsaige.com/mls-api-docs/code-examples

### Questions and answers

**How do I get a Saige MLS API key?**

Send the request form on this page. A person on our team reviews it, confirms your board membership or the member you build for, and sends the key and service root once access is set up.

**Can I test the API before my key is approved?**

The docs, field lists and builder prompts are free to read, so you can build the pages first. Requests need an approved key.

**Is the request a GET or a POST?**

Reading listings is a GET request. The filters, field list and sort order go in the query string.

**What format is the answer in?**

JSON. The listings are in the value array, and @odata.nextLink appears when there is another page.

**Can I call the API from the visitor's browser?**

No. Call it from server code, so the key stays secret. Every builder guide shows the server code for that builder.

**Do I need to know OData?**

A little. The query options are $filter, $select, $orderby, $top, $skip, $count and $expand, and the reference pages show each one with examples.

**Which boards does the key work for?**

The boards your access is approved for. Saige serves Greater Vancouver REALTORS, the Fraser Valley Real Estate Board, the Chilliwack and District Real Estate Board and the BC Northern Real Estate Board.

**Can an AI builder write this code for me?**

Yes. Paste the build prompt from your builder's guide, or give the assistant the plain-text docs at https://www.realsaige.com/saige-mls-api-docs.md.

Sources:

- Web API Core specification (RESO Transport Workgroup): https://transport.reso.org/proposals/web-api-core
- OData Version 4.01, Part 2: URL Conventions (OASIS): https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part2-url-conventions.html
- RFC 6750: The OAuth 2.0 Authorization Framework, Bearer Token Usage (IETF): https://www.rfc-editor.org/rfc/rfc6750

## Authentication: Sending Your Saige MLS API Key

Web version: https://www.realsaige.com/mls-api-docs/authentication

Every request to the Saige MLS API carries your key in the Authorization header as a bearer token. The RESO Web API Core specification bases authentication on OAuth 2, and bearer tokens are one of the two methods it lists. The key belongs to an approved member, so it lives in server-side secret storage and is never written into page code.

- Send the header Authorization: Bearer {SAIGE_MLS_API_KEY} with every request.
- Requests go over HTTPS only.
- Store the key in your builder's secret storage, read it in server code, and never log it.
- 401 means the key is missing or not accepted. 403 means the key is valid but not allowed to read what you asked for.

### The Authorization header

A bearer token is sent in the Authorization header, with the word Bearer, a space, and the token. The IETF's bearer token standard, RFC 6750, defines this form. Send it on every request, including the requests that follow @odata.nextLink.

Header:

```
Authorization: Bearer {SAIGE_MLS_API_KEY}
```

### Where the key lives

The key goes into the secret storage of your builder or host, under the name SAIGE_MLS_API_KEY. Server code reads it from there when it builds a request. The page https://www.realsaige.com/mls-api/keep-your-api-key-secret shows where that storage is in Lovable, Base44, Bolt, Replit, v0, WordPress, Supabase and the rest, and why a key in page code can be read by anyone who opens the page.

- Never put the key in page code, a public file or a Git repository.
- Never print the key in logs or error messages.
- Use one key per site, so one site can be switched off without touching the others.
- If a key may have leaked, tell our team and it is replaced.

### HTTPS only

The RESO Web API Core specification requires HTTPS with TLS 1.2 or newer. Send every request to the https address you are given. A request over plain http is refused.

### When authentication fails

RESO separates the two failures. A 401 means authentication failed: the header is missing, the word Bearer is missing, or the key is not accepted. A 403 means authorization failed: the key is valid, but it is not allowed to read that resource or that data, for example sold data on a key approved for active listings only.

- 401: check the header name, the word Bearer and the space, and that the secret holds the full key.
- 403: check that you asked for a resource your access includes. Ask our team if your site now needs more.
- Never retry a 401 in a loop. Fix the key first.

**Authentication answers at a glance**

| Status | Meaning | What to do |
| --- | --- | --- |
| 200 | The key was accepted | Read the answer |
| 401 | The key is missing or not accepted | Check the Authorization header and the secret |
| 403 | The key is not allowed to read this | Check your access with our team |

_Status meanings from the RESO Web API Core specification._

### Questions and answers

**What kind of key does the Saige MLS API use?**

A bearer token, sent in the Authorization header. The RESO Web API is based on OAuth 2, and bearer tokens are one of its methods.

**Can I put the key in the query string?**

No. Send it in the Authorization header, so it does not end up in server logs and browser history.

**Does the key expire?**

The terms of your key are set when access is set up. Our team tells you how replacement works for your account.

**Can one key serve several websites?**

Ask our team. Access is agreed per site and per board, so each site is set up in the review.

**Why do I get a 401 from Lovable but not from curl?**

Check three things in Lovable: the secret exists, its name is exactly SAIGE_MLS_API_KEY, and the request runs in a server function, where secrets can be read.

**What does a 403 on sold data mean?**

Your key is valid but your access does not include VOW data. Ask our team whether your board allows it for your site.

**Is HTTPS required?**

Yes. The RESO Web API Core specification requires HTTPS with TLS 1.2 or newer.

**What should I do if my key leaks?**

Tell our team right away so the key is replaced, then update the secret on your site.

Sources:

- RFC 6750: The OAuth 2.0 Authorization Framework, Bearer Token Usage (IETF): https://www.rfc-editor.org/rfc/rfc6750
- Web API Core specification (RESO Transport Workgroup): https://transport.reso.org/proposals/web-api-core
- Secrets Management Cheat Sheet (OWASP Foundation): https://cheatsheetseries.owasp.org/cheatsheets/Secrets_Management_Cheat_Sheet.html

## Requests and Responses: Format, Headers and JSON

Web version: https://www.realsaige.com/mls-api-docs/requests-and-responses

Every Saige MLS API request has the same parts: the service root, a resource name such as Property, optional query options, and your Authorization header. Every answer is JSON in the OData format the RESO Web API uses. Once you know this shape, every other page in these docs is a variation on it.

- A request is {SAIGE_MLS_API_URL}/{Resource}?{query options}.
- Resources follow the RESO Data Dictionary: Property, Media, OpenHouse, Member, Office, Lookup.
- Answers are JSON with a value array; one record is a single JSON object.
- Dates are ISO 8601: YYYY-MM-DD, and timestamps with a time zone offset or Z.
- The metadata document at {SAIGE_MLS_API_URL}/$metadata lists what your key can read.

### Parts of a request

The service root is the base address you receive with your key. A resource name follows it, then the query options. One record is read by putting its key in brackets after the resource name.

Many records:

```
GET {SAIGE_MLS_API_URL}/Property?$filter=City eq 'Burnaby'&$top=24
```

One record by key:

```
GET {SAIGE_MLS_API_URL}/Property('{ListingKey}')
```

Records linked to one listing:

```
GET {SAIGE_MLS_API_URL}/Property('{ListingKey}')/Media
```

### Headers

Send these headers with each request:

- Authorization: Bearer {SAIGE_MLS_API_KEY}
- Accept: application/json
- Answers include an OData-Version header, as the RESO Web API Core specification requires of servers.

### The JSON answer

A request for many records answers with an object whose value array holds the records. @odata.context names what was returned. @odata.count appears when you ask for $count=true, and @odata.nextLink appears when there is another page. A request for one record answers with that record as one object.

A field you did not ask for in $select is left out. A field the listing does not have may be missing or null, so your page should handle both.

### Dates and timestamps

Date fields such as CloseDate and OnMarketDate use ISO 8601 dates, YYYY-MM-DD. Timestamp fields such as ModificationTimestamp use ISO 8601 date and time with a UTC offset or Z, for example 2026-11-28T18:30:00Z. In a filter, a date is written without quotes: OnMarketDate ge 2026-11-01.

### The metadata document

Every RESO Web API server publishes a metadata document at $metadata under the service root. It lists the resources and fields the server offers, their types, and how resources link to each other. Read it once when you build, to see exactly which fields your key can use.

Metadata:

```
GET {SAIGE_MLS_API_URL}/$metadata
Authorization: Bearer {SAIGE_MLS_API_KEY}
```

**Resources in the RESO Data Dictionary**

| Resource | What it holds | Docs page |
| --- | --- | --- |
| Property | Listings: price, address, rooms, size, status, dates | https://www.realsaige.com/mls-api-docs/property-resource |
| Media | Photos and other media for each listing | https://www.realsaige.com/mls-api-docs/media-resource |
| OpenHouse | Open house dates and times | https://www.realsaige.com/mls-api-docs/openhouse-resource |
| Member | Agents | https://www.realsaige.com/mls-api-docs/member-and-office |
| Office | Brokerages and offices | https://www.realsaige.com/mls-api-docs/member-and-office |
| Lookup | The allowed values of lookup fields | https://www.realsaige.com/mls-api-docs/lookups-and-metadata |

_Resource names from the RESO Data Dictionary 2.0. The resources your key can read are listed in your metadata document and confirmed when access is set up._

### Questions and answers

**What is the service root?**

The base address every request starts with. It is sent to you with your key after approval.

**Are resource names case sensitive?**

Write them exactly as the metadata document shows them, such as Property and OpenHouse.

**Why is a field missing from a record?**

Either it was not in your $select, or the listing has no value for it. Handle missing and null values on the page.

**How do I read one listing?**

Put its ListingKey in brackets after Property: Property('{ListingKey}').

**Which time zone are timestamps in?**

Each timestamp carries its offset or Z for UTC. Convert to Pacific time when you show it.

**Do I need the metadata document?**

It is the exact list of what your key can read. Read it when you build or when a field is not found.

**Can I get XML instead of JSON?**

Data answers are JSON. The metadata document is XML, as the RESO Web API Core specification requires.

**Which OData version is used?**

The RESO Web API Core specification requires OData 4.0 or 4.01, and the server names its version in the OData-Version header.

Sources:

- Web API Core specification (RESO Transport Workgroup): https://transport.reso.org/proposals/web-api-core
- OData JSON Format Version 4.01 (OASIS): https://docs.oasis-open.org/odata/odata-json-format/v4.01/odata-json-format-v4.01.html
- OData Version 4.01, Part 2: URL Conventions (OASIS): https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part2-url-conventions.html

# Reference

Resources, fields, query options, filters, paging and errors.

## Property Resource: Listing Fields Reference

Web version: https://www.realsaige.com/mls-api-docs/property-resource

Property is the resource that holds listings. Its fields are the RESO Data Dictionary 2.0 standard names, so the same name means the same thing on every RESO feed. This page lists the fields a listing site uses, grouped by what they do. The board decides which fields its feed fills in, and your metadata document shows the exact list for your key.

- ListingKey is the unique record key; ListingId is the listing number people see.
- StandardStatus holds the status, such as Active or Closed.
- Ask only for the fields a page shows, with $select.
- Any field you can show is a field you can filter and sort by, if the server allows it.

### Keys and status

ListingKey is the unique key of the record, and the one to use in links and in Property('{ListingKey}'). ListingId is the listing number shown to people. StandardStatus is the RESO standard status, and MlsStatus is the status in the board's own words.

### Price and dates

ListPrice is the asking price and OriginalListPrice the first asking price. ClosePrice and CloseDate are the sale price and date, which come with VOW access. ListingContractDate, OnMarketDate, DaysOnMarket and CumulativeDaysOnMarket describe when and how long a listing has been on the market. PriceChangeTimestamp and StatusChangeTimestamp record the last price and status changes.

### Rooms, size and building

BedroomsTotal, BathroomsTotalInteger, BathroomsFull and BathroomsHalf count the rooms. LivingArea with LivingAreaUnits gives the floor area. LotSizeArea with LotSizeUnits, or LotSizeSquareFeet, gives the lot. YearBuilt, StoriesTotal, ParkingTotal, GarageSpaces, ArchitecturalStyle, Heating, Cooling and Appliances describe the building. BuildingName names a building, which helps a condo tower page.

### Address and area

UnparsedAddress holds the full address. StreetNumber, StreetName, UnitNumber, City, StateOrProvince, PostalCode and Country hold its parts. Latitude and Longitude place the listing on a map. MLSAreaMajor and MLSAreaMinor are the board's area and sub-area names, the fields a neighbourhood page filters on, and SubdivisionName names a subdivision where the board uses one.

### Description, agent and brokerage

PublicRemarks is the public description. ListAgentFullName, ListAgentKey and ListAgentMlsId identify the listing agent, and ListOfficeName, ListOfficeKey and ListOfficeMlsId identify the listing brokerage. Your board's rules decide how the brokerage must be credited on your pages.

### Photos, tours and changes

PhotosCount and PhotosChangeTimestamp tell you how many photos a listing has and when they last changed; the photos themselves are in the Media resource. VirtualTourURLUnbranded links an unbranded tour. ModificationTimestamp records when the record last changed, which is the field to use to keep a saved copy up to date.

### Fees, taxes and features

AssociationFee and AssociationFeeFrequency give strata or association fees. TaxAnnualAmount and TaxYear give property tax. View, ViewYN, WaterfrontYN and PetsAllowed describe features a search page can filter on.

**Property fields a listing site uses**

| Field | What it holds |
| --- | --- |
| ListingKey | Unique key of the record |
| ListingId | Listing number shown to people |
| StandardStatus | RESO standard status, such as Active or Closed |
| MlsStatus | Status in the board's own words |
| PropertyType, PropertySubType | Kind of property |
| ListPrice, OriginalListPrice | Asking price, first asking price |
| ClosePrice, CloseDate | Sale price and date (VOW) |
| ListingContractDate, OnMarketDate | Listing dates |
| DaysOnMarket, CumulativeDaysOnMarket | Time on the market |
| BedroomsTotal | Bedrooms |
| BathroomsTotalInteger, BathroomsFull, BathroomsHalf | Bathrooms |
| LivingArea, LivingAreaUnits | Floor area and its unit |
| LotSizeArea, LotSizeUnits, LotSizeSquareFeet | Lot size |
| YearBuilt, StoriesTotal | Year built, storeys |
| ParkingTotal, GarageSpaces | Parking |
| ArchitecturalStyle, Heating, Cooling, Appliances | Building details |
| BuildingName | Name of the building |
| UnparsedAddress | Full address |
| StreetNumber, StreetName, UnitNumber | Address parts |
| City, StateOrProvince, PostalCode, Country | Address parts |
| Latitude, Longitude | Map position |
| MLSAreaMajor, MLSAreaMinor, SubdivisionName | Board area, sub-area, subdivision |
| PublicRemarks | Public description |
| ListAgentFullName, ListAgentKey, ListAgentMlsId | Listing agent |
| ListOfficeName, ListOfficeKey, ListOfficeMlsId | Listing brokerage |
| PhotosCount, PhotosChangeTimestamp | Photo count and last photo change |
| VirtualTourURLUnbranded | Unbranded virtual tour link |
| AssociationFee, AssociationFeeFrequency | Strata or association fee |
| TaxAnnualAmount, TaxYear | Property tax |
| View, ViewYN, WaterfrontYN, PetsAllowed | Features |
| OriginalEntryTimestamp | When the record was first entered |
| PriceChangeTimestamp, StatusChangeTimestamp | Last price and status change |
| ModificationTimestamp | When the record last changed |

_Field names from the RESO Data Dictionary 2.0 Property resource, checked November 28, 2026. Which fields a feed fills in is set by the board; your metadata document lists the fields your key can read._

### Questions and answers

**What is the difference between ListingKey and ListingId?**

ListingKey is the unique record key your code uses. ListingId is the listing number people see on the listing page.

**Which field holds the neighbourhood?**

MLSAreaMinor holds the board's sub-area name, and MLSAreaMajor the larger area. Check the exact names in the feed before you filter.

**Is every field filled for every listing?**

No. A field is filled when the listing has the value and the board includes it. Hide empty lines on the page.

**Where is the sale price?**

ClosePrice, with CloseDate, for listings with StandardStatus Closed. It comes with VOW access, behind a visitor sign-up.

**Where are the photos?**

In the Media resource. PhotosCount tells you how many there are. See the Media page in these docs.

**Can I filter by building name?**

Where the board fills in BuildingName. Otherwise filter by address fields.

**How do I get only houses or only condos?**

Filter on PropertyType or PropertySubType. Read the allowed values from the Lookup resource or the metadata document first.

**Which field tells me a listing changed?**

ModificationTimestamp. Ask for records changed after your last update to keep your copy current.

Sources:

- Data Dictionary 2.0: Property resource (Real Estate Standards Organization (RESO)): https://dd.reso.org/DD2.0/Property/
- Data Dictionary 2.0: MLSAreaMinor field (Real Estate Standards Organization (RESO)): https://dd.reso.org/DD2.0/Property/MLSAreaMinor/
- Web API Core specification (RESO Transport Workgroup): https://transport.reso.org/proposals/web-api-core

## Media Resource: Listing Photos and Tours

Web version: https://www.realsaige.com/mls-api-docs/media-resource

Listing photos live in the Media resource, one record per photo, linked to its listing. Each record carries the photo's address (MediaURL), its position (Order), its type and its caption. Ask for the media of one listing, or include it with the listing using $expand where the server offers it.

- MediaURL is the photo's address; Order is its position, starting with the first photo.
- ResourceRecordKey links a media record to its listing's key.
- Read one listing's photos with Property('{ListingKey}')/Media.
- Show the first photo on search cards and the full set on the listing page.

### Photos for one listing

Follow the link from a listing to its media. The RESO Web API Core tests use this form, and it returns only that listing's media. Sort by Order so the photos come in the listing's own order.

Request:

```
GET {SAIGE_MLS_API_URL}/Property('{ListingKey}')/Media
  ?$select=MediaURL,Order,ShortDescription,ImageWidth,ImageHeight
  &$orderby=Order asc
```

### Photos with the listings

Where the server offers it, $expand includes each listing's media in the same answer, which saves a request per listing on a search page. Keep the expanded fields short with a nested $select.

Request with $expand:

```
GET {SAIGE_MLS_API_URL}/Property
  ?$filter=StandardStatus eq 'Active'
  &$select=ListingKey,ListPrice,City
  &$expand=Media($select=MediaURL,Order;$orderby=Order asc)
  &$top=12
```

### Showing photos well

A few habits make photo pages fast and accessible:

- Use the photo with Order 1 on a search card, or the one marked PreferredPhotoYN where the feed sets it.
- Set width and height on each image from ImageWidth and ImageHeight, so the page does not jump while photos load.
- Use ShortDescription as the photo's alt text when it is filled in, and the address otherwise.
- When PhotosChangeTimestamp on the listing changes, read its media again.

**Media fields**

| Field | What it holds |
| --- | --- |
| MediaKey | Unique key of the media record |
| ResourceRecordKey | Key of the record it belongs to, such as the ListingKey |
| ResourceName | Which resource it belongs to, such as Property |
| MediaURL | Address of the photo or file |
| Order | Position in the listing's photo set |
| MediaCategory, MediaType | Kind of media and file type |
| ShortDescription, LongDescription | Captions |
| ImageWidth, ImageHeight | Size in pixels |
| PreferredPhotoYN | Marks the main photo |
| ModificationTimestamp | When the record last changed |

_Field names from the RESO Data Dictionary 2.0 Media resource. Which fields the feed fills in is set by the board._

### Questions and answers

**How do I get the first photo for a search card?**

Ask for the listing's media sorted by Order and take the first, or use the photo marked PreferredPhotoYN.

**Can I store the photos on my own server?**

Board rules decide how photos may be copied and shown. Our team covers this during the review.

**Why are some photos missing?**

The listing may have fewer photos, or they changed. Compare PhotosCount and PhotosChangeTimestamp with your copy.

**Is $expand always available for Media?**

The RESO Web API Core specification allows expanding resources but requires only some to be top level. Check your metadata document.

**Which field links a photo to its listing?**

ResourceRecordKey holds the listing's key, and ResourceName says the record is a Property.

**Are there videos and floor plans?**

MediaCategory and MediaType tell a photo from other media where the board includes them.

**How should I write photo alt text?**

Use ShortDescription when it is filled in. Otherwise describe the photo with the address and room, such as front of 123 Main Street.

**How do I keep photos current?**

When a listing's PhotosChangeTimestamp is newer than your copy, read its media again.

Sources:

- Data Dictionary 2.0: Media resource (Real Estate Standards Organization (RESO)): https://dd.reso.org/DD2.0/Media/
- Web API Core specification (RESO Transport Workgroup): https://transport.reso.org/proposals/web-api-core
- OData Version 4.01, Part 2: URL Conventions (OASIS): https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part2-url-conventions.html

## OpenHouse Resource: Open House Dates and Times

Web version: https://www.realsaige.com/mls-api-docs/openhouse-resource

Open houses live in the OpenHouse resource, one record per open house, linked to its listing by ListingKey. Each record holds the date, start and end times, the type, the status and any remarks. A this-weekend page asks for open houses from today forward and joins them to their listings.

- OpenHouseDate, OpenHouseStartTime and OpenHouseEndTime give the when.
- ListingKey links the open house to its listing.
- Filter by date to show upcoming open houses only.
- Show times in Pacific time.

### Upcoming open houses

Ask for open houses from today forward, sorted by date and start time. Then read the listings by ListingKey to show price, address and photo.

Request:

```
GET {SAIGE_MLS_API_URL}/OpenHouse
  ?$filter=OpenHouseDate ge 2026-11-28
  &$select=ListingKey,OpenHouseDate,OpenHouseStartTime,OpenHouseEndTime,OpenHouseType,OpenHouseRemarks
  &$orderby=OpenHouseDate asc,OpenHouseStartTime asc
```

### Open houses for one listing

Filter by the listing's key to show its open houses on the listing page.

Request:

```
GET {SAIGE_MLS_API_URL}/OpenHouse?$filter=ListingKey eq '{ListingKey}'&$orderby=OpenHouseDate asc
```

### Open house pages that work

An open house page is a good reason for a visitor to come back each week:

- A this-weekend page for one area, refreshed from the feed.
- An open house section on each listing page.
- A sign-up for an email when a new open house is added in an area.
- Hide open houses whose OpenHouseStatus shows them cancelled, where the feed sets it.

**OpenHouse fields**

| Field | What it holds |
| --- | --- |
| OpenHouseKey | Unique key of the open house |
| ListingKey, ListingId | The listing it belongs to |
| OpenHouseDate | Date |
| OpenHouseStartTime, OpenHouseEndTime | Start and end time |
| OpenHouseType | Kind of open house |
| OpenHouseStatus | Status, such as active or cancelled |
| OpenHouseRemarks | Notes for visitors |
| AppointmentRequiredYN | Whether an appointment is needed |
| LivestreamOpenHouseURL | Link to a live stream |
| ModificationTimestamp | When the record last changed |

_Field names from the RESO Data Dictionary 2.0 OpenHouse resource. Whether the feed carries open houses for your use is confirmed by our team._

### Questions and answers

**How do I show this weekend's open houses?**

Filter OpenHouseDate between Saturday's and Sunday's dates, sort by date and start time, then read the listings by ListingKey.

**Which time zone are open house times in?**

Show them in Pacific time. Check the field types in your metadata document and convert where needed.

**Can I filter open houses by area?**

Read the listings in the area first, then their open houses by ListingKey, or use $expand where the server links them.

**What does OpenHouseType hold?**

The kind of open house. Read its allowed values from the Lookup resource.

**How do I hide cancelled open houses?**

Filter or hide records whose OpenHouseStatus shows them cancelled, where the feed sets the field.

**Are virtual open houses included?**

Where the board fills in LivestreamOpenHouseURL or the type, yes.

**Does every board feed include open houses?**

The board decides. Our team confirms it for your board when we contact you.

**How often should I refresh open houses?**

Your board's rules set how current your copy must be. Ask for records changed since your last update.

Sources:

- Data Dictionary 2.0: OpenHouse resource (Real Estate Standards Organization (RESO)): https://dd.reso.org/DD2.0/OpenHouse/
- Web API Core specification (RESO Transport Workgroup): https://transport.reso.org/proposals/web-api-core

## Member and Office Resources: Agents and Brokerages

Web version: https://www.realsaige.com/mls-api-docs/member-and-office

Member holds agent records and Office holds brokerage records. A listing points to them through ListAgentKey and ListOfficeKey. A brokerage site uses them for a team page that shows each REALTOR's listings, and every listing site uses ListOfficeName to credit the listing brokerage as the board requires.

- Member is agents; Office is brokerages.
- ListAgentKey and ListOfficeKey on a listing match MemberKey and OfficeKey.
- A team page asks for listings where ListOfficeKey is your office's key.
- Which agent and office details you may show is a board rule.

### Your brokerage's listings

A brokerage site shows its own listings first. Filter Property by your office's key or MLS ID.

Request:

```
GET {SAIGE_MLS_API_URL}/Property
  ?$filter=StandardStatus eq 'Active' and ListOfficeKey eq '{OfficeKey}'
  &$orderby=ListPrice desc
```

### One agent's listings

An agent page shows the agent's own listings by filtering on ListAgentKey.

Request:

```
GET {SAIGE_MLS_API_URL}/Property?$filter=StandardStatus eq 'Active' and ListAgentKey eq '{MemberKey}'
```

### Agent and office records

The RESO Web API Core specification requires Member and Office to be available at the top level of a certified server. Whether your key can read them, and which of their fields may appear on a public page, is agreed when access is set up.

**Member and Office fields**

| Resource | Field | What it holds |
| --- | --- | --- |
| Member | MemberKey, MemberMlsId | Keys of the agent |
| Member | MemberFirstName, MemberLastName, MemberFullName | Name |
| Member | MemberEmail, MemberDirectPhone, MemberMobilePhone | Contact |
| Member | MemberStatus, MemberType, MemberDesignation | Status, type, designations |
| Member | OfficeKey, OfficeName, OfficeMlsId | The agent's office |
| Office | OfficeKey, OfficeMlsId, OfficeName | Keys and name of the office |
| Office | OfficePhone, OfficeEmail | Contact |
| Office | OfficeAddress1, OfficeCity, OfficeStateOrProvince, OfficePostalCode | Address |
| Office | OfficeStatus, OfficeType, OfficeBrokerKey | Status, type, managing broker |
| Both | ModificationTimestamp | When the record last changed |

_Field names from the RESO Data Dictionary 2.0 Member and Office resources._

### Questions and answers

**How do I show only my brokerage's listings?**

Filter Property where ListOfficeKey equals your office's key. Our team can tell you your key.

**Can I build a team page?**

Yes. Show each REALTOR with their own listings, filtered by ListAgentKey.

**Can I show other agents' phone numbers?**

That is a board rule. Our team goes through it with you during the review.

**Which field credits the listing brokerage?**

ListOfficeName on the listing. Show it as your board requires.

**Is the Member resource always included?**

It is agreed when access is set up. Your metadata document lists what your key can read.

**What is MemberMlsId?**

The agent's ID in the MLS. MemberKey is the record's unique key.

**Can I list co-listing agents?**

The RESO Data Dictionary has co-list agent fields. Check whether your feed fills them in.

**Do Member records change?**

Yes. Use ModificationTimestamp to read the records changed since your last update.

Sources:

- Data Dictionary 2.0: Member resource (Real Estate Standards Organization (RESO)): https://dd.reso.org/DD2.0/Member/
- Data Dictionary 2.0: Office resource (Real Estate Standards Organization (RESO)): https://dd.reso.org/DD2.0/Office/
- Web API Core specification (RESO Transport Workgroup): https://transport.reso.org/proposals/web-api-core

## Lookups and Metadata: Allowed Values and Field Types

Web version: https://www.realsaige.com/mls-api-docs/lookups-and-metadata

Two places tell you exactly what the server holds. The metadata document lists every resource and field your key can read, with its type. The Lookup resource lists the allowed values of lookup fields, such as the values of StandardStatus or PropertyType. Read both before you write filters, so every filter uses a value the feed has.

- Metadata: GET {SAIGE_MLS_API_URL}/$metadata, in XML.
- Lookup values: GET {SAIGE_MLS_API_URL}/Lookup, filtered by LookupName.
- Use LookupValue in filters; StandardLookupValue maps it to the RESO standard value.
- Read them when you build, and again when a filter returns nothing.

### The metadata document

Every RESO Web API server publishes XML metadata at $metadata under the service root. It names each resource, each field and its type, and how resources link to each other, such as Property to Media. AI coding assistants can read it too: paste it into the chat when you ask for code.

Request:

```
GET {SAIGE_MLS_API_URL}/$metadata
```

### Allowed values from Lookup

The Lookup resource is described by RESO as metadata about the lookups available on a server. Ask for one lookup by name to get its values.

Request:

```
GET {SAIGE_MLS_API_URL}/Lookup
  ?$filter=LookupName eq 'PropertyType'
  &$select=LookupName,LookupValue,StandardLookupValue
```

### Using lookup values in filters

Write a lookup value in quotes in a filter, exactly as the Lookup resource gives it: PropertyType eq 'Residential'. A value with a different spelling or case matches nothing. Fields that hold several values at once, such as Appliances, use any() in a filter; the page https://www.realsaige.com/mls-api-docs/filter-operators shows the form.

**Lookup fields**

| Field | What it holds |
| --- | --- |
| LookupKey | Unique key of the lookup value |
| LookupName | Name of the lookup, such as PropertyType |
| LookupValue | The value as the server uses it |
| StandardLookupValue | The matching RESO standard value |
| LegacyODataValue | Older form of the value |
| ModificationTimestamp | When the value last changed |

_Field names from the RESO Data Dictionary 2.0 Lookup resource._

### Questions and answers

**Why does my PropertyType filter return nothing?**

The value is spelled differently in the feed. Read the PropertyType values from the Lookup resource and copy one exactly.

**Is the metadata document JSON?**

It is XML, as the RESO Web API Core specification requires. Data answers are JSON.

**How often do lookup values change?**

Rarely, but they can. Check ModificationTimestamp on Lookup records when you update your site.

**What is StandardLookupValue for?**

It maps the server's value to the RESO standard value, so code can work across feeds.

**Can I give the metadata to ChatGPT or Claude?**

Yes. Paste it with your question, and the assistant can use the exact field names. Never paste your key.

**Where do I find area names for neighbourhood pages?**

Read distinct MLSAreaMinor values from active listings, as the one-neighbourhood guide shows.

**Does the metadata need my key?**

Send your Authorization header with every request, including $metadata.

**What are multi-valued fields?**

Fields that hold a list, such as Appliances. Filter them with any().

Sources:

- Data Dictionary 2.0: Lookup resource (Real Estate Standards Organization (RESO)): https://dd.reso.org/DD2.0/Lookup/
- Web API Core specification (RESO Transport Workgroup): https://transport.reso.org/proposals/web-api-core
- OData Version 4.01, Part 2: URL Conventions (OASIS): https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part2-url-conventions.html

## Query Options: $filter, $select, $orderby, $top, $skip, $count and $expand

Web version: https://www.realsaige.com/mls-api-docs/query-options

Query options are added to the request address after a question mark and joined with &. They choose which records come back ($filter), which fields ($select), in what order ($orderby), how many ($top and $skip), whether to count them ($count), and which linked records to include ($expand). The RESO Web API Core specification requires servers to support $select, $top, $skip, $count, $orderby and $filter.

- $filter picks records; $select picks fields.
- $orderby sorts; add a second field to break ties.
- $top sets the page size; follow @odata.nextLink for the next page.
- $count=true adds the total to the answer.
- URL-encode the values when your code builds the address.

### $filter

Picks the records to return. Join conditions with and, or and not, and group them with brackets.

Example:

```
$filter=StandardStatus eq 'Active' and City eq 'Richmond' and ListPrice le 1200000
```

### $select

Lists the fields to return, separated by commas. A search card needs a handful of fields, so a short $select makes the answer smaller and faster.

Example:

```
$select=ListingKey,ListPrice,BedroomsTotal,BathroomsTotalInteger,City
```

### $orderby

Sorts by one or more fields, each with asc or desc. Add ListingKey last so listings with the same price keep a steady order across pages.

Example:

```
$orderby=ListPrice asc,ListingKey asc
```

### $top and $skip

$top sets how many records one page returns. $skip skips records, and RESO lets each provider decide how far $skip may go, so use @odata.nextLink for deep paging.

Example:

```
$top=24&$skip=24
```

### $count

$count=true adds @odata.count, the number of records that match the filter, to the answer. Use it for a results heading such as 312 homes found.

Example:

```
$filter=MLSAreaMinor eq 'Kitsilano'&$count=true&$top=0
```

### $expand

Includes linked records, such as a listing's media, in the same answer. Nest $select and $orderby inside brackets, separated by semicolons. Your metadata document shows which links can be expanded.

Example:

```
$expand=Media($select=MediaURL,Order;$orderby=Order asc)
```

### Encoding the address

Spaces, quotes and the $ sign must be encoded when code builds the address. Let your HTTP library do it: URLSearchParams in JavaScript, params in Python requests, add_query_arg or http_build_query in PHP. The code examples page shows each.

**Query options**

| Option | Does | Example |
| --- | --- | --- |
| $filter | Picks records | StandardStatus eq 'Active' |
| $select | Picks fields | ListingKey,ListPrice |
| $orderby | Sorts | ListPrice desc |
| $top | Sets page size | 24 |
| $skip | Skips records | 24 |
| $count | Adds the total | true |
| $expand | Includes linked records | Media |

_Query options from the OData 4.01 URL conventions, as used by the RESO Web API._

### Questions and answers

**Which query options are supported?**

$filter, $select, $orderby, $top, $skip and $count, which the RESO Web API Core specification requires, plus $expand where the metadata shows a link.

**How many records can one page return?**

The server sets the largest page. Ask for the page size your page needs with $top and follow @odata.nextLink.

**Why use $select?**

A listing record can hold hundreds of fields. Asking for the few you show makes answers smaller and pages faster.

**Can I sort by distance from a point?**

Filter by a Latitude and Longitude box, then sort the results by distance in your own code.

**How do I get a total count for a heading?**

Add $count=true. With $top=0 you get only the count.

**Do I need to encode the $ sign?**

Let your HTTP library build the query string. It encodes spaces, quotes and other characters correctly.

**Can I combine and with or?**

Yes. Use brackets to group, for example (City eq 'Burnaby' or City eq 'New Westminster') and BedroomsTotal ge 2.

**Is there a search across all text?**

String functions such as contains are outside RESO Web API Core. Filter on fields, such as area, price and rooms.

Sources:

- OData Version 4.01, Part 2: URL Conventions (OASIS): https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part2-url-conventions.html
- Web API Core specification (RESO Transport Workgroup): https://transport.reso.org/proposals/web-api-core

## Filter Operators and Search Page Examples

Web version: https://www.realsaige.com/mls-api-docs/filter-operators

A search page turns each visitor choice into a filter. The RESO Web API Core specification requires the comparison operators eq, ne, gt, ge, lt and le, which cover price ranges, bedroom minimums, dates and areas. This page lists the operators and gives filters you can copy for the searches a listing site offers.

- Text values go in single quotes; numbers and dates do not.
- Ranges use ge and le together.
- Group or-conditions in brackets.
- Read lookup values first, so each filter uses a value the feed has.

### Price range and rooms

The core of every search page.

Filter:

```
StandardStatus eq 'Active'
  and ListPrice ge 800000 and ListPrice le 1500000
  and BedroomsTotal ge 2
  and BathroomsTotalInteger ge 2
```

### One area or several

Use the board's area names from MLSAreaMinor or MLSAreaMajor, spelled as the feed spells them.

One area:

```
MLSAreaMinor eq 'Kitsilano'
```

Several areas:

```
(MLSAreaMinor eq 'Kitsilano' or MLSAreaMinor eq 'Point Grey')
```

Several areas with in (OData 4.01 servers):

```
MLSAreaMinor in ('Kitsilano','Point Grey')
```

### Map box

A map search sends the corners of the visible map as a box.

Filter:

```
Latitude ge 49.25 and Latitude le 49.28
  and Longitude ge -123.20 and Longitude le -123.14
```

### New listings and recent changes

Dates and timestamps are written without quotes.

Listed in the last week:

```
OnMarketDate ge 2026-11-21
```

Changed since your last update:

```
ModificationTimestamp gt 2026-11-28T06:00:00Z
```

### Property type and features

Read the allowed values from Lookup first. Multi-valued fields use any().

Type:

```
PropertyType eq 'Residential'
```

Multi-valued field:

```
Appliances/any(a: a eq 'Dishwasher')
```

Yes or no field:

```
WaterfrontYN eq true
```

### Exclude with ne and not

Leave out records you do not want.

Filter:

```
StandardStatus eq 'Active' and not (PropertySubType eq 'Parking')
```

**Filter operators**

| Operator | Means | Example |
| --- | --- | --- |
| eq | Equal | City eq 'Surrey' |
| ne | Not equal | StandardStatus ne 'Closed' |
| gt | Greater than | ListPrice gt 500000 |
| ge | Greater or equal | BedroomsTotal ge 3 |
| lt | Less than | YearBuilt lt 1990 |
| le | Less or equal | ListPrice le 900000 |
| and, or, not | Combine conditions | a and (b or c) |
| in | One of a list (OData 4.01) | City in ('Langley','Surrey') |
| any | Any item in a list field | Appliances/any(a: a eq 'Dishwasher') |

_Operators from the OData 4.01 URL conventions. RESO Web API Core requires eq, ne, gt, ge, lt and le; in and any apply to lookup fields on servers that support them._

### Questions and answers

**Why does my area filter return nothing?**

The area name is spelled differently in the feed. List the distinct MLSAreaMinor values first and copy one exactly.

**Do numbers need quotes?**

No. Text values take single quotes; numbers, dates and true or false do not.

**How do I search a price range?**

Use ge and le together: ListPrice ge 800000 and ListPrice le 1500000.

**Can I use contains or startswith?**

String functions are outside RESO Web API Core. Filter on structured fields instead.

**How do I build a map search?**

Send the map's corners as a Latitude and Longitude box, and update the request when the map moves.

**How do I get new listings only?**

Filter OnMarketDate on or after the date you want, and sort by OnMarketDate desc.

**What about an apostrophe inside a value?**

Write it twice inside the quotes, as OData requires: 'O''Brien Road'.

**Can visitors filter by school?**

Only if the board's feed carries a school field for your area. Ask our team which school fields it fills in.

Sources:

- OData Version 4.01, Part 2: URL Conventions (OASIS): https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part2-url-conventions.html
- Web API Core specification (RESO Transport Workgroup): https://transport.reso.org/proposals/web-api-core
- Data Dictionary 2.0: MLSAreaMinor field (Real Estate Standards Organization (RESO)): https://dd.reso.org/DD2.0/Property/MLSAreaMinor/

## Pagination: Following @odata.nextLink

Web version: https://www.realsaige.com/mls-api-docs/pagination

When more records match than one page holds, the answer carries @odata.nextLink, the full address of the next page. The RESO Web API Core specification requires servers to support this server-driven paging. Follow the link until it no longer appears, sending your Authorization header each time.

- No @odata.nextLink means this is the last page.
- Request the nextLink address exactly as given; do not rebuild it.
- Send the Authorization header on every page.
- Keep a steady $orderby so pages do not repeat or skip records.

### Reading every page

Loop until the answer has no @odata.nextLink. This JavaScript runs in server code.

JavaScript:

```
async function getAll(firstUrl) {
  const headers = { Authorization: `Bearer ${process.env.SAIGE_MLS_API_KEY}`, Accept: "application/json" };
  const records = [];
  let url = firstUrl;
  while (url) {
    const res = await fetch(url, { headers });
    if (!res.ok) throw new Error(`MLS API ${res.status}`);
    const page = await res.json();
    records.push(...page.value);
    url = page["@odata.nextLink"];
  }
  return records;
}
```

### Pages on a search page

A search page shows one page at a time: 24 results and a Show more button. Keep the nextLink from the last answer on your server or in the visitor's session, and request it when Show more is pressed.

Sort with a field that does not change between requests, plus ListingKey as a tie breaker, for example $orderby=OnMarketDate desc,ListingKey desc.

### Reading a large set

To copy many records, such as every active listing in an area, follow nextLink in a loop and pause between pages if the server answers 429. The page https://www.realsaige.com/mls-api-docs/sync-listings shows how to update the copy after that with only the records that changed.

### Questions and answers

**How do I know I reached the last page?**

The answer has no @odata.nextLink.

**Can I build the next page with $skip instead?**

For short pages, yes. For long sets, follow @odata.nextLink, because each provider decides how far $skip may go.

**Do I send my key with the nextLink?**

Yes. Send the Authorization header on every request.

**Why do I see the same listing on two pages?**

The sort order is not steady. Add ListingKey as the last $orderby field.

**How big is each page?**

The server decides the largest page. Use $top for the size your page shows.

**What should I do on a 429 while paging?**

Wait, then retry the same nextLink. Read the Retry-After header if the answer has one.

**Can the nextLink expire?**

Use it soon after you receive it. If it fails, start again from the first request.

**Does @odata.count change between pages?**

It counts matches at the time of the request. New and removed listings can change it.

Sources:

- Web API Core specification (RESO Transport Workgroup): https://transport.reso.org/proposals/web-api-core
- OData JSON Format Version 4.01 (OASIS): https://docs.oasis-open.org/odata/odata-json-format/v4.01/odata-json-format-v4.01.html

## Errors and HTTP Status Codes

Web version: https://www.realsaige.com/mls-api-docs/errors

The Saige MLS API answers with standard HTTP status codes. RESO Web API servers follow the OData error rules, so an error answer is JSON with an error object that holds a code and a message, and sometimes a target and details. Read the status first, then the message, and log both without the key.

- 400: the request is malformed, for example a filter typo.
- 401 and 403: the key is missing, not accepted, or not allowed.
- 429: too many requests; wait and retry.
- 500: a server error; retry later and tell us if it repeats.

### Error answer format

An error answer carries an error object. Show the visitor a plain message, and keep the details in your logs.

Error answer (shape):

```
{
  "error": {
    "code": "...",
    "message": "...",
    "target": "...",
    "details": []
  }
}
```

### Handling errors in code

Check the status before you read the value array. Retry only the errors that can pass on their own.

- 400, 404, 413: fix the request; do not retry it unchanged.
- 401, 403: fix the key or the access; do not retry in a loop.
- 429: wait, then retry. Use the Retry-After header when the answer has one.
- 500 and other 5xx: retry a few times with a growing wait, then show a fallback message.
- Never show raw error text, or the key, to visitors.

### Request limits

Request limits are set per key and shared with you when access is set up. Stay inside them by asking only for the fields you show, caching answers on your server, and updating a saved copy with only changed records instead of reading everything again.

**HTTP status codes**

| Code | Means | What to do |
| --- | --- | --- |
| 200 | OK | Read the answer |
| 400 | Bad request: malformed query or unsupported OData version | Check the filter and field names |
| 401 | Authentication failed | Check the Authorization header and key |
| 403 | Authorization failed | Check what your access includes |
| 404 | Resource or record not found | Check the resource name or key |
| 413 | Request too large | Shorten the request |
| 415 | Unsupported media type | Send Accept: application/json |
| 429 | Too many requests | Wait and retry |
| 500 | Server error | Retry later |
| 501 | Not implemented | Use a supported option |

_Codes from the RESO Web API Core specification's response code table._

### Questions and answers

**What causes a 400?**

A typo in the filter: a missing quote, a wrong field name, or a value in quotes that should not be. Check the field names in your metadata document.

**What is the difference between 401 and 403?**

401 means the key was not accepted. 403 means the key is valid but not allowed to read what you asked for.

**Why do I get a 404 for a listing?**

The ListingKey is wrong or the listing is no longer in the feed. Show a no longer listed message.

**What should my page show on an error?**

A short message and a way to keep browsing. Keep the technical details in your server logs.

**How do I avoid 429 errors?**

Cache answers, ask only for needed fields, and update your copy with changed records only.

**What are my request limits?**

They are set per key and shared with you when access is set up.

**Should I retry a 500?**

Yes, a few times with a growing wait. If it repeats, tell our team.

**Can an error answer contain my key?**

Your own logs can, if your code prints request headers. Never log the Authorization header.

Sources:

- Web API Core specification (RESO Transport Workgroup): https://transport.reso.org/proposals/web-api-core
- OData JSON Format Version 4.01 (OASIS): https://docs.oasis-open.org/odata/odata-json-format/v4.01/odata-json-format-v4.01.html

# Guides

Keeping a copy current, sold data, code examples, and using the docs with AI.

## Keep a Saved Copy of Listings Up to Date

Web version: https://www.realsaige.com/mls-api-docs/sync-listings

A site can keep a copy of listings in its own database, so pages load fast and searches do not wait on the API. Read the listings once, then on a schedule ask only for records whose ModificationTimestamp is later than your last update, and replace those records in your copy. Your board's rules set how current the copy must be.

- First run: read all records you need, following @odata.nextLink.
- Each update: ModificationTimestamp gt {last update}, sorted by ModificationTimestamp asc.
- Save the newest ModificationTimestamp you received as the next starting point.
- Remove listings that are no longer active from public pages.

### The first full read

Read the records your site needs, with only the fields it shows, and save them by ListingKey.

Request:

```
GET {SAIGE_MLS_API_URL}/Property
  ?$filter=StandardStatus eq 'Active'
  &$select=ListingKey,ListPrice,StandardStatus,City,MLSAreaMinor,ModificationTimestamp
  &$orderby=ModificationTimestamp asc,ListingKey asc
```

### Each update after that

Ask for every record changed after the newest timestamp you saved, whatever its status, so you also learn which listings sold, expired or were withdrawn. Sort by ModificationTimestamp so you can save your place after each page.

Request:

```
GET {SAIGE_MLS_API_URL}/Property
  ?$filter=ModificationTimestamp gt 2026-11-28T06:00:00Z
  &$select=ListingKey,ListPrice,StandardStatus,ModificationTimestamp
  &$orderby=ModificationTimestamp asc,ListingKey asc
```

### Running it on a schedule

Each builder has a way to run code on a schedule:

- Supabase: a scheduled Edge Function with pg_cron, shown in https://www.realsaige.com/supabase-mls-api.
- Replit: Scheduled Deployments, shown in https://www.realsaige.com/replit-mls-api.
- WordPress: a WP-Cron event with a stored transient, shown in https://www.realsaige.com/wordpress-mls-api.
- Your own server: a cron job that runs the update script.

### Listings that leave the market

When an update returns a listing whose StandardStatus is no longer Active, take it off your public search pages. If a visitor opens its old page, show that the home is no longer listed and suggest similar active listings.

### Questions and answers

**Why keep a copy instead of calling the API for every page?**

Pages load faster, searches work even when the API is slow, and you stay inside your request limits.

**Which field tells me a record changed?**

ModificationTimestamp.

**Should I use gt or ge for the timestamp?**

gt with the newest timestamp you saved. If you use ge, skip records you already have.

**How often should the update run?**

Your board's rules set how current the copy must be. Our team covers this during the review.

**How do I learn a listing sold?**

Its record changes, so it comes back in the update with a new StandardStatus.

**What about photos?**

When PhotosChangeTimestamp is newer than your copy, read that listing's media again.

**What if an update fails halfway?**

Save the timestamp only after each page is stored, and start the next run from the last saved value.

**Do I sync Member and Office too?**

If your site shows them. Use the same ModificationTimestamp pattern on those resources.

Sources:

- Web API Core specification (RESO Transport Workgroup): https://transport.reso.org/proposals/web-api-core
- Data Dictionary 2.0: Property resource (Real Estate Standards Organization (RESO)): https://dd.reso.org/DD2.0/Property/
- Scheduling Edge Functions (Supabase): https://supabase.com/docs/guides/functions/schedule-functions
- Scheduled Deployments (Replit): https://docs.replit.com/cloud-services/deployments/scheduled-deployments

## Sold Data (VOW): Requests and the Sign-Up Rule

Web version: https://www.realsaige.com/mls-api-docs/sold-data-vow

Sold prices come with VOW access, where your board allows it. A sold request asks for listings with StandardStatus Closed and reads ClosePrice and CloseDate. Board rules require each visitor to register and accept terms before sold data appears, so your server checks the visitor is signed in before it calls the API.

- VOW access is agreed in the review; a key without it gets a 403 on sold data.
- Filter StandardStatus eq 'Closed' and a CloseDate range.
- Check sign-in on the server before every sold request.
- Save when each visitor accepted the terms.

### Asking for recent sales

Sales in one area in the last year, newest first.

Request:

```
GET {SAIGE_MLS_API_URL}/Property
  ?$filter=StandardStatus eq 'Closed' and MLSAreaMinor eq 'Kitsilano' and CloseDate ge 2025-11-28
  &$select=ListingKey,UnparsedAddress,CloseDate,ListPrice,ClosePrice,BedroomsTotal,BathroomsTotalInteger,LivingArea,ListOfficeName
  &$orderby=CloseDate desc
```

### The sign-up rule in code

The sold page's server code checks that the visitor is signed in and has accepted the terms. If not, it returns an error and no data. The check must be on the server: hiding data in the browser still sends it to the visitor.

- Sign-up form: name, email and phone, and the terms the board requires, ticked by the visitor.
- Save the date and time each visitor accepted the terms.
- A separate, unticked box for email updates, as Canadian anti-spam law requires consent.
- Each new registration is a lead: send it to the agent.

### Build it with your builder

Every builder guide has a sold data page with the sign-up built in, for example https://www.realsaige.com/lovable-mls-api/sold-data and https://www.realsaige.com/wordpress-mls-api/sold-data. The page https://www.realsaige.com/mls-api/idx-vs-vow explains what VOW data is and why it sits behind a sign-up.

### Questions and answers

**How do I get VOW access?**

Ask for it in the request form. Our team checks whether your board allows it for your site.

**Which fields hold the sale?**

ClosePrice and CloseDate, on listings with StandardStatus Closed.

**Can I show sold prices to everyone?**

No. Board rules require a sign-up and accepted terms first.

**Why must the sign-in check be on the server?**

Data sent to the browser can be read even when the page hides it.

**What does a 403 on a sold request mean?**

Your key does not include VOW access.

**Can I build a home value page?**

Yes, as a VOW page: recent sales near the address, shown after sign-up.

**How far back can I ask for sales?**

Your board's feed and rules decide. Our team confirms it for your use.

**Is the sign-up a lead?**

Yes. Every visitor who wants sold prices gives a name, email and phone.

Sources:

- Data Dictionary 2.0: Property resource (Real Estate Standards Organization (RESO)): https://dd.reso.org/DD2.0/Property/
- Canada's anti-spam legislation (Innovation, Science and Economic Development Canada): https://ised-isde.canada.ca/site/canada-anti-spam-legislation/en
- Web API Core specification (RESO Transport Workgroup): https://transport.reso.org/proposals/web-api-core

## Code Examples: curl, JavaScript, Python and PHP

Web version: https://www.realsaige.com/mls-api-docs/code-examples

Each example asks for active listings with filters, sends the key from a secret, checks the status, and returns the listings as clean JSON for your page. They run in server code: a Node server, a Lovable or Supabase function, a Python service, or WordPress PHP. Change the filter and fields to fit your page.

- Read SAIGE_MLS_API_URL and SAIGE_MLS_API_KEY from secrets.
- Let the HTTP library encode the query.
- Check the status before reading value.
- Return only the fields the page needs.

### curl

Good for a first test from a terminal on your own machine.

curl:

```
curl -G "$SAIGE_MLS_API_URL/Property" \
  -H "Authorization: Bearer $SAIGE_MLS_API_KEY" \
  -H "Accept: application/json" \
  --data-urlencode "\$filter=StandardStatus eq 'Active' and City eq 'Burnaby'" \
  --data-urlencode "\$select=ListingKey,ListPrice,BedroomsTotal,UnparsedAddress" \
  --data-urlencode "\$top=24"
```

### JavaScript (Node, Lovable, Supabase and other server functions)

Uses fetch and URLSearchParams, available in Node 18 and newer and in Deno-based functions.

JavaScript:

```
export async function getListings({ city, minPrice, maxPrice, beds }) {
  const filters = ["StandardStatus eq 'Active'"];
  if (city) filters.push(`City eq '${city.replace(/'/g, "''")}'`);
  if (minPrice) filters.push(`ListPrice ge ${Number(minPrice)}`);
  if (maxPrice) filters.push(`ListPrice le ${Number(maxPrice)}`);
  if (beds) filters.push(`BedroomsTotal ge ${Number(beds)}`);

  const params = new URLSearchParams({
    $filter: filters.join(" and "),
    $select: "ListingKey,ListPrice,BedroomsTotal,BathroomsTotalInteger,LivingArea,UnparsedAddress,City,ListOfficeName",
    $orderby: "OnMarketDate desc,ListingKey desc",
    $top: "24",
  });

  const res = await fetch(`${process.env.SAIGE_MLS_API_URL}/Property?${params}`, {
    headers: {
      Authorization: `Bearer ${process.env.SAIGE_MLS_API_KEY}`,
      Accept: "application/json",
    },
  });
  if (!res.ok) throw new Error(`MLS API error ${res.status}`);
  const data = await res.json();
  return { listings: data.value, next: data["@odata.nextLink"] ?? null };
}
```

### Python

Uses the requests library, which encodes the parameters.

Python:

```
import os
import requests

def get_listings(city):
    url = f"{os.environ['SAIGE_MLS_API_URL']}/Property"
    safe_city = city.replace("'", "''")
    params = {
        "$filter": f"StandardStatus eq 'Active' and City eq '{safe_city}'",
        "$select": "ListingKey,ListPrice,BedroomsTotal,UnparsedAddress",
        "$top": "24",
    }
    headers = {
        "Authorization": f"Bearer {os.environ['SAIGE_MLS_API_KEY']}",
        "Accept": "application/json",
    }
    res = requests.get(url, params=params, headers=headers, timeout=20)
    res.raise_for_status()
    data = res.json()
    return data["value"], data.get("@odata.nextLink")
```

### PHP (WordPress)

Uses the WordPress HTTP API and caches the answer in a transient, so each page view does not call the API. Store the secrets in wp-config.php, outside the database.

PHP:

```
function saige_get_listings( $city ) {
  $cache_key = 'saige_listings_' . md5( $city );
  $cached = get_transient( $cache_key );
  if ( false !== $cached ) {
    return $cached;
  }
  $filter = sprintf( "StandardStatus eq 'Active' and City eq '%s'", str_replace( "'", "''", $city ) );
  $url = add_query_arg(
    array(
      '$filter' => rawurlencode( $filter ),
      '$select' => 'ListingKey,ListPrice,BedroomsTotal,UnparsedAddress',
      '$top'    => 24,
    ),
    SAIGE_MLS_API_URL . '/Property'
  );
  $res = wp_remote_get( $url, array(
    'headers' => array(
      'Authorization' => 'Bearer ' . SAIGE_MLS_API_KEY,
      'Accept'        => 'application/json',
    ),
    'timeout' => 20,
  ) );
  if ( is_wp_error( $res ) || 200 !== wp_remote_retrieve_response_code( $res ) ) {
    return array();
  }
  $data = json_decode( wp_remote_retrieve_body( $res ), true );
  set_transient( $cache_key, $data['value'], 15 * MINUTE_IN_SECONDS );
  return $data['value'];
}
```

### Escaping values in filters

A value that came from a visitor goes inside single quotes, with every apostrophe doubled, as OData requires. Numbers are converted to numbers before they go into the filter. Each example above does both, so a visitor cannot change the filter.

### Questions and answers

**Which language should I use?**

The one your builder runs on the server: JavaScript for Lovable, Bolt, v0 and Supabase, PHP for WordPress, any of them on your own server.

**Can I paste these into Lovable?**

Yes, or paste the build prompt from the Lovable guide and let Lovable write the function.

**Why cache the answer?**

Pages load faster and you stay inside your request limits.

**How do I add paging?**

Return the @odata.nextLink with the listings, and request it when the visitor wants more.

**Where do the secrets go in WordPress?**

Define SAIGE_MLS_API_URL and SAIGE_MLS_API_KEY in wp-config.php. The WordPress guide shows the steps.

**How do I stop a visitor from changing the filter?**

Double each apostrophe in text values and convert numbers with Number or int, as the examples do.

**Can I run the curl example from a browser?**

No. It needs your key, so run it only on your own machine or server.

**Is there an SDK?**

The API is standard OData over HTTPS, so any HTTP library works. These examples are the whole client.

Sources:

- HTTP API (WordPress.org): https://developer.wordpress.org/plugins/http-api/
- Transients API (WordPress.org): https://developer.wordpress.org/apis/transients/
- OData Version 4.01, Part 2: URL Conventions (OASIS): https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part2-url-conventions.html
- RFC 6750: The OAuth 2.0 Authorization Framework, Bearer Token Usage (IETF): https://www.rfc-editor.org/rfc/rfc6750

## Use These Docs With ChatGPT, Claude and Gemini

Web version: https://www.realsaige.com/mls-api-docs/ai-assistants

These docs are also published as one plain-text file at https://www.realsaige.com/saige-mls-api-docs.md, written so an AI assistant can read the whole API in one go. Give the file's address or its text to ChatGPT, Claude, Gemini, Cursor or Lovable, describe the page you want, and the assistant has the resource names, field names, filters and paging rules it needs.

- Plain-text docs: https://www.realsaige.com/saige-mls-api-docs.md
- OpenAPI file: https://www.realsaige.com/saige-mls-api-openapi.json
- Give the assistant the docs, your builder, and the page you want.
- Never paste your key into a chat; refer to the secret by name.
- Ask the assistant to keep all API calls in server code.

### A prompt that works

Paste this into ChatGPT, Claude, Gemini or your builder, with the docs attached or linked.

Prompt:

```
Read the Saige MLS API documentation at https://www.realsaige.com/saige-mls-api-docs.md.

Write a server-side function getListings(filters) for [Lovable / WordPress / Node].
- Read the service root from the secret SAIGE_MLS_API_URL and the key from SAIGE_MLS_API_KEY.
- Send the key as Authorization: Bearer. Never put it in page code or logs.
- Ask the Property resource for StandardStatus 'Active', with $select for the fields a search card shows.
- Support price range, minimum bedrooms and the area field MLSAreaMinor.
- Follow @odata.nextLink for a Show more button.
- Double apostrophes in text values and convert numbers before they go into $filter.
- Show the listing brokerage (ListOfficeName) on every card.

Do not invent field names: use only names from the documentation.
```

### What to give the assistant

The more exact the context, the closer the first answer is to working code:

- The docs file, or the address of the page you need, such as https://www.realsaige.com/mls-api-docs/filter-operators.
- The OpenAPI file at https://www.realsaige.com/saige-mls-api-openapi.json. It lists every request, query option and field type in the standard format that Postman, Swagger, Cursor and custom GPT actions read.
- Your metadata document from {SAIGE_MLS_API_URL}/$metadata, so it uses the exact fields your key can read.
- Your builder's name and where its server code runs.
- The page you want: search, map, one neighbourhood, sold prices.

### Check what the assistant writes

Before you publish, check four things:

- The key is read from a secret, in server code only.
- Every field name appears in these docs or in your metadata document.
- Text values from visitors are quoted and escaped.
- The page shows the brokerage credit and the notice your board requires.

### Questions and answers

**Can ChatGPT read the Saige API docs?**

Yes. Give it the address of the plain-text docs, or paste the text, and ask for code.

**Should I paste my API key into the chat?**

No. Tell the assistant the secret's name, SAIGE_MLS_API_KEY, and keep the key in your builder's secret storage.

**Which assistants work?**

Any that can read a web page or a pasted file: ChatGPT, Claude, Gemini, Cursor, Claude Code, Lovable and the rest.

**Why give it my metadata document too?**

It lists the exact fields your key can read, so the code does not ask for a field your feed lacks.

**The assistant invented a field. What now?**

Ask it to use only names from the docs or your metadata document, and paste the field list again.

**Can the assistant test the code for me?**

It can write the code. Run it yourself in your builder or on your server, where your key is stored.

**Can the assistant get me a key?**

No. Keys come from our team after the review. Send the request form on this page.

**Where are the builder-specific prompts?**

Each builder guide has a build prompt, a search page prompt, a one-area prompt and a sold data prompt.

Sources:

- RESO Web API (Real Estate Standards Organization (RESO)): https://www.reso.org/reso-web-api/
- Secrets Management Cheat Sheet (OWASP Foundation): https://cheatsheetseries.owasp.org/cheatsheets/Secrets_Management_Cheat_Sheet.html

# Boards

Who qualifies and which areas each board lists.

## Greater Vancouver MLS API: GVR Listing Data for Your Website

Web version: https://www.realsaige.com/mls-api/greater-vancouver-realtors

Saige is an approved data vendor for Greater Vancouver REALTORS (GVR), the board formerly called the Real Estate Board of Greater Vancouver. A GVR member can get the board's MLS listings, and sold data where the board allows it, on a website they build themselves with Lovable, Base44, Bolt, WordPress or code. The data reaches the site through Saige's server in the RESO Web API format. This page covers who qualifies, which areas the board lists, what the data holds and how to ask for access.

- For licensed REALTORS who are GVR members, their brokerages, and developers building for them.
- GVR lists homes from Vancouver, Burnaby and Richmond to the North Shore, the Tri-Cities, Ridge Meadows, South Delta, Squamish, Whistler, Pemberton and the Sunshine Coast.
- Active listings (IDX) for any visitor, and sold data (VOW) behind a sign-up where the board allows it.
- The data reaches your site through Saige's server, so your key stays on the server side.
- A person reviews every request. Keys are never sent automatically.

**Which board lists homes in Greater Vancouver and nearby towns**

| Town or area | Board that lists it |
| --- | --- |
| Vancouver (East and West) | Greater Vancouver REALTORS |
| Burnaby (East, North and South), New Westminster | Greater Vancouver REALTORS |
| Coquitlam, Port Coquitlam, Port Moody | Greater Vancouver REALTORS |
| Maple Ridge, Pitt Meadows | Greater Vancouver REALTORS |
| North Vancouver, West Vancouver, Bowen Island | Greater Vancouver REALTORS |
| Richmond, Ladner, Tsawwassen | Greater Vancouver REALTORS |
| Squamish, Whistler, Pemberton | Greater Vancouver REALTORS |
| Sunshine Coast | Greater Vancouver REALTORS |
| North Delta | Fraser Valley Real Estate Board |
| Surrey, White Rock, Langley | Fraser Valley Real Estate Board |
| Abbotsford, Mission | Fraser Valley Real Estate Board |

_From Realtylink.org and Metro Vancouver's housing data page, checked November 28, 2026. The groupings are ours; the area names are the boards'. The exact area names in the feed can differ, so check them before you build a neighbourhood page._

## Fraser Valley MLS API: FVREB Listing Data for Your Website

Web version: https://www.realsaige.com/mls-api/fraser-valley-real-estate-board

Saige is an approved data vendor for the Fraser Valley Real Estate Board (FVREB). An FVREB member can get the board's MLS listings, and sold data where the board allows it, on a website they build themselves with Lovable, Base44, Bolt, WordPress or code. The data reaches the site through Saige's server in the RESO Web API format. This page covers who qualifies, which towns the board lists, what the data holds and how to ask for access.

- For licensed REALTORS who are FVREB members, their brokerages, and developers building for them.
- The board's REALTORS serve Surrey, Langley, White Rock, North Delta, Abbotsford and Mission, by the board's own account.
- Active listings (IDX) for any visitor, and sold data (VOW) behind a sign-up where the board allows it.
- The data reaches your site through Saige's server, so your key stays on the server side.
- A person reviews every request. Keys are never sent automatically.

**Which board lists homes in the Fraser Valley and nearby towns**

| Town or area | Board that lists it |
| --- | --- |
| Surrey (North, Central, Cloverdale, South Surrey) | Fraser Valley Real Estate Board |
| White Rock | Fraser Valley Real Estate Board |
| Langley (City and Township) | Fraser Valley Real Estate Board |
| North Delta | Fraser Valley Real Estate Board |
| Abbotsford | Fraser Valley Real Estate Board |
| Mission | Fraser Valley Real Estate Board |
| Ladner, Tsawwassen | Greater Vancouver REALTORS |
| Burnaby, Richmond, Coquitlam, Maple Ridge | Greater Vancouver REALTORS |
| Chilliwack, Sardis, Agassiz, Hope | Chilliwack and District Real Estate Board |

_From the board's About page, Realtylink.org and Metro Vancouver's housing data page, checked November 28, 2026. The exact area names in the feed can differ, so check them before you build a town page._

## Chilliwack MLS API: CADREB Listing Data for Your Website

Web version: https://www.realsaige.com/mls-api/chilliwack-and-district-real-estate-board

Saige is an approved data vendor for the Chilliwack and District Real Estate Board (CADREB). A CADREB member can get the board's MLS listings, and sold data where the board allows it, on a website they build themselves with Lovable, Base44, Bolt, WordPress or code. The data reaches the site through Saige's server in the RESO Web API format. This page covers who qualifies, which areas the board lists, what the data holds and how to ask for access.

- For licensed REALTORS who are CADREB members, their brokerages, and developers building for them.
- The board lists Chilliwack, Sardis, Yarrow, Rosedale, Cultus Lake, Agassiz, Harrison Hot Springs, Harrison Mills and Mt Woodside, and Hope.
- Active listings (IDX) for any visitor, and sold data (VOW) behind a sign-up where the board allows it.
- The data reaches your site through Saige's server, so your key stays on the server side.
- A person reviews every request. Keys are never sent automatically.

**Which board lists homes in Chilliwack and District and nearby towns**

| Town or area | Board that lists it |
| --- | --- |
| Chilliwack | Chilliwack and District Real Estate Board |
| Sardis | Chilliwack and District Real Estate Board |
| Yarrow | Chilliwack and District Real Estate Board |
| Rosedale | Chilliwack and District Real Estate Board |
| Cultus Lake | Chilliwack and District Real Estate Board |
| Agassiz | Chilliwack and District Real Estate Board |
| Harrison Hot Springs | Chilliwack and District Real Estate Board |
| Harrison Mills, Mt Woodside | Chilliwack and District Real Estate Board |
| Hope | Chilliwack and District Real Estate Board |
| Abbotsford, Mission | Fraser Valley Real Estate Board |

_From Realtylink.org, checked November 28, 2026. The exact area names in the feed can differ, so check them before you build a community page._

## BC Northern MLS API: BCNREB Listing Data for Your Website

Web version: https://www.realsaige.com/mls-api/bc-northern-real-estate-board

Saige is an approved data vendor for the BC Northern Real Estate Board (BCNREB). A BCNREB member can get the board's MLS listings, and sold data where the board allows it, on a website they build themselves with Lovable, Base44, Bolt, WordPress or code. The data reaches the site through Saige's server in the RESO Web API format. This page covers who qualifies, which communities the board lists, what the data holds and how to ask for access.

- For licensed REALTORS who are BCNREB members, their brokerages, and developers building for them.
- The board lists communities from Prince George and Quesnel to Fort St. John, Fort Nelson, Terrace, Prince Rupert, Smithers, Williams Lake and 100 Mile House.
- Active listings (IDX) for any visitor, and sold data (VOW) behind a sign-up where the board allows it.
- The data reaches your site through Saige's server, so your key stays on the server side.
- A person reviews every request. Keys are never sent automatically.

**Which board lists homes in Northern BC and nearby towns**

| Town or area | Board that lists it |
| --- | --- |
| Prince George (City Central, North, South East, South West, West) | BC Northern Real Estate Board |
| Quesnel, Williams Lake, 100 Mile House | BC Northern Real Estate Board |
| Vanderhoof, Fort St. James, Burns Lake | BC Northern Real Estate Board |
| Fort St. John, Fort Nelson | BC Northern Real Estate Board |
| Mackenzie, Robson Valley | BC Northern Real Estate Board |
| Smithers, Houston, Hazelton and Highway 37 | BC Northern Real Estate Board |
| Terrace, Kitimat, Prince Rupert | BC Northern Real Estate Board |
| Iskut to Atlin | BC Northern Real Estate Board |

_From Realtylink.org and the board's price page by community, checked November 28, 2026. The groupings are ours; the community names are the board's. The exact area names in the feed can differ, so check them before you build a town page._
