Docs menu

    Docs / Reference

    Lookups and Metadata: Allowed Values and Field Types

    Where to read the exact fields, types and allowed values your key can use.

    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.

    Requests

    GET{SAIGE_MLS_API_URL}/Lookup

    List allowed values

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

    Query options

    • $filterstring

      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

    • $selectstring

      Comma-separated fields to return. Ask only for what the page shows.

      Example: ListingKey,ListPrice,BedroomsTotal,City

    • $orderbystring

      Sort order: a field, then asc or desc. Add the key as a second field so pages stay stable.

      Example: ListPrice asc,ListingKey asc

    • $topinteger

      Largest number of records to return in this answer.

      Example: 24

    • $skipinteger

      Number of records to skip, for page 2 and on. Follow @odata.nextLink when the answer has one.

      Example: 24

    • $countboolean

      When true, the answer carries @odata.count, the number of matching records.

      Example: true

    Headers

    • AuthorizationstringRequired

      Bearer followed by your key. Send it from server code only.

      Example: Bearer {SAIGE_MLS_API_KEY}

    • Acceptstring

      application/json for data requests. $metadata answers in XML.

      Example: application/json

    Returns a list of Lookup records in the value array.

    Request (curl)
    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"
    200 OK (shape)
    {
      "@odata.context": "{SAIGE_MLS_API_URL}/$metadata#Lookup",
      "value": [
        {
          "LookupName": "PropertyType",
          "LookupValue": "...",
          "StandardLookupValue": "Residential"
        }
      ]
    }

    GET{SAIGE_MLS_API_URL}/$metadata

    Get the metadata document

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

    Headers

    • AuthorizationstringRequired

      Bearer followed by your key. Send it from server code only.

      Example: Bearer {SAIGE_MLS_API_KEY}

    • Acceptstring

      application/json for data requests. $metadata answers in XML.

      Example: application/json

    Request (curl)
    curl "$SAIGE_MLS_API_URL/\$metadata" \
      -H "Authorization: Bearer $SAIGE_MLS_API_KEY"
    200 OK (XML)
    <?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 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 Filter Operators and Search Page Examples shows the form.

    The Lookup record

    The allowed values of each list field, such as every PropertyType value the feed uses. Key field: LookupKey. Your metadata document lists the fields your key can read.

    • LookupKeyStringUnique key of the lookup value.
    • LookupNameStringName of the list, such as PropertyType.
    • LookupValueStringThe value as the server uses it. Copy it into filters exactly.
    • StandardLookupValueStringThe matching RESO standard value.
    • LegacyODataValueStringOlder form of the value.
    • ModificationTimestampTimestampWhen the value last changed.

    Names and types from the RESO Data Dictionary 2.0.

    Common questions

    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().

    Specifications

    Last reviewed 2026-11-20

    MLS API for BC

    Put live MLS listings on the site you are building

    Saige is an approved MLS data vendor for Greater Vancouver REALTORS, Fraser Valley Real Estate Board, Chilliwack and District Real Estate Board and BC Northern Real Estate Board. Send a request and our team will contact you to check what your board allows and how to connect your builder.

    Call 604.401.4849