APIs / Madlan / Analytics Sales History

Madlan: Analytics Sales History

Analytics Sales History from Madlan as JSON. 1 credit per successful call.

GET /v1/madlan/analytics-sales-history

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
period_yearsintegerOptionalAny

Example request

Madlan
GET/v1/madlan/analytics-sales-history?period_years=5
{
  "success": true,
  "period_years": 5,
  "returned": 6,
  "history": [
    {
      "year": 2021,
      "newPropertySales": 55400,
      "oldPropertySales": 95400
    },
    {
      "year": 2022,
      "newPropertySales": 39364,
      "oldPropertySales": 70839
    },
    {
      "year": 2023,
      "newPropertySales": 27643,
      "oldPropertySales": 42583
    }
  ],
  "notes": [
    "Counts are transactions, not prices. New and old property sales are reported separately."
  ],
  "meta": {
    "attempts": 1,
    "duration_ms": 500
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

The response has these 4 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
period_yearsinteger
returnedinteger
historyobject[]
notesstring[]