---
title: "Market Data API — 3 Endpoints | Homesage.ai"
description: "Measure US housing market activity by ZIP code. 3 endpoints covering sold listings, sale counts over 365 days, and mortgage and lien analysis by property."
---

# Market Data

The Homesage.ai Market Data API reports activity at ZIP-code level rather than for a single property. Use the sold count to gauge liquidity for 1 credit, then pull the full sold list (1 credit per 20 properties) when a market is worth deeper analysis. Mortgage and lien analysis costs 5 credits per property.

## [List residential properties sold in a ZIP in the last 365 days](https://app.homesage.ai/docs/market-data/sold-by-zip)

`GET /api/properties/sold/by-zip/`

Every residential property sold in a given US ZIP code within the last 365 days, with sale date, sale price, coordinates, and basic property characteristics (bed/bath, square footage, year built, lot size).

## [Count of sold properties in a ZIP in the last 365 days](https://app.homesage.ai/docs/market-data/sold-count-by-zip)

`GET /api/properties/sold/count-by-zip/`

Just the count of residential properties sold in a ZIP within the last 365 days.

## [Mortgage and lien data for a US property](https://app.homesage.ai/docs/market-data/mortgage-lien-analysis)

`GET /api/mortgage-lien/analysis/`

Mortgage and lien records for a US property — current and historical mortgages, lien summary, involuntary liens, pre-foreclosure status, and data quality metadata.
