{
  "openapi": "3.0.1",
  "info": {
    "title": "Funda.nl Scraper — Dutch Property Data, Price/m² & Agents",
    "description": "Scrape Funda.nl Dutch real estate — for-sale, for-rent and sold listings — by location, area identifier or URL. Pull price per m², energy label, floor and plot area, full address, rich listing detail and estate-agent (makelaar) profiles, plus built-in market KPIs and an HTML report.",
    "version": "1.0",
    "x-build-id": "lOmNkmIm4MElf3SCI"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sian.agency~funda-property-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sian.agency-funda-property-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/sian.agency~funda-property-scraper/runs": {
      "post": {
        "operationId": "runs-sync-sian.agency-funda-property-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/sian.agency~funda-property-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-sian.agency-funda-property-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": {
          "operation": {
            "title": "🧭 Operation",
            "enum": [
              "searchByLocation",
              "searchByArea",
              "searchByUrl",
              "detailsById",
              "detailsByUrl",
              "agentDetails",
              "autocomplete"
            ],
            "type": "string",
            "description": "What to pull from Funda.\n\n**Search (listing rows):**\n• **searchByLocation** — city / town / neighbourhood / postcode (paginated)\n• **searchByArea** — one or more Funda geo identifiers (from autocomplete)\n• **searchByUrl** — paste a funda.nl/zoeken search URL\n\n**Detail (single rich listing):**\n• **detailsById** — full detail by Funda listing id (globalId)\n• **detailsByUrl** — full detail by funda.nl listing URL\n\n**Estate agent:**\n• **agentDetails** — makelaar office profile by office id or URL\n\n**Helper:**\n• **autocomplete** — resolve a location string to Funda geo identifiers",
            "default": "searchByLocation"
          },
          "location": {
            "title": "📍 Location",
            "type": "string",
            "description": "For **searchByLocation** (and as a fallback for **autocomplete**) — a Dutch city, town, neighbourhood or postcode, e.g. `Amsterdam`, `Utrecht`, `1018XS`.",
            "default": "Amsterdam"
          },
          "area": {
            "title": "🗺️ Area identifier(s)",
            "type": "string",
            "description": "For **searchByArea** — one or more Funda geo identifiers, comma-separated, e.g. `amsterdam`, `gemeente-amsterdam`, `amsterdam/jordaan`. Discover identifiers with the autocomplete operation."
          },
          "url": {
            "title": "🔗 Funda URL",
            "type": "string",
            "description": "For **searchByUrl / detailsByUrl / agentDetails** — a funda.nl/zoeken search URL (e.g. `https://www.funda.nl/zoeken/koop?selected_area=[\"amsterdam\"]`), a listing URL (e.g. `https://www.funda.nl/detail/koop/amsterdam/appartement-.../44411331/`), or a makelaar URL (e.g. `https://www.funda.nl/makelaar/24862-metropool-makelaars/`)."
          },
          "listingId": {
            "title": "🆔 Listing ID",
            "type": "string",
            "description": "For **detailsById** — the Funda globalId shown as a search result's `propertyId`, e.g. `8066978`."
          },
          "agentId": {
            "title": "🏢 Office ID",
            "type": "string",
            "description": "For **agentDetails** — the Funda office id shown on a listing's agent, e.g. `24862`. A makelaar URL can be used instead in the URL field."
          },
          "query": {
            "title": "🔎 Autocomplete query",
            "type": "string",
            "description": "For **autocomplete** — partial location text to resolve into Funda geo identifiers, e.g. `Amster`. Falls back to the Location field if empty."
          },
          "searchType": {
            "title": "🔖 Deal Type",
            "enum": [
              "For_Sale",
              "For_Rent",
              "Sold"
            ],
            "type": "string",
            "description": "For **searchByLocation / searchByArea** — which listings to return. `Sold` listings carry a realised price.",
            "default": "For_Sale"
          },
          "propertyType": {
            "title": "🏘️ Property Type",
            "type": "string",
            "description": "Comma-separated property kinds to filter, e.g. `house,apartment`. One or more of: house, apartment, parking, land, berth. Leave empty for any."
          },
          "sortOrder": {
            "title": "↕️ Sort Order",
            "enum": [
              "Default",
              "Price_Low_to_High",
              "Price_High_to_Low",
              "Newest",
              "Oldest"
            ],
            "type": "string",
            "description": "Result order. Default is Funda's relevance.",
            "default": "Default"
          },
          "minPrice": {
            "title": "💵 Min price (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum price in EUR (asking price for sale, monthly rent for rent). Leave empty for no minimum."
          },
          "maxPrice": {
            "title": "💵 Max price (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum price in EUR. Leave empty for no maximum."
          },
          "minBedrooms": {
            "title": "🛏 Min bedrooms",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum number of bedrooms. Leave empty for any."
          },
          "maxBedrooms": {
            "title": "🛏 Max bedrooms",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of bedrooms. Leave empty for any."
          },
          "minFloorArea": {
            "title": "📐 Min living area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum living area in square metres. Leave empty for any."
          },
          "maxFloorArea": {
            "title": "📐 Max living area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum living area in square metres. Leave empty for any."
          },
          "energyLabel": {
            "title": "⚡ Energy Label",
            "type": "string",
            "description": "Energy labels, comma-separated: `A`, `A+`, `B`, `C`, `D`, `E`, `F`, `G`. Leave empty for any."
          },
          "keywords": {
            "title": "🔤 Keywords",
            "type": "string",
            "description": "Extra free-text keywords matched against listings, e.g. `monumentaal`, `tuin`."
          },
          "maxResults": {
            "title": "🔢 Max results",
            "minimum": 1,
            "maximum": 750,
            "type": "integer",
            "description": "Maximum rows to collect for search operations (also caps autocomplete suggestions at 25). FREE tier is capped at 25.",
            "default": 45
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}