{
  "openapi": "3.0.1",
  "info": {
    "title": "Funda Scraper: Dutch Homes, Rentals and Makelaars",
    "description": "Export every Funda home te koop or te huur in a Dutch town or all of the Netherlands from Funda's sitemaps, plus any listing by link or number. No login. Rows: vraagprijs or huurprijs, m2, kamers, energielabel, photos, makelaar number; add makelaar profiles. JSON, CSV or API; pay per home.",
    "version": "0.1",
    "x-build-id": "hQvhAR65IU8WzFSBG"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automation_craft~funda-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automation_craft-funda-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/automation_craft~funda-scraper/runs": {
      "post": {
        "operationId": "runs-sync-automation_craft-funda-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/automation_craft~funda-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-automation_craft-funda-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": "Towns",
            "type": "array",
            "description": "Dutch towns, one per line, as Funda names them in its listing links: \"Amsterdam\", \"Utrecht\", \"Den Haag\" or \"den-haag\", \"'s-Hertogenbosch\". \"nl\" reads every home on the market in the Netherlands. Every home of the town that Funda's sitemaps list is read from its own listing record and checked against the filters below. A town no sitemap holds gives a free row with towns of similar names.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Funda links",
            "type": "array",
            "description": "Links copied from funda.nl: a listing (https://www.funda.nl/detail/koop/amsterdam/appartement-.../43117443/) or an agency (https://www.funda.nl/makelaar/24776-knap-makelaardij/). A Funda search link is a free row: this Actor reads homes from Funda's sitemaps, not from Funda's search; give the town in \"Towns\" and the filters as settings.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "listingIds": {
            "title": "Listing numbers",
            "type": "array",
            "description": "Funda listing numbers (the number at the end of a listing link, for example 43117443) or listing links. Each is read from Funda's listing record; a number Funda does not have gives a free row.",
            "items": {
              "type": "string"
            }
          },
          "agencies": {
            "title": "Agency profiles",
            "type": "array",
            "description": "Funda agency (makelaar) numbers or agency links (/makelaar/24776-knap-makelaardij/). Each gives one agency row with its profile: e-mail, website, phone, address, opening hours, services, review score and newest reviews. Charged as one Agency profile each.",
            "items": {
              "type": "string"
            }
          },
          "offeringType": {
            "title": "For sale or for rent",
            "enum": [
              "buy",
              "rent"
            ],
            "type": "string",
            "description": "Homes for sale or for rent. Left empty: for sale."
          },
          "availability": {
            "title": "Availability",
            "type": "array",
            "description": "Which homes on the market: \"available\" and \"negotiations\" (under offer, or sold or rented subject to conditions). Left empty: both, as on funda.nl. Funda's sitemaps list homes on the market only, so sold homes are not read.",
            "items": {
              "type": "string",
              "enum": [
                "available",
                "negotiations"
              ]
            }
          },
          "minPrice": {
            "title": "Minimum price (EUR)",
            "minimum": 0,
            "maximum": 1000000000,
            "type": "integer",
            "description": "Lowest asking price (for rent: monthly rent), in euros."
          },
          "maxPrice": {
            "title": "Maximum price (EUR)",
            "minimum": 0,
            "maximum": 1000000000,
            "type": "integer",
            "description": "Highest asking price (for rent: monthly rent), in euros."
          },
          "minLivingArea": {
            "title": "Minimum living area (m²)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Smallest living area in square metres."
          },
          "maxLivingArea": {
            "title": "Maximum living area (m²)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Largest living area in square metres."
          },
          "minPlotArea": {
            "title": "Minimum plot area (m²)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Smallest plot in square metres."
          },
          "maxPlotArea": {
            "title": "Maximum plot area (m²)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Largest plot in square metres."
          },
          "minRooms": {
            "title": "Minimum rooms",
            "minimum": 0,
            "maximum": 99,
            "type": "integer",
            "description": "Fewest rooms (Funda counts living rooms and bedrooms)."
          },
          "maxRooms": {
            "title": "Maximum rooms",
            "minimum": 0,
            "maximum": 99,
            "type": "integer",
            "description": "Most rooms."
          },
          "minBedrooms": {
            "title": "Minimum bedrooms",
            "minimum": 0,
            "maximum": 99,
            "type": "integer",
            "description": "Fewest bedrooms."
          },
          "maxBedrooms": {
            "title": "Maximum bedrooms",
            "minimum": 0,
            "maximum": 99,
            "type": "integer",
            "description": "Most bedrooms."
          },
          "energyLabels": {
            "title": "Energy labels",
            "type": "array",
            "description": "Only homes with one of these energy labels.",
            "items": {
              "type": "string",
              "enum": [
                "A+++++",
                "A++++",
                "A+++",
                "A++",
                "A+",
                "A",
                "B",
                "C",
                "D",
                "E",
                "F",
                "G"
              ]
            }
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "Only these kinds of property: house, apartment, parking, land (building plots), storage_space, storage, berth, substructure, pitch. Left empty: every kind.",
            "items": {
              "type": "string",
              "enum": [
                "house",
                "apartment",
                "parking",
                "land",
                "storage_space",
                "storage",
                "berth",
                "substructure",
                "pitch"
              ]
            }
          },
          "constructionType": {
            "title": "New build or existing",
            "enum": [
              "resale",
              "newly_built"
            ],
            "type": "string",
            "description": "Only existing homes or only new builds. Left empty: both."
          },
          "zoning": {
            "title": "Homes or holiday homes",
            "type": "array",
            "description": "\"residential\" (homes, the default) and \"recreational\" (holiday homes on recreation parks, Funda's \"recreatie\" sitemap).",
            "items": {
              "type": "string",
              "enum": [
                "residential",
                "recreational"
              ]
            }
          },
          "publishedWithinDays": {
            "title": "Listed in the last",
            "enum": [
              "1",
              "3",
              "5",
              "10",
              "30"
            ],
            "type": "string",
            "description": "Only homes Funda published in this many days (checked on each home's publication date, Dutch time)."
          },
          "publishedAfter": {
            "title": "Listed on or after (date)",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Only homes published on or after this date, YYYY-MM-DD (Dutch time). Checked on every row."
          },
          "includeDetails": {
            "title": "Listing details",
            "type": "boolean",
            "description": "Add the home's full record to each row (its Listing details event): description, every feature line, year built, coordinates, views and saves, cadastral parcels, VvE costs, floor plans, 360 photos, videos and brochure."
          },
          "includeAgentContact": {
            "title": "Agent contact",
            "type": "boolean",
            "description": "Add the listing's contact block (its Agent contact event): the agency's name, phone and logo as Funda shows them on the listing. The agent's own name and photo come only with \"includePersonalData\"."
          },
          "includeAgencyProfile": {
            "title": "Agency profile",
            "type": "boolean",
            "description": "Add the agency's profile, once per agency per run (its Agency profile event): e-mail, website, phone, address, opening hours, services, languages, review score and its newest reviews. Rows can come without it when its reads did not pay for more (the unpaid work allowance)."
          },
          "includeNeighbourhoodStats": {
            "title": "Neighbourhood statistics",
            "type": "boolean",
            "description": "Add Funda's figures for the home's neighbourhood, once per neighbourhood per run (its Neighbourhood statistics event): inhabitants, share of families with children, average asking price and price per m2, average selling time."
          },
          "maxItems": {
            "title": "Maximum rows",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Most listing and agency rows the run delivers (the run stops there). Left empty: no limit."
          },
          "maxItemsPerSearch": {
            "title": "Maximum rows per town",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Most rows of one town."
          },
          "language": {
            "title": "Record language",
            "enum": [
              "nl",
              "en",
              "both"
            ],
            "type": "string",
            "description": "Language of the listing records (Listing details, raw records, the homes of a town, listings asked by link or number): Dutch (default), English, or both (reads the record twice and adds the English description and key points)."
          },
          "includeRawRecord": {
            "title": "Raw record",
            "type": "boolean",
            "description": "Also deliver Funda's own listing record as served (field \"raw\") on every row that carries Listing details (turn on \"includeDetails\" with it). No extra charge."
          },
          "outputFields": {
            "title": "Output fields",
            "type": "array",
            "description": "Deliver only these fields of each listing row (\"price\", \"address.city\", \"details.description\" with Listing details on); a name that is no field of the rows, a field the rows never fill, or a field of an add-on that is off, refuses the run (only the start fee is charged). Paid add-ons are always delivered whole. Agency rows come whole. Left empty: every field.",
            "items": {
              "type": "string"
            }
          },
          "includePersonalData": {
            "title": "Include personal data",
            "type": "boolean",
            "description": "Deliver the names and photos of the agents and agency team members Funda shows (the agent in the Agent contact add-on, an agency profile's team). It needs \"includeAgentContact\", \"includeAgencyProfile\" or agency profiles asked by number. Off by default: those fields are null, and an agency field that holds such a person's name is null too. You are responsible for a lawful use of personal data, GDPR included."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}