WEB API Resources

 RESO Web API

MetroList Services Inc. offers an implementation of RESO's Web API powered by Rapattoni, and provides data adhering to the RESO Data Dictionary.

Authentication

This RESO WebAPI implementation support OAuth2's Password and Authorization Code grant types for authentication.

Password Grant Authentication

Token URL:

https://apiidentity.metrolist.net/SACM/oauth/token

When accessing the Token URL, you will need to pass the following in the body of a POST request:

  • grant_type: password
  • client_id: Given to you by the MLS
  • client_secret: A password associated with the client id, it is a randomly generated hash. If this is ever compromised a new one may be generated by MLS staff.
  • Username: The MLS ID created in membership.
  • Password: The password associated with the above MLS ID.

Please note, standard web browsers cannot pass all of the criteria; a client program or tool should be used. Example clients for testing are Postman and cURL

The body of the request should look similar to the following example:

  • grant_type=password&client_id=ClientID&client_secret=Secret&username=Username&password=Password

You will also need to include the header:Content-Type: application/x-www-form-urlencoded and ensure that the values contained in the body of the request are properly URL-encoded.

cURL example:

  • curl -X POST -H
    "Content-Type:application/x-www-form-urlencoded" -d
    "Grant_Type=password&Client_Id=URLEncoded_ClientID&Client_Secret=URLEncoded_ClientSecret&Username=URLEncoded_Username&Password=URLEncoded_Password"
    "https://apiidentity.metrolist.net/SACM/oauth/token"

If the transaction is successful, then the response body will be a JSON object containing the access token, token type, seconds till expiration, refresh token, username, date time issued and date time of expiration. The token type will always be “bearer”:

{
"access_token": "9ad80cb9875c6d8e39efc90bc",
"token_type": "bearer",
"expires_in": 604799,
"refresh_token": "adb83739efc90bcd9938",
"userName": "username",
".issued": "Fri, 17 Mar 2022 16:41:32 GMT"
".expires": "Fri, 24 Mar 2022 16:41:32 GMT"
}

MetaData

        • As part of the RESO API version 2.0 specification, the server has to be class-less where all property types will return without having to call each class/property-type individually as they do now with our RESO Web API v.1.0 (i.e.: Residential, Commercial, Land, etc.). The vendor built a single Property class, ALLL, that will return data regardless of the property-type. Property/ALLL will ONLY correctly function with our RESO Web API 2.0 server even though you may see it in RETS and API v1.0.

Server Limits

    • The server page size limits are based on the number of fields selected and time of day (based on the MLS's timezone). If $expand is included in the query, then the limits are 1/4 of their normal value.
Columns Selected Start Time End Time Record Limit
1-4 12:00:00 AM 7:59:59 AM 1000000
1-4 8:00:00 AM 6:00:00 PM 25000
1-4 6:01:00 PM 11:59:59 PM 1000000
5-15 12:00:00 AM 7:59:59 AM 15000
5-15 8:00:00 AM 6:00:00 PM 2000
5-15 6:01:00 PM 11:59:59 PM 15000
16-30 12:00:00 AM 7:59:59 AM 2000
16-30 8:00:00 AM 6:00:00 PM 1500
16-30 6:01:00 PM 11:59:59 PM 2000
31-50 12:00:00 AM 7:59:59 AM 2000
31-50 8:00:00 AM 6:00:00 PM 1000
31-50 6:01:00 PM 11:59:59 PM 2000
51+ 12:00:00 AM 7:59:59 AM 2000
51+ 8:00:00 AM 6:00:00 PM 1000
51+ 6:01:00 PM 11:59:59 PM 2000

For more detailed information please visit Rapattoni's information page.

Rapattoni Link: https://www.rapattoni.com/dev/562-dev_reso [Updated 9/1/2024]