Docs menu

    Docs / Reference

    Filter Operators and Search Page Examples

    eq, ne, gt, ge, lt, le, and, or, not, in and any, with filters for real search pages.

    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.

    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.

    MLSAreaMinor eq 'Kitsilano'

    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.

    OnMarketDate ge 2026-11-21

    Property type and features

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

    PropertyType eq 'Residential'

    Exclude with ne and not

    Leave out records you do not want.

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

    Filter operators

    OperatorMeansExample
    eqEqualCity eq 'Surrey'
    neNot equalStandardStatus ne 'Closed'
    gtGreater thanListPrice gt 500000
    geGreater or equalBedroomsTotal ge 3
    ltLess thanYearBuilt lt 1990
    leLess or equalListPrice le 900000
    and, or, notCombine conditionsa and (b or c)
    inOne of a list (OData 4.01)City in ('Langley','Surrey')
    anyAny item in a list fieldAppliances/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.

    Common questions

    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.

    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