{
  "openapi": "3.0.1",
  "info": {
    "title": "Rightmove Sold House Prices Scraper - UK Land Registry Data",
    "description": "Rightmove sold house prices scraper and API: UK Land Registry sold prices by town, postcode district or postcode. Address, type, beds, last sold price + date, tenure, new build, previous sale, % change, sale history, lat/lng. For comps and monthly monitoring. $0.50 per 1,000, no start fee.",
    "version": "1.0",
    "x-build-id": "aKEYyKW55gK4W2pG4"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rel8ble~rightmove-sold-prices-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rel8ble-rightmove-sold-prices-scraper",
        "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/rel8ble~rightmove-sold-prices-scraper/runs": {
      "post": {
        "operationId": "runs-sync-rel8ble-rightmove-sold-prices-scraper",
        "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/rel8ble~rightmove-sold-prices-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-rel8ble-rightmove-sold-prices-scraper",
        "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": {
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "UK places, one per line, as Rightmove names them on its house prices pages: a town or city (\"Bristol\", \"Milton Keynes\", \"St Albans\"), a borough (\"Westminster\"), a postcode district (\"SW1A\", \"M1\") or a full postcode (\"BS13 8LE\"). Each line is one search (x each property type below). You can also paste rightmove.co.uk/house-prices URLs here. Typical: 1-100 lines.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Rightmove house prices URLs",
            "type": "array",
            "description": "Optional. rightmove.co.uk/house-prices pages, e.g. \"https://www.rightmove.co.uk/house-prices/bristol.html?propertyType=FLAT&soldIn=1\". Their own filters are kept and all pages are read. Property detail pages (/house-prices/details/...) are not read (robots.txt bars them).",
            "items": {
              "type": "string"
            }
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "Optional. One search per type for every location: FLAT, DETACHED, SEMI_DETACHED, TERRACED, OTHER. Empty = all types in one search. Splitting by type also gets you past Rightmove's 1,000-per-search cap.",
            "items": {
              "type": "string",
              "enum": [
                "ANY",
                "FLAT",
                "DETACHED",
                "SEMI_DETACHED",
                "TERRACED",
                "OTHER"
              ]
            }
          },
          "tenure": {
            "title": "Tenure",
            "enum": [
              "ANY",
              "FREEHOLD",
              "LEASEHOLD"
            ],
            "type": "string",
            "description": "Freehold or leasehold only, or both (default). Applied by Rightmove.",
            "default": "ANY"
          },
          "soldWithinYears": {
            "title": "Sold within",
            "enum": [
              "0",
              "1",
              "2",
              "3",
              "5",
              "10",
              "15",
              "20",
              "30"
            ],
            "type": "string",
            "description": "Only sales in the last N years (Rightmove options). Default all years since 1995.",
            "default": "0"
          },
          "radius": {
            "title": "Radius (miles)",
            "enum": [
              "0",
              "0.25",
              "0.5",
              "1",
              "3",
              "5",
              "10",
              "15",
              "20",
              "30",
              "40"
            ],
            "type": "string",
            "description": "Include sales around the location, as on Rightmove. Default this area only.",
            "default": "0"
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "newest",
              "highestPrice",
              "lowestPrice",
              "address"
            ],
            "type": "string",
            "description": "Order of results, as on Rightmove. \"newest\" (default) lets soldAfter stop a search early.",
            "default": "newest"
          },
          "maxResultsPerSearch": {
            "title": "Max properties per search",
            "minimum": 0,
            "type": "integer",
            "description": "Rows per location x property type (or URL). 0 = all Rightmove shows (at most 1,000 per search: 40 pages of 25).",
            "default": 50
          },
          "maxResults": {
            "title": "Max properties in total",
            "minimum": 0,
            "type": "integer",
            "description": "Stop the whole run after this many rows. 0 = no limit.",
            "default": 0
          },
          "minPrice": {
            "title": "Minimum last sold price (GBP)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Keep properties whose last sale was at least this. Filtered rows are free."
          },
          "maxPrice": {
            "title": "Maximum last sold price (GBP)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Keep properties whose last sale was at most this. Filtered rows are free."
          },
          "soldAfter": {
            "title": "Sold on or after",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
            "type": "string",
            "description": "Optional. YYYY-MM-DD: keep properties whose last sale is on or after this date. With the default sort the search stops once older sales start."
          },
          "soldBefore": {
            "title": "Sold on or before",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
            "type": "string",
            "description": "Optional. YYYY-MM-DD: keep properties whose last sale is on or before this date."
          },
          "newBuildOnly": {
            "title": "New builds only",
            "type": "boolean",
            "description": "Keep only properties whose last sale was a new build.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Parallel page requests (requests are also paced). Default 4.",
            "default": 4
          },
          "maxRequestRetries": {
            "title": "Max retries per page",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Retries with a new session / IP when a page fails.",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify datacenter proxy by default (Rightmove serves it). Residential is not needed.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}