{
  "openapi": "3.0.1",
  "info": {
    "title": "UK Land Registry Price Paid — Valuation & Deal Finder",
    "description": "Turn HM Land Registry Price Paid data into decisions: fair value, comparable sales, deal-check verdicts, market scores, repeat-sale growth, street rankings and below-market deal finding across England & Wales. Deterministic, no AI, free government data.",
    "version": "1.7",
    "x-build-id": "OEEer5bdh2TtGYNKc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ryanclinton~uk-land-registry/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ryanclinton-uk-land-registry",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/ryanclinton~uk-land-registry/runs": {
      "post": {
        "operationId": "runs-sync-ryanclinton-uk-land-registry",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/ryanclinton~uk-land-registry/run-sync": {
      "post": {
        "operationId": "run-sync-ryanclinton-uk-land-registry",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "postcode": {
            "title": "Postcode",
            "type": "string",
            "description": "Full UK postcode (e.g. SW1A 2AA, M34 3BG). Must be exact match."
          },
          "town": {
            "title": "Town / City",
            "type": "string",
            "description": "Town or city name (e.g. LONDON, MANCHESTER). Case-insensitive, will be uppercased.",
            "default": "LONDON"
          },
          "street": {
            "title": "Street",
            "type": "string",
            "description": "Street name (e.g. HIGH STREET). Case-insensitive, will be uppercased."
          },
          "minPrice": {
            "title": "Minimum Price (GBP)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum sale price in GBP"
          },
          "maxPrice": {
            "title": "Maximum Price (GBP)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum sale price in GBP"
          },
          "propertyType": {
            "title": "Property Type",
            "enum": [
              "",
              "detached",
              "semi-detached",
              "terraced",
              "flat-maisonette"
            ],
            "type": "string",
            "description": "Filter by property type"
          },
          "dateFrom": {
            "title": "Date From",
            "type": "string",
            "description": "Start date in YYYY-MM-DD format (e.g. 2023-01-01)"
          },
          "dateTo": {
            "title": "Date To",
            "type": "string",
            "description": "End date in YYYY-MM-DD format (e.g. 2024-12-31)"
          },
          "maxResults": {
            "title": "Max Results",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum number of results to return (max 500)",
            "default": 50
          },
          "includeMarketSummary": {
            "title": "Include market summary",
            "type": "boolean",
            "description": "Append a single market-summary record to the dataset: median/min/max prices, affordability (entry/median/premium), price percentiles, by-property-type breakdown, freehold/leasehold split, new-build ratio, windowed trends (3m/12m/36m), market score, heat index, price volatility, transaction activity and a deterministic market-posture verdict. The summary record is never charged. Turn off for pure raw-transaction output.",
            "default": true
          },
          "analysisMode": {
            "title": "Analysis mode",
            "enum": [
              "market",
              "valuation",
              "investment",
              "street",
              "deal-check",
              "find-deals",
              "opportunity-scan",
              "transactions"
            ],
            "type": "string",
            "description": "Shapes what the run emits. 'market' (default): classified transactions + market summary + repeat-sale records. 'valuation': also emits ranked comparable-sale records. 'investment': emphasises repeat-sale gains, trends and scores. 'street': street-level breakdown. 'deal-check': a deal-check record comparing your askingPrice against a comparable-derived fair value. 'find-deals': a ranked list of below-market sales (opportunity-scan is the legacy alias). 'transactions': raw classified rows only. Derived records are never charged.",
            "default": "market"
          },
          "askingPrice": {
            "title": "Asking price (deal-check mode)",
            "minimum": 0,
            "type": "integer",
            "description": "Deal-check mode only. The asking/listed price to assess. The actor estimates a fair value from comparable sales and rates the asking price as underpriced / fair / overpriced."
          },
          "subjectStreet": {
            "title": "Subject street (valuation mode)",
            "type": "string",
            "description": "Valuation mode only. The street of the property you are valuing. Comparable sales are scored highest when on this street. Defaults to the Street filter if left blank."
          },
          "subjectPropertyType": {
            "title": "Subject property type (valuation mode)",
            "enum": [
              "",
              "detached",
              "semi-detached",
              "terraced",
              "flat-maisonette"
            ],
            "type": "string",
            "description": "Valuation mode only. The property type you are valuing (e.g. detached, flat-maisonette). Comparable sales of the same type score higher. Defaults to the Property Type filter if left blank."
          },
          "compareTowns": {
            "title": "Compare towns / cities",
            "maxItems": 8,
            "type": "array",
            "description": "Provide 2+ towns/cities to rank them head-to-head. The actor searches each area (using the price/type/date filters), scores its market, and emits an area-comparison record ranking them by market score with a winner. Overrides the single-area search. Max 8 areas.",
            "items": {
              "type": "string"
            }
          },
          "comparePostcodes": {
            "title": "Compare postcodes (portfolio)",
            "maxItems": 8,
            "type": "array",
            "description": "Provide 2+ postcodes to rank them head-to-head (portfolio view) — strongest/weakest market, highest liquidity, highest growth. Takes precedence over Compare towns. Overrides the single-area search. Max 8.",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}