# Home Comparable Sales

> Home Comparable Sales is a paid API for AI agents from agentbodega.store, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-14).

Returns recently sold home comparables (comps) for a given region or geographic area, filtered by price, beds, baths, and recency.

## Facts

- Endpoint: POST https://agentbodega.store/api/public-data/home-comparable-sales
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/home-comparable-sales-7091e53f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OlF6ohlzPmRHOuOzomwlS

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability home-comparable-sales-7091e53f -d '<json body>'
```

Example prompt: Can you pull recent home comp sales in San Francisco for 3-bed, 2-bath homes sold in the last 60 days, priced between $900K and $1.5M?

## When to prefer this

Use this endpoint when you need structured, filterable recently-sold home comparable data by geography (lat/lon radius or market/region), especially when building CMAs, pricing models, or buyer offer analyses. It accepts granular filters (price, beds, baths, recency) and returns structured comps ready for analysis — ideal for real estate agents, buyers, investors, or automated valuation workflows paying per-call via x402.

## Known failure modes

- No comps found for overly restrictive filter combinations (too narrow price range + location + recency)
- Invalid or unsupported regionId/regionType returns empty or error result
- Missing both lat/lon and regionId may yield no results
- Unsupported market string returns no data
- soldWithinDays set too short may return zero comps in slow markets

## How this service works

Small x402-payable utility APIs for agents: endpoint inspection, launch checks, and hosted artifacts.

## Output

Returns a JSON object with a list of comparable sold homes including address, sale price, sold date, beds, baths, and square footage, plus a subject object identifying the queried market and region ID.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "body": {
     "fields": [
      {
       "name": "regionId",
       "type": "string",
       "required": false
      },
      {
       "name": "regionType",
       "type": "integer",
       "required": false
      },
      {
       "name": "market",
       "type": "string",
       "required": false
      },
      {
       "name": "lat",
       "type": "number",
       "required": false
      },
      {
       "name": "lon",
       "type": "number",
       "required": false
      },
      {
       "name": "radiusMiles",
       "type": "number",
       "required": false
      },
      {
       "name": "soldWithinDays",
       "type": "integer",
       "required": false
      },
      {
       "name": "minPrice",
       "type": "integer",
       "required": false
      },
      {
       "name": "maxPrice",
       "type": "integer",
       "required": false
      },
      {
       "name": "minBeds",
       "type": "integer",
       "required": false
      },
      {
       "name": "maxBeds",
       "type": "integer",
       "required": false
      },
      {
       "name": "minBaths",
       "type": "number",
       "required": false
      }
     ],
     "required": [],
     "fieldCount": 15,
     "contentType": "application/json",
     "optionalPreview": [
      "regionId",
      "regionType",
      "market",
      "lat",
      "lon",
      "radiusMiles",
      "soldWithinDays",
      "minPrice",
      "maxPrice",
      "minBeds",
      "maxBeds",
      "minBaths"
     ],
     "omittedFieldCount": 3
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json"
     ],
     "type": "string"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tool": {
   "id": "home-comparable-sales",
   "name": "Home Comparable Sales",
   "department": "Public Data"
  },
  "result": {
   "comps": [
    {
     "beds": 3,
     "sqft": 1420,
     "baths": 2,
     "price": 1275000,
     "address": "123 Example St",
     "sold_date": "2026-05-15"
    }
   ],
   "subject": {
    "market": "sanfrancisco",
    "region_id": "17151"
   }
  },
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/home-comparable-sales-7091e53f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentbodega.store](https://www.zero.xyz/host/agentbodega.store/llms.txt)
