US real estate market statistics by zip code — sale and rental trends via pay-per-call MPP.
What it does
The RentCast Market Statistics endpoint (`/rentcast/markets`) returns historical market data for a given US zip code. You can request sale statistics, rental statistics, or both, with a configurable history range (default 12 months). The endpoint is part of a broader RentCast suite hosted on the Locus MPP gateway that also includes property records, AVM valuations, rent estimates, and active sale/rental listings.
This specific endpoint accepts a POST request with a required `zipCode` parameter, an optional `dataType` filter ("Sale", "Rental", or "All"), and an optional `historyRange` specifying how many months of historical data to include. Each call costs 33,000 base units of pathUSD on Tempo L2, which equals $0.033 per request (pathUSD uses 6 decimals). Payment is handled via the MPP protocol's charge intent — no API key or subscription required; each call is settled individually.
The OpenAPI spec is well-defined with clear parameter descriptions. However, the probe did not capture a live 402 challenge on HEAD/GET (the endpoint expects POST), and no response schema is documented, so the exact shape of the returned market statistics data is not confirmed from the probe material alone. The upstream RentCast API documentation at developers.rentcast.io provides additional reference.
Capabilities
Use cases
- —Retrieve historical sale and rental price trends for a US zip code to inform investment decisions
- —Compare market conditions across multiple zip codes for portfolio analysis
- —Feed market statistics into automated real estate valuation pipelines
- —Power dashboards showing local housing market trends over time
- —Provide agents with on-demand market context when answering real estate questions
Fit
Best for
- —AI agents needing on-demand US housing market data without API key management
- —Real estate analytics pipelines that benefit from per-call pricing
- —Developers building zip-code-level market trend dashboards
Not for
- —Non-US real estate markets — data is US-only
- —High-frequency bulk data pulls where a subscription API would be more cost-effective
- —Detailed property-level data (use the companion property records or valuation endpoints instead)
Quick start
curl -X POST https://rentcast.mpp.paywithlocus.com/rentcast/markets \
-H "Content-Type: application/json" \
-d '{"zipCode": "78701", "dataType": "All", "historyRange": 12}'Example
Request
{
"zipCode": "78701",
"dataType": "All",
"historyRange": 12
}Endpoint
Quality
The OpenAPI spec provides clear request schemas and pricing metadata for this endpoint and the broader RentCast suite. However, the probe did not capture a live 402 challenge (endpoint expects POST, probe tried HEAD/GET), no response schema is documented, and no example responses are available. The crawl pages all returned 404 since the gateway only serves defined API paths.
Warnings
- —Probe returned 404 on HEAD/GET — endpoint requires POST method; liveness not confirmed via probe but OpenAPI spec declares it
- —No response schema documented — the shape of returned market statistics data is unknown from available material
- —Currency address 0x20c0...8b50 assumed to be pathUSD with 6 decimals based on Tempo L2 convention; not independently verified
Citations
- —The /rentcast/markets endpoint accepts zipCode (required), dataType, and historyRange parameters via POSThttps://rentcast.mpp.paywithlocus.com
- —Each call costs 33,000 base units settled via Tempo method with charge intenthttps://rentcast.mpp.paywithlocus.com
- —RentCast provides US real estate intelligence including property records, AVM valuations, rent estimates, sale/rental listings, and market statisticshttps://rentcast.mpp.paywithlocus.com
- —Upstream API reference available at developers.rentcast.iohttps://developers.rentcast.io/reference/introduction