{
  "openapi": "3.0.1",
  "info": {
    "title": "Booli Scraper - Swedish Listings, Sold Prices & Agents",
    "description": "Collect Swedish property listings, sold prices, new construction, agents, agencies and housing cooperatives from Booli. Export structured rows and pay per delivered row plus a start fee.",
    "version": "0.2",
    "x-build-id": "IbSGdrB4QXoI1MnIR"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lentic_clockss~booli-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lentic_clockss-booli-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/lentic_clockss~booli-scraper/runs": {
      "post": {
        "operationId": "runs-sync-lentic_clockss-booli-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/lentic_clockss~booli-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-lentic_clockss-booli-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": {
          "areaIds": {
            "title": "Area IDs",
            "minItems": 1,
            "type": "array",
            "description": "Booli area IDs to search. The example value [2] selects Stockholms län; repeated properties across areas are removed.",
            "items": {
              "type": "integer"
            }
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "Swedish place name or slug, such as Lund or goteborg. For listing and agent searches, this takes precedence over areaIds."
          },
          "areaSlug": {
            "title": "Area slug",
            "type": "string",
            "description": "Place slug for area searches. With channel maklarbyra, enter an agency slug instead to collect its agents."
          },
          "detailUrls": {
            "title": "Detail URLs",
            "type": "array",
            "description": "Booli detail URLs or listing IDs. Match channel to the target: property, agent, agency or housing cooperative; these targets take priority over area searches.",
            "items": {
              "type": "string"
            }
          },
          "channel": {
            "title": "Channel",
            "enum": [
              "till-salu",
              "slutpriser",
              "nyproduktion",
              "maklare",
              "maklarbyra",
              "brf",
              "sale",
              "sold",
              "projects",
              "agents"
            ],
            "type": "string",
            "description": "Choose for-sale listings, sold prices, new construction, agents, agencies or housing cooperatives. An agency slug with maklarbyra returns that agency's agents.",
            "default": "till-salu"
          },
          "objectType": {
            "title": "Object type",
            "type": "string",
            "description": "Property category to match, such as Lägenhet (apartment), Villa (house), Radhus (terraced house) or Tomt/Mark (land). Leave empty for all categories.",
            "default": ""
          },
          "tenureForm": {
            "title": "Tenure form",
            "type": "string",
            "description": "Ownership form to match, such as Bostadsrätt (cooperative ownership), Äganderätt (freehold) or Hyresrätt (rental tenure). This is not a separate rental-search mode.",
            "default": ""
          },
          "minListPrice": {
            "title": "Min list price (SEK)",
            "type": "integer",
            "description": "Minimum asking price in SEK for listing searches."
          },
          "maxListPrice": {
            "title": "Max list price (SEK)",
            "type": "integer",
            "description": "Maximum asking price in SEK for listing searches."
          },
          "minSoldPrice": {
            "title": "Min sold price (SEK)",
            "type": "integer",
            "description": "Minimum sale price in SEK for sold-property searches."
          },
          "maxSoldPrice": {
            "title": "Max sold price (SEK)",
            "type": "integer",
            "description": "Maximum sale price in SEK for sold-property searches."
          },
          "minRooms": {
            "title": "Min rooms",
            "type": "number",
            "description": "Minimum room count for property searches."
          },
          "maxRooms": {
            "title": "Max rooms",
            "type": "number",
            "description": "Maximum room count for property searches."
          },
          "minLivingArea": {
            "title": "Min living area (m²)",
            "type": "integer",
            "description": "Optional minimum living area in square meters."
          },
          "maxLivingArea": {
            "title": "Max living area (m²)",
            "type": "integer",
            "description": "Optional maximum living area in square meters."
          },
          "minPlotArea": {
            "title": "Min plot area (m²)",
            "type": "integer",
            "description": "Optional minimum plot area in square meters."
          },
          "maxPlotArea": {
            "title": "Max plot area (m²)",
            "type": "integer",
            "description": "Optional maximum plot area in square meters."
          },
          "minConstructionYear": {
            "title": "Min construction year",
            "type": "integer",
            "description": "Earliest construction year to include, from 1600 to 2100."
          },
          "maxConstructionYear": {
            "title": "Max construction year",
            "type": "integer",
            "description": "Latest construction year to include, from 1600 to 2100."
          },
          "minSoldDate": {
            "title": "Min sold date",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2}|\\d{8})?$",
            "type": "string",
            "description": "Earliest sale date for slutpriser. Use YYYY-MM-DD or YYYYMMDD; leave empty for no lower date bound."
          },
          "maxSoldDate": {
            "title": "Max sold date",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2}|\\d{8})?$",
            "type": "string",
            "description": "Latest sale date for slutpriser. Use YYYY-MM-DD or YYYYMMDD; leave empty for no upper date bound."
          },
          "isNewConstruction": {
            "title": "New construction only",
            "type": "boolean",
            "description": "When true, only include new construction listings."
          },
          "sort": {
            "title": "Sort",
            "type": "string",
            "description": "Sort field, such as listPrice, published, livingArea, rooms, soldPrice, soldDate or listSqmPrice. Leave empty for the source order.",
            "default": ""
          },
          "ascending": {
            "title": "Ascending",
            "type": "boolean",
            "description": "Use ascending order when a sort field is set.",
            "default": false
          },
          "maxResults": {
            "title": "Max results per area or URL",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Most rows for each area, location, or detail URL. Default 70; larger numbers are collected in parts of 70. All row types count together. The whole run stops at your maximum total charge. Free Apify plan: up to 200 rows per run and 10 runs of this Actor (limits set by the Actor developer).",
            "default": 70
          },
          "maxPages": {
            "title": "Max pages",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum search pages to collect, from 1 to 50. A low page limit can return fewer rows than maxResults.",
            "default": 1
          },
          "pageSize": {
            "title": "Rows per search page",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Rows requested per search page, from 1 to 500. This stays fixed during pagination; maxResults limits delivered rows per input.",
            "default": 100
          },
          "enrichDetails": {
            "title": "Enrich details",
            "type": "boolean",
            "description": "Include available property details and public agent contacts in listing rows. Enabled by default; missing contacts remain empty.",
            "default": true
          },
          "enrichHousingCoop": {
            "title": "Enrich housing coop (BRF)",
            "type": "boolean",
            "description": "Include available housing-cooperative context in listing rows. Standard listing results contain only the available ID, name and link, not a complete association profile.",
            "default": false
          },
          "imageLimit": {
            "title": "Image limit",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum image URLs per listing, from 0 to 20. Set 0 to omit images.",
            "default": 5
          },
          "includeRaw": {
            "title": "Include raw source data",
            "type": "boolean",
            "description": "Attach available source data to each row. Disabled by default; enabling it can increase row size.",
            "default": false
          },
          "provider": {
            "title": "Developer test option",
            "type": "string",
            "description": "Leave empty. Used only by the developer for testing."
          },
          "workerBaseUrl": {
            "title": "Developer test URL",
            "type": "string",
            "description": "Leave empty. Used only by the developer for testing.",
            "default": ""
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}