No API key required

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.

GET/api/v1/markets?zipCode=78701
Try
Loading market data for 78701

Make the same request from your code

curl "https://rentest.ai/api/v1/markets?zipCode=78701"

Query parameters

zipCodestringrequired

A 5-digit US ZIP code (e.g., 78701).

dataTypestringoptional

Which statistics to return. Defaults to All. Only rental statistics are available today, so Sale returns 404.

AllRentalSale

Status codes

200

Statistics returned.

400

zipCode is missing or not 5 digits, or dataType is not All, Rental or Sale.

404

The ZIP code has fewer than 5 qualifying listings, or dataType is Sale.

503

The data service is temporarily unavailable. Retry shortly.

Response fields

idstring

Identifier of the market record (the ZIP code).

zipCodestring

The 5-digit ZIP code.

rentalDataobject

Rental statistics for the ZIP code, described below.

Inside rentalData:

RentMonthly asking rent in USD · 4 fields
averageRentfloat

Average monthly asking rent in USD.

medianRentfloat

Median monthly asking rent in USD.

minRentfloat

Lowest monthly asking rent in USD.

maxRentfloat

Highest monthly asking rent in USD.

Rent per square footMonthly asking rent divided by living area · 4 fields
averageRentPerSquareFootfloat

Average monthly asking rent per square foot in USD.

medianRentPerSquareFootfloat

Median monthly asking rent per square foot in USD.

minRentPerSquareFootfloat

Lowest monthly asking rent per square foot in USD.

maxRentPerSquareFootfloat

Highest monthly asking rent per square foot in USD.

Square footageLiving area of the listings · 4 fields
averageSquareFootagefloat

Average living area in square feet.

medianSquareFootagefloat

Median living area in square feet.

minSquareFootagefloat

Lowest living area in square feet.

maxSquareFootagefloat

Highest living area in square feet.

Counts and datesHow much data the statistics rest on · 2 fields
totalListingsinteger

Number of rental listings observed in the 45-day window that the statistics are based on.

lastUpdatedDatestring

ISO 8601 date of the most recent listing observation in this ZIP code.

BreakdownsThe same statistics per property type and per bedroom count · 2 fields
dataByPropertyTypearray

One 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.

dataByBedroomsarray

One 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)