Market Statistics API
Rental market statistics for any US ZIP code: asking rent, rent per square foot, square footage and listing counts, with breakdowns by bedrooms and property type.
/api/v1/markets?zipCode=78701Make the same request from your code
curl "https://rentest.ai/api/v1/markets?zipCode=78701"Query parameters
zipCodestringrequiredA 5-digit US ZIP code (e.g., 78701).
dataTypestringoptionalWhich statistics to return. Defaults to All. Only rental statistics are available today, so Sale returns 404.
AllRentalSale
Status codes
200Statistics returned.
400zipCode is missing or not 5 digits, or dataType is not All, Rental or Sale.
404The ZIP code has fewer than 5 qualifying listings, or dataType is Sale.
503The data service is temporarily unavailable. Retry shortly.
Response fields
idstringIdentifier of the market record (the ZIP code).
zipCodestringThe 5-digit ZIP code.
rentalDataobjectRental statistics for the ZIP code, described below.
Inside rentalData:
RentMonthly asking rent in USD · 4 fields
averageRentfloatAverage monthly asking rent in USD.
medianRentfloatMedian monthly asking rent in USD.
minRentfloatLowest monthly asking rent in USD.
maxRentfloatHighest monthly asking rent in USD.
Rent per square footMonthly asking rent divided by living area · 4 fields
averageRentPerSquareFootfloatAverage monthly asking rent per square foot in USD.
medianRentPerSquareFootfloatMedian monthly asking rent per square foot in USD.
minRentPerSquareFootfloatLowest monthly asking rent per square foot in USD.
maxRentPerSquareFootfloatHighest monthly asking rent per square foot in USD.
Square footageLiving area of the listings · 4 fields
averageSquareFootagefloatAverage living area in square feet.
medianSquareFootagefloatMedian living area in square feet.
minSquareFootagefloatLowest living area in square feet.
maxSquareFootagefloatHighest living area in square feet.
Counts and datesHow much data the statistics rest on · 2 fields
totalListingsintegerNumber of rental listings observed in the 45-day window that the statistics are based on.
lastUpdatedDatestringISO 8601 date of the most recent listing observation in this ZIP code.
BreakdownsThe same statistics per property type and per bedroom count · 2 fields
dataByPropertyTypearrayOne object per property type: propertyType (Single Family, Apartment/Condo, Townhouse, Multi-Family, Manufactured) followed by every statistic above. Types with fewer than 5 listings are left out.
dataByBedroomsarrayOne object per bedroom count: bedrooms (1 or more) followed by every statistic above. Bedroom counts with fewer than 5 listings are left out.
How the numbers are defined
45-day window
Statistics use rental listings observed during the 45 days before lastUpdatedDate.
Rent range
Listings with a monthly rent outside $200-$50,000 are excluded.
Square footage
Area and rent per square foot use only listings that publish 100-15,000 sq ft. The fields are absent when no listing in the group has one.
Apartment/Condo
Apartments and condos are reported as one combined property type.
5-listing minimum
A ZIP code needs 5 qualifying listings to return data, and so does each breakdown group.
Not included yet
These are left out of the response rather than returned as zero.
- Days on market
- New listings
- Monthly history
- Sale statistics
- Studios (0 bedrooms)