Homes.com API: Listings and Neighborhoods as JSON
The Homes.com API on Perceptlayer returns Homes.com listings, single listings, neighborhoods and schools as JSON, at 1 credit per successful call. Start with GET /v1/homes-com/search, which takes a location and filters such as listing_type, min_beds and sort, and returns a page of listings with price, address, beds, baths, square footage and list date. This guide shows the request, the parameters, a recorded Austin search, a script that pages through it, and the cost per listing and per neighborhood tracked.
Which Homes.com endpoints are there?
The Homes.com API has seven endpoints, all GET and all 1 credit per successful call. Three cover listings (search, listing and place autocomplete), two cover the area around a home (neighborhood and school), and two cover agents. Only the search endpoint has a recorded response in this guide, so for the others the table gives what the reference documents: the parameters and what each returns.
| Endpoint | Returns | Required | Optional |
|---|---|---|---|
GET /v1/homes-com/search |
Listings for a place or area | none | location, location_id, bounding_box, filters, sort, page, per_page, facets |
GET /v1/homes-com/listing |
One listing | none | id, url (up to 300 characters) |
GET /v1/homes-com/autocomplete |
Suggestions for a typed place | query |
limit, type, listing_type |
GET /v1/homes-com/neighborhood |
One neighborhood | id |
none |
GET /v1/homes-com/school |
One school | id |
none |
GET /v1/homes-com/agent |
One agent | id |
none |
GET /v1/homes-com/agent-autocomplete |
Agent suggestions | query |
limit |
autocomplete takes a type of place, neighborhood, school, building, community or address, and a listing_type of sale or rent. The Homes.com API page has every endpoint with a playground, so you can see what autocomplete returns for your area before you build on it.
How do you search Homes.com listings?
Send a GET to /v1/homes-com/search with a location string and the filters you need, with your key in the X-API-Key header. The recorded call below asks for homes for sale in Austin with at least three bedrooms, cheapest first. Every filter is optional, and the reference documents no defaults, so set the ones your job depends on.
curl "https://api.perceptlayer.com/v1/homes-com/search?location=Austin%2C+TX&listing_type=sale&min_beds=3&sort=price_asc" \
-H "X-API-Key: $API_KEY"
Which parameters does search take?
| Parameter | Type | Allowed values or limits |
|---|---|---|
location |
string | Up to 100 characters, such as Austin, TX |
location_id |
string | Also returned by search |
bounding_box |
string | Format not documented; check in the playground |
listing_type |
string | sale, rent |
status |
string | active, sold |
open_houses |
boolean | |
min_price, max_price |
integer | |
min_beds, max_beds |
integer | |
min_baths, max_baths |
integer | |
min_sqft, max_sqft |
integer | |
min_year_built, max_year_built |
integer | |
property_type[] |
list of strings | house, townhouse, condo, multifamily |
sort |
string | recommended, price_asc, price_desc, newest, beds_desc, sqft_desc, baths_desc, rent_asc |
page, per_page |
integer | |
facets |
boolean |
The response to a location search includes a location_id, and location_id is also a search parameter, so the names match. Try passing the returned value back in the playground before you rely on it for repeat searches.
What does the search response contain?
The response has three parts: the resolved location_id, the applied_filters the search used, and a pagination block, followed by items. Each item is one listing with its price, address and coordinates, size, property type, list date, description and photos. This is the recorded Austin response, trimmed to the first listing, with the agent object removed:
{
"success": true,
"data": {
"location_id": "2.f5xx96v6x6171",
"applied_filters": {
"listing_type": "sale",
"sort": "price_asc",
"min_beds": "3"
},
"pagination": {
"page": 1,
"per_page": 25,
"total": 4617,
"reachable_total": 700,
"total_pages": 28,
"has_next_page": true
},
"items": [
{
"id": "mddcspkby1g47",
"listing_id": "nj97f2thtpkfq",
"url": "https://www.homes.com/property/8212-barton-club-dr-austin-tx-unit-11-5/mddcspkby1g47/",
"listing_type": "sale",
"status": "active",
"price": {
"value": 32000,
"currency": "USD",
"label": "$32,000"
},
"original_price": {
"value": 32000,
"currency": "USD"
},
"address": {
"full": "8212 Barton Club Dr Unit 11-5, Austin, TX 78735",
"coordinates": {
"latitude": 30.29249,
"longitude": -97.85977
},
…
},
"beds": 3,
"baths": 3.5,
"sqft": 2660,
"lot_sqft": 10890,
"year_built": 2001,
"price_per_sqft": 12,
"property_type": {
"code": 1,
"slug": "house",
"label": "House"
},
"list_date": "2026-01-23T00:00:00+00:00",
"description": "TIMESHARE!! FRACTIONAL OWNERSHIP! …",
"photos": [
{
"url": "https://images.homes.com/listings/111/9890504574-604919412/8212-barton-club-dr-austin-tx-primaryphoto.jpg",
"width": 2048,
"height": 1536
},
…
],
…
},
…
]
},
"meta": {
"endpoint_family": "search",
…
"credits_charged": 1,
…
}
}
What should you watch for in this data?
Four details from the recording matter when you build on it. First, total was 4,617 but reachable_total was 700, and total_pages was 28: one query reaches at most 700 listings, so a full market needs several narrower queries. Second, each item has both an id (which appears in its url) and a separate listing_id; store both. Third, price and original_price are separate objects, so a price cut shows up as a difference between them.
Fourth, sorting by price_asc surfaced outliers: the first two results are fractional-ownership units at price.value: 32000 and price_per_sqft: 12, at the same street address with different unit values. If you're building a price model, set a min_price floor or filter on description before averaging. Each item also carries an agent object with a name, phone number and photo. Leave it out of what you store; the listing fields are what a tracker needs.
From a search result to one listing
The listing endpoint takes an id or a url, and every search item carries an id and a url, so the names match. The recorded calls don't include a listing lookup, so run one in the playground on the Homes.com listing endpoint page with an id from your search to see the fields it adds.
How do you sweep one search in Python?
Loop over page until has_next_page is false, and write the listing fields to CSV with the agent object left out. This script reads only fields that appear in the recorded response and stops on the first failed call, which costs 0 credits:
import csv
import datetime
import os
import requests
URL = "https://api.perceptlayer.com/v1/homes-com/search"
HEADERS = {"X-API-Key": os.environ["API_KEY"]}
PARAMS = {"location": "Austin, TX", "listing_type": "sale", "min_beds": 3, "sort": "price_asc"}
today = datetime.date.today().isoformat()
page = 1
with open("homes_austin.csv", "a", newline="") as f:
writer = csv.writer(f)
while True:
r = requests.get(URL, headers=HEADERS, params={**PARAMS, "page": page}, timeout=60)
if r.status_code != 200:
print("stopped at page", page, r.status_code)
break
data = r.json()["data"]
for item in data.get("items", []):
writer.writerow([
today,
item.get("id"),
item.get("listing_id"),
item.get("status"),
item.get("price", {}).get("value"),
item.get("original_price", {}).get("value"),
item.get("address", {}).get("full"),
item.get("beds"),
item.get("baths"),
item.get("sqft"),
item.get("price_per_sqft"),
item.get("list_date"),
])
if not data.get("pagination", {}).get("has_next_page"):
break
page += 1
For this search, the loop makes up to 28 calls. A free account runs 1 request a second, so the sweep takes under a minute; the rate limits docs cover the paid rates, and the errors docs list the codes a failed call can return.
How do you add neighborhood and school data?
Call /v1/homes-com/neighborhood or /v1/homes-com/school with an id, at 1 credit each. These answer the questions a listing alone doesn't: what the area around a home is like and which schools are near it. There's no recorded response for either here, so open them in the playground on the neighborhood endpoint page and the school endpoint page to see their fields before you design storage.
To find IDs, autocomplete takes a query and a type of neighborhood or school. Check its output in the playground for your area: if it returns an ID for each suggestion, that's the value to try on the neighborhood or school endpoint. How often to re-check them is up to you; the cost table below assumes weekly for neighborhoods and monthly for schools.
What does it cost per listing and per neighborhood?
Every Homes.com call costs 1 credit, and search returns a page of listings per call, so the cost per listing is 1 credit divided by the page size. In the recording, a page held 25 listings, so each listing cost 0.04 credits per sweep. Neighborhood and school lookups are one call each, so they cost 1 credit per area per check.
| Job | Arithmetic | Credits |
|---|---|---|
| Try the endpoints | A search, a listing, a neighborhood, a school | 4, out of the 100 free signup credits |
| Daily sweep of one 700-listing search | 28 calls × 30 days | 840 a month |
| Daily sweep of all 4,617 Austin listings | At least 185 calls (4,617 ÷ 25, split into price bands of up to 700) × 30 | At least 5,550 a month |
| 20 neighborhoods, weekly | 20 × 4 weeks | 80 a month |
| 50 schools, monthly | 50 × 1 | 50 a month |
The full Austin sweep plus 20 neighborhoods is about 5,630 credits a month, inside the Starter pack's 10,000. Split the market with min_price and max_price bands so each query's reachable_total covers it, and each band adds its own pages. See pricing for what credits cost and the credits docs for how they're debited.
To check the fields for your own market, run search with your location in the playground on the Homes.com API page, then get a free API key for the script. The real estate APIs page lists the other property sources, and Redfin Scraper or API covers a similar listing workflow.
APIs in this post
Frequently asked questions
How much does a Homes.com API call cost?
Every Homes.com endpoint costs 1 credit per successful call. A search call returns a page of listings, 25 in the recorded Austin search, so each listing costs 0.04 credits per sweep. Failed calls cost nothing and return X-Credits-Used: 0. The 100 free credits you get once on signup cover 100 calls.
How many listings can one search reach?
The recorded Austin search reported total: 4617 but reachable_total: 700 and total_pages: 28, so a single query reached 700 listings. To cover a larger market, split it into narrower searches with min_price and max_price bands, property_type[], a bounding_box or bed and bath filters, and page through each.
Can I get sold listings or rentals?
Yes. status takes active or sold, and listing_type takes sale or rent. For rentals, sort includes rent_asc. The recorded call used listing_type=sale and didn't set status, so run a sold or rent search in the playground to see how those responses look before you store them.
Does the response include agent details?
Each search item in the recording has an agent object with a name, agency, phone number and photo. There are also agent and agent-autocomplete endpoints. Leave agents' personal details out of what you store unless you have a lawful basis for keeping them, and don't use them to contact people.
Can an AI agent search Homes.com?
Yes. Add the MCP server at https://perceptlayer.com/mcp and the agent can find the Homes.com endpoints with search_endpoints and call them with call_endpoint, at 1 credit per successful call. The AI agents docs show the setup, including the Claude Code command.