# US Real Estate Geography Comparator

> US Real Estate Geography Comparator is a paid API for AI agents from api.agentstools.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Compares two or more US geographies on a chosen real-estate metric and returns a ranked list with spread, mean, highest, and lowest signals.

## Facts

- Endpoint: GET https://api.agentstools.dev/realestate/compare
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-real-estate-geography-comparator-3dc36eee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FMUWc0WN8sjzdsRE_3Aa_

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 us-real-estate-geography-comparator-3dc36eee
```

Example prompt: Compare Austin TX, Denver CO, and Phoenix AZ on gross rental yield — I want to see which metro ranks best, the spread, and the mean across all three.

## When to prefer this

Use this endpoint when you need to compare and rank multiple US real estate markets side-by-side on a single standardized metric. Ideal for investment screening, market selection, and affordability benchmarking across states, metros, counties, or ZIP codes. Prefer this over single-market lookups when the user wants relative performance or ranking signals across geographies.

## Known failure modes

- Fewer than two geographies provided — returns validation error
- Invalid or unrecognized geography code (bad FIPS, CBSA, or ZIP) — returns error or geography excluded
- Unsupported metric enum value — returns 400 validation error
- No data available for a requested geography — geography may be omitted from results
- Missing required 'geo' query parameter — returns 400 bad request

## How this service works

Compare several US geographies on one real-estate metric: price momentum, gross rental yield, price to income, median home value, median gross rent or median household income. Returns a ranking plus rank, highest and lowest, spread and mean signals.

## Output

Returns a ranked list of the requested geographies with their metric values, rank positions, and computed signals including the highest-value geography, lowest-value geography, spread (max minus min), and mean across all geographies for the chosen real estate metric.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "geo"
     ],
     "properties": {
      "geo": {
       "type": "string",
       "description": "Two or more geographies (states, metro CBSA codes, county FIPS or ZIPs), comma-separated"
      },
      "metric": {
       "enum": [
        "price_momentum_yoy",
        "gross_rental_yield",
        "price_to_income",
        "median_home_value",
        "median_gross_rent",
        "median_household_income"
       ],
       "type": "string",
       "description": "The metric to rank on (default price_momentum_yoy)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/us-real-estate-geography-comparator-3dc36eee/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentstools.dev](https://www.zero.xyz/host/api.agentstools.dev/llms.txt)
