Craigslist rentals and boundary layers API on rentrent.org (Alpha)


Feedback

This API originated from my 'Craigslist Rentals on Map' website www.rentrent.org

As you can see, I haven't put a lot of efforts to make this site pretty. I just wanted to make it usable. Making this API public is an effort to encourage others to create better websites than mine.

This API takes away the pain of crowling, mining, geocoding and indexing Craigslist data and provides very simple web service calls to fetch the data. This way you can focus on creating a great rentals classifieds application without worrying about GIS bit of it.
You can use this API with Google Maps, Microsoft Bing maps, Yahoo maps etc.



The API supports 2 calls:

Ads.aspx

Service URL: http://www.rentrent.org/RENT/Ads.aspx
Parameter Description
xmin Longitude (min)
ymin Latitude (min)
xmax Longitude (max)
ymax Latitude (max)
bd Number of Bedrooms
ba Number of Bathrooms
type 1: For room rentals
2: For apartment and houses
maxrecords If not passed, maxrecords is set to 250.
If you pass maxRecords=1500,
you can retrieve bulk data using one request.
throwErrorIfOverLimit If not passed, this is 'true'
You can set throwErrorIfOverLimit=false to get the top 'maxrecords' instead of error.
callback Name of a javascript function you want to be called back.


Example URL:
http://www.rentrent.org/RENT/Ads.aspx?xmin=-118.01925659179687&ymin=33.71948521132481&xmax=-117.68142700195314&ymax=33.85644642218431&bd=&ba=&pets=-1&type=2&throwErrorIfOverLimit=false&callback=xxx

The output will be in JSON format. (If you need specific API, send an email on rentrentorg@gmail.com and I will try to speed up the documentation process.)




Map.aspx

Service URL: http://www.rentrent.org/BUY/Map.aspx

Parameter Description
TID Tile ID or Quad Key. (%4 in VE map)
GridX X value of a tile (For google map)
GridY y value of a tile (For google map)
GridZ Zoom level (For google map)
Layer Name of a layer

1. Neighborhoods
2. ElementarySchoolDistricts
3. SecondarySchoolDistricts
4. UnifiedSchoolDistricts

 

Example URL:

http://www.rentrent.org/BUY/Map.aspx?TID=0230121301213&Layers=Neighborhoods

hhttp://www.rentrent.org/BUY/Map.aspx?TID=0230121333&Layers=UnifiedSchoolDistricts

License/Disclaimer/Terms of Use: http://www.rentrent.org/BUY/Disclaimer.html



Feedback and comments.

Or mail me on rentrentorg@gmail.com