Support  |  Contact  |  Blog
Print Page
Real Estate IDX and web site chat
Login to #Session.ServiceName# Account Manager  Login:   
Remember Me    Forgot Password?  
ListingWare provides IDX, VOW, Broker Reciprocity, Internet Data Exchange, Virtual Office Websites for Real Estate Agents and Brokers nationwide, as well as complete web site and API solutions.
Engage, Capture, and Manage More Leads!
Premium IDX and Web Site Solutions

Nationwide: 800.867.4707   Atlanta, GA: 404.348.4697
Sign Up Now
Home  |  Agents  |  Brokers  |  Compare  |  Tools  |  Tour  |  Examples  |  MLS Areas  |  Web Sites
ListingWare API

Updated 5/22/08:
If you like to 'Copy and Paste' to create API links,
please see this special section!

Due to popular demand, we have created the ListingWare Application Programming Interface (API). Using this method, you can create your own custom searches, listing displays, or links directly into ListingWare.

ListingWare API 4/25/2007, 1 hour, 18 minutes: This webinar goes in-depth on the API and how you can customize your service with it. Sound quality is pretty good. Shows older version of ListingWare web site, but info is the same. We were trying out a service from Skype called Skypecast for broadcasting the audio online - there is one hitch about midway through that shows they still had some bugs in the privacy area, so please forgive that.

Where Do I Start?
Everything is built on your base URL - the address that identifies your account. It is in the form of:

http://membername.servicename.com/search/
(you received this when the account was created)

If you're using our Complete Web Site option and have a domain name assigned on your account, you could use:
http://www.yourname.com/search/
(this is only if WE are hosting your domain name here)
This is what you use to call the basic search according to how you've configured it in the Administration Console under Edit Your Site > Search Style.

What's Next?

Next, you add the particular page name that you're trying to access, which would be one of four pages:

index.cfm (starting criteria page)
map.cfm (map search page)
searchresults.cfm (standard thumbnail view page)
searchdetail.cfm (only for individual listing display)

And Then...

After the page name, you add a question mark, followed by the query string/URL parameters, each separated by the ampersand sign (&):

?Parameter1=XXXX&Parameter2=YYYY&Parameter3=ZZZZ

Now, The Good Stuff...

Here are the various parameters you can put into the query string. All parameters are optional.

For parameters with SPACES, such as city names, replace spaces with a plus sign (+). Example: 'East Point' becomes 'East+Point'.

For parameters with APOSTROPHES, such as subdivisions, replace single apostophes with two consecutive apostophes (''). Example: O'Dell's Run becomes O''Dell''s Run. Make sure that you use two apostrophes, NOT the double quote symbol.

Field Name Used For Possible Values Default Value Example
KeyField Determining the primary criteria to search on City, ListingID, Subdivision, County, PostalCode, SchoolName City KeyField=City
City Search by city 'All' or distinct city names, separated by commas All City=All
City=Atlanta,East+Point
State Search by state, primarily for DynaMap 'All' or distinct state names, separated by commas All State=All
State=GA
State=NC,SC
PropertyTypeID Search by property type 'All' or numeric values 1-9 separated by commas, where:
1 - Single Family
2 - Multifamily
3 - Commercial
4 - Land Lots
5 - Acreage and Farms
6 - Condos / Townhomes
7 - Rentals
8 - Co-op
9 - Mobile Homes
10 - Lake and Resort
11 - Commercial Rentals
12 - Business Opportunity
1 PropertyTypeID=All
PropertyTypeID=1,6
County Search by county County name (no default) County=Fulton
Zip/Postal Code Search by ZIP/Postal Code ZIP Codes, separated by commas (no default) PostalCode=30101,30102
Subdivision Search by subdivision Full (or partial) subdivision name (no default) Subdivision=Fair
Subdivision=Fairfield
SchoolName Search by school name Full (or partial) school name (no default) SchoolName=Oak
SchoolName=Oak+Lawn
SchoolType Used with SchoolName HighSchool, MiddleSchool, ElementarySchool HighSchool SchoolType=HighSchool
ListingID MLS Number/Listing ID; Only use with KeyField=ListingID Single or comma-separated list of Listing IDs (no default) ListingID=1232321
ListingID=1231223,1242323
Keywords Search for key words in the body of the listing description Comma-separated list of terms (no default) Keywords=golf,master+on+main
Keywords=lake,Alatoona
KeywordsOperator Used with Keywords 'and' uses all keywords; 'or' uses any keywords and KeywordsOperator=and
MinPrice Minimum Price 0-999999999 0 MinPrice=0
MinPrice=200000
MaxPrice Maximum Price 0-999999999 999999999 MaxPrice=999999999
MaxPrice=450000
PriceRange Alternative to MinPrice and MaxPrice in a single field; Separator is vertical bar 0-999999999 0|999999999 PriceRange=0|999999999
PriceRange=250000|450000
Bedrooms Minimum number of bedrooms 0+ 0 Bedrooms=3
BathsFull Minimum number of full baths 0+ 0 BathsFull=2
YearBuilt Year property built (or earlier/later, depending on YearBuiltOperator) Four-digit year or 0 0 YearBuilt=1995
YearBuiltOperator Whether earlier or later than YearBuilt (also includes equal to YearBuilt) 'earlier' or 'later' later YearBuiltOperator=later
Stories Number of stories 0, 1, or 2
(2 is for 2 or more)
0 Stories=0
Stories=2
SortOrder Order search is returned Asc - ascending by price; Desc - descending by price; New - new/modified in last two weeks shown first Asc SortOrder=Asc
MaxRows Maximum rows per page returned 5, 10, 20 10 MaxRows=10
PhotoLinks How to show listing photos - 'No' shows thumbnail photos on results; 'Detail' shows detail photos only; 'Yes' shows only listings with photos 'No', 'Detail', or 'Yes' No PhotoLinks=No
PhotoLinks=Detail
PhotoLinks=Yes
Reciprocity Show agent/office listings or full MLS search 'Yes' shows all MLS listings; 'No' shows only agent/office listings Setting in Admin Reciprocity=Yes
Advanced Advanced search 'Yes' or 'No' (default KeyField is 'City', but you can combine fields like Subdivision and PostalCode when 'Yes') No Advanced=No
ResultsStyle Style for results to display; Thumbnail Photos and Text (1), DynaMap with Mouse-Over Icons (2), DynaMap Top, One-lines Below (3), DynaMap Only (4) 1, 2, 3, or 4
(Without DynaMap, 1 is only valid value)
1 ResultsStyle=1
ResultsStyle=2

Special Parameter: LeadSource
There is an additional parameter available for tracking where Leads come from called LeadSource. This can be used to differentiate separate implementations of your central URL. If you've got more than one web site where your URL is plugged in, you can track it! It's also automatic for your LeadDirector tracking of your Agent Sub-Accounts (all of their unique URLs). For example:

http://membername.servicename.com/search/index.cfm?LeadSource=MainWebSite
http://membername.servicename.com/search/index.cfm?LeadSource=GoogleAd

With this, you'll be able to track the effectiveness of ALL of your IDX implementations!

Special Note: The Evils of 'Copy and Paste' (Updated 5/22/08)
As you use the API, you may also encounter some additional URL parameters - either CFID/CFToken or JSessionID. These are two special variables related to ColdFusion, which is the web application language used to create ListingWare. DO NOT include these in your links or frames, as they are added automatically by ColdFusion only when necessary. They are used for tracking specific user visits or "Sessions", so if you include them, it could corrupt your current site visitor's Session, causing things such as making visitors register multiple times or making the system "think" that everyone is already registered and not accepting ANY new registrations!

Some people who use the API like to run queries and then just copy and paste the full URL into their web site. This can introduce the CFID/CFToken or JSessionID, as well as adding the other automatic and/or default parameters to the URL unnecessarily. It's better if you just use the parameters that are needed for your particular query.

API Examples
You can use these parameters to either create custom searches that appear at the click of a button or link, or tailor the starting search page so that certain parameters are pre-selected. These examples work with any of our versions. Click on these examples and then look at the URL in the browser's address bar for the breakdown.

To provide different starting search parameters, start with the index.cfm page. City=Acworth,Alpharetta
MinPrice=400000
MaxPrice=1000000

PropertyTypeID=6
MinPrice=250000
Advanced=Yes
To start with DynaMap search, use the map.cfm page. Second example uses City and State to default to a particular location at the center of the search. (Default DynaMap search
in metro area)


City=Acworth
State=GA
MinPrice=200000
MaxPrice=500000
To create a one-click search, use the searchresults.cfm page. KeyField=Subdivision
Subdivision=Fairfield
SortOrder=Desc
To show only all of your own listings.
(Since my example agent 'Bobbi Hendren' doesn't have any of her own listings, it will show the listings of her 'partner' Darrell Anderson - hopefully you get the idea, though.)
PropertyTypeID=All
Reciprocity=No
Select several listings to highlight with searchresults.cfm KeyField=ListingID
ListingID=1231223,1221447,1213435
Show an individual listing with searchdetail.cfm KeyField=ListingID
ListingID=1231223

ListingWare provides Internet Data Exchange (IDX), Broker Reciprocity, Internet Listings Display (ILD),
and Virtual Office Websites (VOW) for thousands of Real Estate Agents and Brokers nationwide,
as well as complete template-based, enhanced, and custom web site solutions, all with our exclusive API.
About Us  |  Partners  |  Privacy Policy  |  © 2001-2008 ListingWare, Inc.

Clicky Web Analytics