Trulia Developer Blog

Tuesday Night: median listing prices and slight data format change

Hi everyone,

We are going to be releasing an update to the API on Tuesday evening, which includes median prices for our listings. I wanted to give all of the API developers a heads up so everyone is expecting the change. Specifically, we are taking data calls that return XML that looks like something like this:

<listingStats>
  <listingsStat>
    <weekEndingDate>2007-02-10</weekEndingDate>
      <avgListingValue>
        <subcategory>
          <type>All Properties</type>
          <averageListingPrice>1724582</averageListingPrice>
          <numberOfProperties>2883</numberOfProperties>
        </subcategory>
        <subcategory>
          <type>1 Bedroom Properties</type>
          <averageListingPrice>729525</averageListingPrice>
          <numberOfProperties>1080</numberOfProperties>
        </subcategory>
        ...
      </avgListingValue>
    </listingsStat>
  </listingStats>
</TruliaStats>

...and changing it to look like this:


<listingStats>
  <listingStat>
    <weekEndingDate>2007-02-10</weekEndingDate>
    <listingPrice>
      <subcategory>
        <type>All Properties</type>
        <numberOfProperties>2883</numberOfProperties>
        <medianListingPrice>836333</medianListingPrice>
        <averageListingPrice>1724582</averageListingPrice>
      </subcategory>
      <subcategory>
        <type>1 Bedroom Properties</type>
        <numberOfProperties>1080</numberOfProperties>
        <medianListingPrice>651408</medianListingPrice>
        <averageListingPrice>729525</averageListingPrice>
      </subcategory>
    </listingPrice>
  </listingStat>
</listingStats>

As always, feel free to email us with and questions or suggestions about this change or any others you would like to see. Thanks!

Lawrence
Software Engineer

3 Comments

  1. russ1 year ago

    any updates to Developers Blog. Last Posting from 2 years ago!

  2. Colonel Nikolai5 months ago

    Is this going back into history as well? Can we also get average and median SALE prices? Oh, and on a final note: can I get data again? I keep getting a 403. Thanks!

  3. vile1 week ago

    see <a href="http://www.bestessays.com.au/">term papers</a> regarding to the topics.

Please sign in to post a comment.