{
  "openapi": "3.0.1",
  "info": {
    "title": "UK Property Sold Prices & Listings - Land Registry",
    "description": "UK property data without login: every sold price from HM Land Registry by postcode, street, town, district or county, and homes for sale and to rent from Rightmove with price, bedrooms, agent and location. Filters, no 1,000 limit. Export to Excel, CSV or API.",
    "version": "0.1",
    "x-build-id": "2BnRKAZLI2EB7Gigj"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/pshivam~uk-property-sold-prices-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-pshivam-uk-property-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/pshivam~uk-property-sold-prices-scraper/runs": {
      "post": {
        "operationId": "runs-sync-pshivam-uk-property-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/pshivam~uk-property-sold-prices-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-pshivam-uk-property-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": {
          "recordType": {
            "title": "What to get",
            "enum": [
              "sold",
              "forSale",
              "toRent"
            ],
            "type": "string",
            "description": "Sold prices from HM Land Registry, homes for sale from Rightmove, or homes to rent from Rightmove.",
            "default": "sold"
          },
          "locations": {
            "title": "Places",
            "type": "array",
            "description": "One place per line. Sold prices: a full postcode (M1 1AE), a town (Manchester), or district:, county: or street: followed by the name (street: Newton Street, Manchester). Listings: a town, a postcode, a place name, or a Rightmove address or identifier (REGION^904). Leave empty to use an example.",
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Minimum price (£)",
            "minimum": 0,
            "maximum": 1000000000,
            "type": "integer",
            "description": "Only prices from this amount: the price paid, the asking price or the monthly rent."
          },
          "maxPrice": {
            "title": "Maximum price (£)",
            "minimum": 0,
            "maximum": 1000000000,
            "type": "integer",
            "description": "Only prices up to this amount."
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "Only these types. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "detached",
                "semi-detached",
                "terraced",
                "flat",
                "other"
              ],
              "enumTitles": [
                "Detached",
                "Semi-detached",
                "Terraced",
                "Flat or maisonette",
                "Other"
              ]
            }
          },
          "dateFrom": {
            "title": "Sold from (sold prices)",
            "type": "string",
            "description": "Sold prices: only sales on or after this date, written 2024-01-31."
          },
          "dateTo": {
            "title": "Sold until (sold prices)",
            "type": "string",
            "description": "Sold prices: only sales on or before this date, written 2024-12-31."
          },
          "tenure": {
            "title": "Tenure (sold prices)",
            "enum": [
              "any",
              "freehold",
              "leasehold"
            ],
            "type": "string",
            "description": "Sold prices: freehold or leasehold.",
            "default": "any"
          },
          "newBuild": {
            "title": "New builds (sold prices)",
            "enum": [
              "any",
              "only",
              "exclude"
            ],
            "type": "string",
            "description": "Sold prices: only sales of newly built properties, or leave them out.",
            "default": "any"
          },
          "minBedrooms": {
            "title": "Minimum bedrooms (listings)",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Listings: at least this many bedrooms (0 is a studio)."
          },
          "maxBedrooms": {
            "title": "Maximum bedrooms (listings)",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Listings: at most this many bedrooms."
          },
          "radiusMiles": {
            "title": "Radius in miles (listings)",
            "enum": [
              "0",
              "0.25",
              "0.5",
              "1",
              "3",
              "5",
              "10",
              "15",
              "20",
              "30",
              "40"
            ],
            "type": "string",
            "description": "Listings: also include properties within this distance of the place.",
            "default": "0"
          },
          "maxDaysSinceAdded": {
            "title": "Added within (listings)",
            "enum": [
              "0",
              "1",
              "3",
              "7",
              "14"
            ],
            "type": "string",
            "description": "Listings: only those added to Rightmove in this time.",
            "default": "0"
          },
          "includeSoldSTC": {
            "title": "Include sold subject to contract (listings)",
            "type": "boolean",
            "description": "Listings for sale: also those marked sold subject to contract.",
            "default": false
          },
          "splitLargeSearches": {
            "title": "Go beyond 1,008 listings (listings)",
            "type": "boolean",
            "description": "Rightmove shows at most 1,008 results for one search. When a search has more, the Actor cuts it into price bands and reads each band, so you get all of them.",
            "default": true
          },
          "onlyNew": {
            "title": "Only new records",
            "type": "boolean",
            "description": "Skip properties that earlier runs of this same input already returned, so you get and pay for new ones only. The first run works as usual and remembers what it returned, in your key-value store 'uk-property-sold-prices-scraper-only-new'.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum records",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Stop after this many properties. You are charged per propertie returned.",
            "default": 100
          },
          "maxConcurrency": {
            "title": "Places at the same time",
            "minimum": 1,
            "maximum": 4,
            "type": "integer",
            "description": "How many places are read at the same time.",
            "default": 2
          },
          "secondsBetweenRequests": {
            "title": "Seconds between requests",
            "minimum": 0,
            "maximum": 60,
            "type": "number",
            "description": "Pause between requests. If a source asks the Actor to slow down, the Actor lets its address rest, lengthens the pause and uses the proxy meanwhile.",
            "default": 1
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "On by default. The Actor reads with its own address and uses the proxy only while its address rests after a refusal, so almost no proxy traffic is used.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}