{
  "openapi": "3.0.1",
  "info": {
    "title": "Spitogatos.gr Real Estate Scraper — Greece Properties",
    "description": "Scrape real estate listings from Spitogatos.gr — Greece's #1 property portal. Extract apartments, houses, land and commercial space by area, price, size and bedrooms. Returns price, €/m², lat/lng, agency, images and dates per property. Bypasses F5/Reese84 bot protection automatically.",
    "version": "0.0",
    "x-build-id": "EJkWUUTgE3JatnZ6d"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/logiover~spitogatos-gr-real-estate-scraper-greece-properties-data/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-logiover-spitogatos-gr-real-estate-scraper-greece-properties-data",
        "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/logiover~spitogatos-gr-real-estate-scraper-greece-properties-data/runs": {
      "post": {
        "operationId": "runs-sync-logiover-spitogatos-gr-real-estate-scraper-greece-properties-data",
        "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/logiover~spitogatos-gr-real-estate-scraper-greece-properties-data/run-sync": {
      "post": {
        "operationId": "run-sync-logiover-spitogatos-gr-real-estate-scraper-greece-properties-data",
        "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",
            "type": "array",
            "description": "Spitogatos numeric area IDs. Each ID becomes its own task. Find an ID by opening any area page on spitogatos.gr and inspecting the search-results-map XHR's `areaIDs[]` query param. Common values: 100=Athens Center, 5=Athens North, 6=Athens South, 4=Athens West, 8=Piraeus, 14=Thessaloniki Center, 21=Glyfada, 73=Kifisia, 84=Marousi. See README for a fuller list.",
            "items": {
              "type": "string"
            }
          },
          "listingType": {
            "title": "Listing Type",
            "enum": [
              "rent",
              "sale"
            ],
            "type": "string",
            "description": "`rent` for rentals, `sale` for properties for sale.",
            "default": "rent"
          },
          "category": {
            "title": "Category",
            "enum": [
              "residential",
              "commercial",
              "land",
              "business"
            ],
            "type": "string",
            "description": "Property category. `residential` is the default and covers apartments+houses+studios.",
            "default": "residential"
          },
          "priceFrom": {
            "title": "Min Price (EUR)",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Minimum price filter in EUR. 0 = no minimum.",
            "default": 0
          },
          "priceTo": {
            "title": "Max Price (EUR)",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Maximum price filter in EUR. 0 = no maximum.",
            "default": 0
          },
          "sqmFrom": {
            "title": "Min Surface (m²)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Minimum surface area in square meters. 0 = no minimum.",
            "default": 0
          },
          "sqmTo": {
            "title": "Max Surface (m²)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum surface area in square meters. 0 = no maximum.",
            "default": 0
          },
          "bedroomsFrom": {
            "title": "Min Bedrooms",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Minimum number of bedrooms. 0 = no minimum.",
            "default": 0
          },
          "bedroomsTo": {
            "title": "Max Bedrooms",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum number of bedrooms. 0 = no maximum.",
            "default": 0
          },
          "sortBy": {
            "title": "Sort By",
            "enum": [
              "rankingscore",
              "price",
              "sq_meters",
              "modified"
            ],
            "type": "string",
            "description": "Sort field for results.",
            "default": "rankingscore"
          },
          "sortOrder": {
            "title": "Sort Order",
            "enum": [
              "asc",
              "desc"
            ],
            "type": "string",
            "description": "Ascending or descending.",
            "default": "desc"
          },
          "language": {
            "title": "Language",
            "enum": [
              "en",
              "el"
            ],
            "type": "string",
            "description": "URL language prefix. `en` = English, `el` = Greek. Affects detailUrl only — API response is the same.",
            "default": "en"
          },
          "maxListings": {
            "title": "Max Listings",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Total listings cap across all area tasks. 0 = unlimited (capped by maxOffsetPerTask).",
            "default": 200
          },
          "maxOffsetPerTask": {
            "title": "Max Offset per Task",
            "minimum": 50,
            "maximum": 50000,
            "type": "integer",
            "description": "How deep to paginate per area. With offsetIncrement=50, value 1000 = up to 1000 results per area.",
            "default": 1000
          },
          "offsetIncrement": {
            "title": "Offset Increment",
            "minimum": 10,
            "maximum": 200,
            "type": "integer",
            "description": "How much `offset` advances per request. Site's natural page size is ~50.",
            "default": 50
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Spitogatos is protected by DataDome — RESIDENTIAL proxy is strongly recommended. Datacenter IPs are usually blocked."
          },
          "requestDelay": {
            "title": "Request Delay (ms)",
            "minimum": 0,
            "maximum": 30000,
            "type": "integer",
            "description": "Delay between sequential API calls. Higher = gentler on DataDome rate-limiting.",
            "default": 1500
          },
          "maxRetries": {
            "title": "Max Retries",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Retries per request on 403/blank-body (rotates proxy IP each retry).",
            "default": 4
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}