import {fetch} from 'wix-fetch'; function parseRetsXml(xml) { const parser = new DOMParser(); const xmlDoc = parser.parseFromString(xml, "text/xml"); const retsNode = xmlDoc.getElementsByTagName("RETS")[0]; const replyCode = retsNode.getAttribute("ReplyCode"); const replyText = retsNode.getAttribute("ReplyText"); const loginUrl = retsNode.getAttribute("Login"); const searchUrl = retsNode.getAttribute("Search"); return { replyCode, replyText, loginUrl, searchUrl }; } async function searchMLS(xml, query) { const retsInfo = parseRetsXml(xml); const response = await fetch(retsInfo.searchUrl, { method: 'post', headers: { 'Content-Type': 'application/x-www-form-urlencoded', }, body: `search=${encodeURIComponent(query)}` }); const results = await response.json(); return results; } const xml = ' Broker = MemberName = 79190-RETSIDX James T Morrison MetadataVersion = 8.09.00001 MinMetadataVersion = 8.09.00001 User = 547029,NULL,NULL,NULL Login = Logout = Search = GetMetadata = GetObject = Balance = 0.01 TimeoutSeconds = 1800 '; const query = 'property type:Residential'; searchMLS(xml, query).then(results => { console.log(results); });
top of page

This function isn't available yet.

As of 2/6/2023 we are still working on our website. We hope to have full search capabilities up and running by the end of Feb 2023. Sorry for the inconvienience. In the mean time, we can perform searches for you if you'd like. 

Other Options 

Call us directly

Give us a call and someone our team will happily search the MLS for you, and send you a list of homes that may suit your needs. (808) 300-7662


Email us

If you hate talking on the phone, just email us and we'd be happy to perform a search for you. Someone on our team will respond within 24 hours.


Text us

So you hate talking on the phone, and emailing? Just text us! Here is James Morrison's direct cell, text him your needs and he will respond directly to you

James T. Morrison, R(S)
(808) 209-9906


Come in and see us

None of those options sound good to you? You like to see your Realotrs face to face? Come on down! Jump on a plane, train, car or walk on down to our office in Kailua Kona and say hi. 

Knutson & Associates

75-5782 Kuakini Hwy, Suite C-2D & Suite C-2B, Box C-4
​Kailua-Kona, Hawaii - 96740
United States


Get in Touch

This is a Paragraph. Click on "Edit Text" or double click on the text box to start editing the content.

  • Facebook
  • Instagram
  • Yelp
bottom of page