# RentCast Market Statistics via Locus x402

> RentCast Market Statistics via Locus x402 is a paid API for AI agents from rentcast.x402.paywithlocus.com, paid per call via x402, $0.033/call, status unknown (last checked 2026-09-14).

Returns historical and current real estate market statistics (sales and/or rentals) for a US zip code, including pricing trends and inventory data over a configurable time range.

## Facts

- Endpoint: POST https://rentcast.x402.paywithlocus.com/rentcast/markets
- Price: $0.033/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rentcast-market-statistics-via-locus-x402-bd350e53
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7MbJ4I5q19nvmUY_ye0cZ

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 rentcast-market-statistics-via-locus-x402-bd350e53 -d '<json body>'
```

Example prompt: Pull RentCast market statistics for zip code 78701 covering both sales and rentals for the past 12 months — I want to see how the Austin market has been trending.

## When to prefer this

Use this endpoint when you need aggregate market-level statistics and trends for a US zip code — such as median prices, inventory, and days on market over time — rather than data about a specific property. Prefer this over property-level endpoints when the goal is understanding market conditions, price trends, or supply/demand dynamics for investment research, tenant decision-making, or market reporting.

## Known failure modes

- Invalid or non-existent zip code returns empty or error data
- dataType value outside 'Sale', 'Rental', 'All' may cause a validation error
- historyRange set beyond available data coverage may return partial results
- Payment failure or insufficient USDC balance results in 402 response
- Network or upstream RentCast API outage may cause 5xx errors

## How this service works

Locus public pay-per-use API

## Output

A JSON object containing real estate market statistics for the requested zip code, including metrics such as median sale prices, median rental prices, inventory counts, days on market, and historical trend data over the specified month range, split by sale and/or rental data types as requested. Also includes payment confirmation and a request tracking ID.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "zipCode": {
   "type": "string"
  },
  "dataType": {
   "type": "string"
  },
  "historyRange": {
   "type": "number"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "payment": {
   "scheme": "exact",
   "settledUsdc": "0.001000",
   "authorizedMaxUsdc": "0.001000"
  },
  "request": {
   "id": "00000000-0000-4000-8000-000000000000",
   "statusUrl": "/requests/00000000-0000-4000-8000-000000000000"
  },
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rentcast-market-statistics-via-locus-x402-bd350e53/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rentcast.x402.paywithlocus.com](https://www.zero.xyz/host/rentcast.x402.paywithlocus.com/llms.txt)
