{
  "openapi": "3.0.1",
  "info": {
    "title": "Plot.gr Scraper: Greek Real Estate Listings with Agent Phones",
    "description": "Scrape plot.gr property listings in Greece: apartments, houses, land and commercial, for sale or rent. Prices, area, bedrooms, coordinates, photos and the agent's phone, email and website. Filter by area, price and size.",
    "version": "0.1",
    "x-build-id": "Zxs9dcpecT08Use8P"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fayoussef~plot-gr-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fayoussef-plot-gr-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/fayoussef~plot-gr-scraper/runs": {
      "post": {
        "operationId": "runs-sync-fayoussef-plot-gr-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/fayoussef~plot-gr-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-fayoussef-plot-gr-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": {
          "start_urls": {
            "title": "Start URLs / Σύνδεσμοι εκκίνησης",
            "type": "array",
            "description": "plot.gr search result URLs (set your filters on plot.gr, then paste the address) or single listing URLs (plot.gr/view/...). When given, the filter fields below are ignored. / Σύνδεσμοι αναζήτησης ή αγγελιών του plot.gr. Αν δοθούν, τα φίλτρα παρακάτω αγνοούνται.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "language": {
            "title": "Output language / Γλώσσα αποτελεσμάτων",
            "enum": [
              "el",
              "en"
            ],
            "type": "string",
            "description": "Language of titles, categories, area names, specifications and extras. Listing descriptions written by the agent stay in the language they were written in (mostly Greek). / Γλώσσα τίτλων, κατηγοριών, περιοχών και χαρακτηριστικών. Οι περιγραφές των αγγελιών μένουν όπως τις έγραψε ο πωλητής.",
            "default": "el"
          },
          "offer_type": {
            "title": "For sale or rent / Πώληση ή ενοικίαση",
            "enum": [
              "sale",
              "rent"
            ],
            "type": "string",
            "description": "Which listings to search. Used when no Start URL is given.",
            "default": "sale"
          },
          "property_types": {
            "title": "Property types / Τύποι ακινήτων",
            "type": "array",
            "description": "Leave empty for every type. / Αφήστε κενό για όλους τους τύπους.",
            "items": {
              "type": "string",
              "enum": [
                "apartment",
                "maisonette",
                "detached_home",
                "studio",
                "villa",
                "building",
                "land",
                "commercial"
              ],
              "enumTitles": [
                "Apartment / Διαμέρισμα",
                "Maisonette / Μεζονέτα",
                "Detached home / Μονοκατοικία",
                "Studio / Γκαρσονιέρα",
                "Villa / Βίλα",
                "Building / Κτίριο",
                "Land plot / Γη",
                "Commercial / Επαγγελματικό"
              ]
            }
          },
          "locations": {
            "title": "Locations / Περιοχές",
            "type": "array",
            "description": "Areas of Greece, one per line, in English or Greek (Glyfada, Γλυφάδα, Thessaloniki, Χαλκιδική) or a plot.gr location id. Names are matched against plot.gr's own area list, and an unrecognised name is skipped with an error. Leave empty to search all of Greece. / Περιοχές, μία ανά γραμμή, στα ελληνικά ή αγγλικά. Άγνωστα ονόματα παραλείπονται με σφάλμα.",
            "items": {
              "type": "string"
            }
          },
          "price_min": {
            "title": "Min price (EUR) / Ελάχιστη τιμή (€)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest price. For rentals this is the monthly rent."
          },
          "price_max": {
            "title": "Max price (EUR) / Μέγιστη τιμή (€)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest price. For rentals this is the monthly rent."
          },
          "area_min": {
            "title": "Min area (sqm) / Ελάχιστο εμβαδόν (τ.μ.)",
            "minimum": 0,
            "type": "integer",
            "description": "Smallest size in square meters."
          },
          "area_max": {
            "title": "Max area (sqm) / Μέγιστο εμβαδόν (τ.μ.)",
            "minimum": 0,
            "type": "integer",
            "description": "Largest size in square meters."
          },
          "bedrooms_min": {
            "title": "Min bedrooms / Ελάχιστα υπνοδωμάτια",
            "minimum": 0,
            "type": "integer",
            "description": "At least this many bedrooms."
          },
          "bedrooms_max": {
            "title": "Max bedrooms / Μέγιστα υπνοδωμάτια",
            "minimum": 0,
            "type": "integer",
            "description": "At most this many bedrooms."
          },
          "year_min": {
            "title": "Built in or after / Έτος κατασκευής από",
            "minimum": 0,
            "type": "integer",
            "description": "Earliest construction year."
          },
          "listed_within": {
            "title": "Listed within / Καταχωρήθηκε εντός",
            "enum": [
              "any",
              "1d",
              "3d",
              "7d",
              "30d"
            ],
            "type": "string",
            "description": "Only listings created in this period.",
            "default": "any"
          },
          "seller_type": {
            "title": "Seller type / Τύπος πωλητή",
            "enum": [
              "any",
              "agent",
              "private",
              "builder"
            ],
            "type": "string",
            "description": "Who is selling.",
            "default": "any"
          },
          "sort_by": {
            "title": "Sort by / Ταξινόμηση",
            "enum": [
              "latest_change",
              "newest",
              "price_low",
              "price_high",
              "popular",
              "price_sqm_low",
              "price_sqm_high"
            ],
            "type": "string",
            "description": "Order of the results.",
            "default": "latest_change"
          },
          "max_items": {
            "title": "Max listings / Μέγιστες αγγελίες",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many listings. Leave empty for no limit. Free-plan runs are capped at 25."
          },
          "include_details": {
            "title": "Add description, all photos and agent contacts / Πλήρη στοιχεία, φωτογραφίες και επαφές",
            "type": "boolean",
            "description": "Open every listing's detail to add the full description, every specification, extras, all photos and the agent's phones, email and website. One extra request per listing. Turn off for a faster run with price, area, address, coordinates and one photo.",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}