{
  "openapi": "3.0.1",
  "info": {
    "title": "Land Registry Price Paid UK",
    "description": "Scrapes the UK HM Land Registry Price Paid Data. Search by address, postcode, town or street and filter by date range, price, property type, and estate type. Covers residential property sales in England and Wales from 1995 onwards.",
    "version": "0.0",
    "x-build-id": "6ATSc6u7yilrT2oAW"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nocodeventure~land-registry-price-paid-uk/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nocodeventure-land-registry-price-paid-uk",
        "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/nocodeventure~land-registry-price-paid-uk/runs": {
      "post": {
        "operationId": "runs-sync-nocodeventure-land-registry-price-paid-uk",
        "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/nocodeventure~land-registry-price-paid-uk/run-sync": {
      "post": {
        "operationId": "run-sync-nocodeventure-land-registry-price-paid-uk",
        "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 (narrowing filter only)",
            "type": "string",
            "description": "UK postcode as an additional filter (e.g. BD6 3QX). Must be combined with Street or Building Name — postcode alone causes server timeouts. Use Street + Town for area searches."
          },
          "buildingName": {
            "title": "Building Name / Number",
            "type": "string",
            "description": "House number or building name (PAON). Combined with postcode this uniquely identifies a single property."
          },
          "unitName": {
            "title": "Flat / Unit Number",
            "type": "string",
            "description": "Flat or unit number (SAON — secondary addressable object name). Use to pinpoint a specific flat within a building."
          },
          "street": {
            "title": "Street",
            "type": "string",
            "description": "Street name. Case-insensitive. Required if Town is not provided."
          },
          "locality": {
            "title": "Locality",
            "type": "string",
            "description": "Locality name (optional — not always present in the data)."
          },
          "town": {
            "title": "Town",
            "type": "string",
            "description": "Town or city name. Case-insensitive. Required if Street is not provided."
          },
          "district": {
            "title": "District",
            "type": "string",
            "description": "District name (optional — not always present in the data)."
          },
          "county": {
            "title": "County",
            "type": "string",
            "description": "County name (optional — not always present in the data)."
          },
          "dateFrom": {
            "title": "Date From",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Earliest transaction date to include (YYYY-MM-DD). Data is available from 1995-01-01."
          },
          "dateTo": {
            "title": "Date To",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Latest transaction date to include (YYYY-MM-DD)."
          },
          "minPrice": {
            "title": "Min Price (£)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum sale price in GBP (inclusive)."
          },
          "maxPrice": {
            "title": "Max Price (£)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum sale price in GBP (inclusive)."
          },
          "propertyTypes": {
            "title": "Property Type",
            "type": "array",
            "description": "Filter by property type. Leave empty to include all types.",
            "items": {
              "type": "string",
              "enum": [
                "detached",
                "semi-detached",
                "terraced",
                "flat-maisonette",
                "otherPropertyType"
              ],
              "enumTitles": [
                "Detached",
                "Semi-detached",
                "Terraced",
                "Flat / Maisonette",
                "Other"
              ]
            },
            "default": []
          },
          "estateType": {
            "title": "Estate Type",
            "enum": [
              "freehold",
              "leasehold"
            ],
            "type": "string",
            "description": "Filter by estate type. Leave empty to include both."
          },
          "newBuild": {
            "title": "New Build",
            "type": "array",
            "description": "Filter by new build status. Select one or both. Leave empty to include all properties regardless of new build status.",
            "items": {
              "type": "string",
              "enum": [
                "true",
                "false"
              ],
              "enumTitles": [
                "New build",
                "Not new build"
              ]
            },
            "default": []
          },
          "maxResults": {
            "title": "Max Results (total)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Total maximum records to fetch across all pages. When pagination is disabled this is also the SPARQL LIMIT. Set to 0 for no limit — use with caution on broad queries.",
            "default": 1000
          },
          "enablePagination": {
            "title": "Enable Pagination",
            "type": "boolean",
            "description": "Fetch results across multiple pages using OFFSET. Each page fires a separate request and billing event. Use Max Results to cap the total.",
            "default": false
          },
          "pageSize": {
            "title": "Page Size (records per request)",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Records per SPARQL request when pagination is enabled. Has no effect when pagination is disabled. Keep between 10–500 for reliable performance.",
            "default": 100
          },
          "maxConcurrency": {
            "title": "Max Concurrency",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Maximum number of concurrent requests.",
            "default": 5
          },
          "maxRequestsPerMinute": {
            "title": "Max Requests Per Minute",
            "minimum": 1,
            "maximum": 600,
            "type": "integer",
            "description": "Maximum number of requests per minute. Lower this value if you are getting rate-limited (429 errors).",
            "default": 120
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Proxy settings for requests.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}