# Homes.com API

> Homes.com returns homes for sale and listing details, available as a workflow and API.

Homes.com searches homes for sale by city and state, neighborhood, or ZIP code, with optional price, bedroom, bathroom, and home type filters. Search homes returns listing prices, addresses, property details, brokerage and agent names, photos, and days on market when shown.

- Page: https://fous.com/tools/homes-com
- Handle: `@homes-com`
- Category: [Real estate](https://fous.com/tools/category/real-estate)
- Source website: https://homes.com
- Last verified: Sep 30, 2026

## Methods

### Search homes

Operation `search_homes`, version 1. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.

Search Homes.com homes for sale in a US city, neighborhood, or ZIP code. Returns listings in site order; days on market is null when not shown.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `location` | string | yes | `"Nashville, TN"` | City and state, neighborhood, or ZIP code, such as Nashville, TN. |
| `min_beds` | integer | no | `2` | Minimum bedrooms, such as 3. |
| `home_type` | string | no | `"condo"` | Type of home, such as condo; any includes all types. |
| `max_price` | integer | no | `700000` | Maximum listing price in USD; 0 means no maximum, such as 700000. |
| `min_baths` | integer | no | `2` | Minimum bathrooms, such as 2. |
| `min_price` | integer | no | `300000` | Minimum listing price in USD, such as 300000. |
| `max_results` | integer | no | `20` | Maximum listings to return, such as 20. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "location"
  ],
  "properties": {
    "location": {
      "type": "string",
      "minLength": 1,
      "description": "City and state, neighborhood, or ZIP code, such as Nashville, TN.",
      "examples": [
        "Nashville, TN",
        "Green Hills, Nashville, TN",
        "37203"
      ]
    },
    "min_beds": {
      "type": "integer",
      "default": 0,
      "minimum": 0,
      "description": "Minimum bedrooms, such as 3.",
      "examples": [
        2
      ]
    },
    "home_type": {
      "enum": [
        "any",
        "house",
        "condo",
        "townhouse",
        "multi_family",
        "land"
      ],
      "type": "string",
      "default": "any",
      "description": "Type of home, such as condo; any includes all types.",
      "examples": [
        "condo",
        "house",
        "townhouse"
      ]
    },
    "max_price": {
      "type": "integer",
      "default": 0,
      "maximum": 2147483647,
      "minimum": 0,
      "description": "Maximum listing price in USD; 0 means no maximum, such as 700000.",
      "examples": [
        700000,
        99999999
      ]
    },
    "min_baths": {
      "type": "integer",
      "default": 0,
      "minimum": 0,
      "description": "Minimum bathrooms, such as 2.",
      "examples": [
        2
      ]
    },
    "min_price": {
      "type": "integer",
      "default": 0,
      "maximum": 2147483647,
      "minimum": 0,
      "description": "Minimum listing price in USD, such as 300000.",
      "examples": [
        300000,
        99000000
      ]
    },
    "max_results": {
      "type": "integer",
      "default": 20,
      "maximum": 100,
      "minimum": 1,
      "description": "Maximum listings to return, such as 20.",
      "x-fous-developer": true,
      "examples": [
        20,
        45,
        10
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "location": "Nashville, TN",
      "min_beds": 2,
      "home_type": "condo",
      "max_price": 700000,
      "min_baths": 2,
      "min_price": 300000,
      "max_results": 20
    },
    {
      "location": "Nashville, TN",
      "max_results": 45
    },
    {
      "location": "Nashville, TN",
      "max_price": 99999999,
      "min_price": 99000000
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `homes` | array |  | Homes for sale in site order. |
| `homes[].beds` | number or null | `2` | Number of bedrooms. |
| `homes[].baths` | number or null | `2` | Number of bathrooms. |
| `homes[].price` | number or null | `649900` | Listing price in USD. |
| `homes[].address` | string | `"239 Rep John Lewis Way N Unit 302, Nashville, TN 37219"` | Full listing address. |
| `homes[].currency` | string | `"USD"` | Currency code, USD. |
| `homes[].brokerage` | string or null | `"Berkshire Hathaway HomeServices Woodmont Realty"` | Listing brokerage name. |
| `homes[].home_type` | string or null | `"condo"` | Property type shown for this home. |
| `homes[].listing_id` | string | `"jz4hhgd7g947w"` | Homes.com listing identifier. |
| `homes[].photo_link` | string or null | `"https://images.homes.com/listings/115/2137775805-921873232/239-rep-john-lewis-way-n-nashville-tn-primaryphoto.jpg"` | Primary listing photo link. |
| `homes[].square_feet` | number or null | `1370` | Interior area in square feet. |
| `homes[].listing_link` | string | `"https://www.homes.com/property/239-rep-john-lewis-way-n-nashville-tn-unit-302/dtdp95c3jz6b2/"` | Homes.com listing page link. |
| `homes[].listing_agent` | string or null | `"Tevis Denise"` | Listing agent name. |
| `homes[].days_on_market` | integer or null |  | Days on market when shown. |

**Example input**

```json
{
  "location": "Nashville, TN",
  "min_beds": 2,
  "home_type": "condo",
  "max_price": 700000,
  "min_baths": 2,
  "min_price": 300000,
  "max_results": 20
}
```

**Example output**

```json
{
  "homes": [
    {
      "beds": 2,
      "baths": 2,
      "price": 649900,
      "address": "239 Rep John Lewis Way N Unit 302, Nashville, TN 37219",
      "currency": "USD",
      "brokerage": "Berkshire Hathaway HomeServices Woodmont Realty",
      "home_type": "condo",
      "listing_id": "jz4hhgd7g947w",
      "photo_link": "https://images.homes.com/listings/115/2137775805-921873232/239-rep-john-lewis-way-n-nashville-tn-primaryphoto.jpg",
      "square_feet": 1370,
      "listing_link": "https://www.homes.com/property/239-rep-john-lewis-way-n-nashville-tn-unit-302/dtdp95c3jz6b2/",
      "listing_agent": "Tevis Denise",
      "days_on_market": null
    },
    {
      "beds": 2,
      "baths": 2,
      "price": 349000,
      "address": "400 Herron Dr Unit 421, Nashville, TN 37210",
      "currency": "USD",
      "brokerage": "simpliHOM",
      "home_type": "condo",
      "listing_id": "821qkqcwjv01c",
      "photo_link": "https://images.homes.com/listings/115/9249416305-848964132/400-herron-dr-nashville-tn-primaryphoto.jpg",
      "square_feet": 1020,
      "listing_link": "https://www.homes.com/property/400-herron-dr-nashville-tn-unit-421/swxyzm5wez7vw/",
      "listing_agent": "Mike Cimorelli",
      "days_on_market": null
    },
    {
      "beds": 2,
      "baths": 2,
      "price": 325000,
      "address": "1808 State St Unit 307, Nashville, TN 37203",
      "currency": "USD",
      "brokerage": "Compass",
      "home_type": "condo",
      "listing_id": "46fg1exk61134",
      "photo_link": "https://images.homes.com/listings/115/4185041705-576329232/1808-state-st-nashville-tn-primaryphoto.jpg",
      "square_feet": 800,
      "listing_link": "https://www.homes.com/property/1808-state-st-nashville-tn-unit-307/dqfrdq0jmv270/",
      "listing_agent": "Carla Radford",
      "days_on_market": null
    }
  ]
}
```

## Quick start

Replace `YOUR_API_KEY` with a Fous API key. To create one, open Developers at the bottom of Fous Studio, turn on Developer mode, then go to API keys (https://app.fous.com/keys). Change the values in `input` to run the same tool on new data.

```bash
curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 180 \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@homes-com",
  "visibility": "public",
  "operation": "search_homes",
  "version": 1,
  "input": {
    "location": "Nashville, TN",
    "min_beds": 2,
    "home_type": "condo",
    "max_price": 700000,
    "min_baths": 2,
    "min_price": 300000,
    "max_results": 20
  },
  "response": {
    "format": "json"
  }
}'
```

```python
# Save as fous.py and run with python3 fous.py. No packages needed.
import json
import urllib.error
import urllib.request

api_key = "YOUR_API_KEY"

body = json.loads("{\n  \"api\": \"@homes-com\",\n  \"visibility\": \"public\",\n  \"operation\": \"search_homes\",\n  \"version\": 1,\n  \"input\": {\n    \"location\": \"Nashville, TN\",\n    \"min_beds\": 2,\n    \"home_type\": \"condo\",\n    \"max_price\": 700000,\n    \"min_baths\": 2,\n    \"min_price\": 300000,\n    \"max_results\": 20\n  },\n  \"response\": {\n    \"format\": \"json\"\n  }\n}")
request = urllib.request.Request(
    "https://api.fous.com/v1/query",
    data=json.dumps(body).encode("utf-8"),
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    method="POST",
)
try:
    with urllib.request.urlopen(request, timeout=180) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError(f"HTTP {error.code}: {error.read().decode('utf-8', errors='replace')}") from error
if result.get("success") is False:
    raise RuntimeError(result.get("error", {}).get("message", "Request failed"))
print(json.dumps(result["data"]["output"], indent=2))
```

```typescript
// Save as fous.mts and run with npx tsx fous.mts.
const apiKey = "YOUR_API_KEY";

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(180_000),
  body: JSON.stringify({
  "api": "@homes-com",
  "visibility": "public",
  "operation": "search_homes",
  "version": 1,
  "input": {
    "location": "Nashville, TN",
    "min_beds": 2,
    "home_type": "condo",
    "max_price": 700000,
    "min_baths": 2,
    "min_price": 300000,
    "max_results": 20
  },
  "response": {
    "format": "json"
  }
}),
});
type ApiResult = { success: boolean; data?: { output: unknown }; error?: { message: string } };
const result: ApiResult = await response.json();
if (!response.ok || result.success === false) {
  throw new Error(result.error?.message ?? `HTTP ${response.status}`);
}
if (!result.data) throw new Error("Missing API response data");
console.log(result.data.output);
```

## Use from an AI assistant

Connect this tool to Claude Code, Claude Desktop, Cursor, VS Code, Codex and any MCP client as its own MCP server. Each method is a typed tool whose arguments are the method’s input.

- Server URL: `https://api.fous.com/mcp/tools/homes-com`
- Authorization: `Authorization: Bearer <Fous API key>`

**Tools**

- `search_homes`: Search homes. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.
- `fous_get_run`: the result of a run that was still going, by its `request_id`. Free.

Claude Code:

```bash
claude mcp add --scope user --transport http fous-homes-com https://api.fous.com/mcp/tools/homes-com --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"
```

To give the assistant every tool, connect `https://api.fous.com/mcp`: it finds one with `fous_search_tools` and runs it with `fous_run_tool`. Setup for other clients: https://fous.com/llms-full.txt.

## Use cases

- Compare home listings by location and price.
- Find homes that meet bedroom and bathroom criteria.
- Review listing details and brokerage information.
- Track days on market when shown.

## FAQ

### Can I run it with my own inputs?

Yes. Change the inputs in Studio and press Run, or send new inputs from your code, or ask a connected AI assistant.

### Can I call this Homes.com tool as an API?

Yes. Send a POST request to /v1/query with your Fous API key and the inputs, and get JSON back.

### How much does it cost?

Each completed run costs 1 credit. Failed runs without a completed receipt are free; completed work can remain charged if delivery is interrupted. With pay as you go, a credit costs 1¢. Monthly plans cost less per credit.

### Do I need a Homes.com account?

No. You only need a Fous account.

### How current is the data?

Fous gets the data from homes.com when you run it. Some results are reused for up to 24 hours, and results that use your account or key are never reused. It was last verified on Sep 30, 2026.

### What homes are for sale in a location?

Search homes returns homes for sale in site order for a city and state, neighborhood, or ZIP code.

### What is a home's price, address, and property type?

Search homes returns each listing's price, full address, and home type.

### How long has a home been on the market?

Search homes returns days on market when shown.

## Related

- [Realtor.com API](https://fous.com/tools/realtor-com.md): Realtor.com returns home listings for sale, rent, or recently sold, property details and estimates, and local agent profiles; some fields or sold prices may be missing.
- [Zillow API](https://fous.com/tools/zillow.md): Zillow provides homes for sale, rental listings, home details, estimates, and housing market figures; rental details, history, schools, estimates, and market figures may be missing or reflect different reporting dates.
- [Redfin API](https://fous.com/tools/redfin.md): Redfin provides publicly listed homes, details, estimates, and latest area market figures with up to 12 months of sale prices; some data may be unavailable.
- [Apartments.com API](https://fous.com/tools/apartments-com.md): Apartments.com returns U.S. apartments and homes matching location and optional filters, plus community details; rent and availability may be missing or change.
- [Domain.com.au API](https://fous.com/tools/domain-com-au.md): Search Australian homes for sale, rent and recently sold on Domain.
- [Zoopla API](https://fous.com/tools/zoopla.md): UK homes for sale and to rent.
- [Rightmove API](https://fous.com/tools/rightmove.md): Rightmove searches UK homes for sale or rent and finds recent sold prices; searches return up to 100 listings, and area averages reflect returned properties only.
- [Cars.com API](https://fous.com/tools/cars-com.md): Cars.com finds car listings by make, model, and U.S. ZIP code, and provides dealerships’ latest customer reviews when available.
- [All Real estate tools](https://fous.com/tools/category/real-estate)
