{
  "openapi": "3.0.1",
  "info": {
    "title": "Emlakjet Property Scraper",
    "description": "[💰 $3.0 / 1K] Extract Turkish real estate listings from Emlakjet — for-sale and for-rent homes, land, and commercial. Get price, per-m² price, room layout, size, floor, building age, heating, deed status, features, agency and owner contacts, coordinates, and photos. Search by filters or paste URLs.",
    "version": "1.0",
    "x-build-id": "OVY6GeudkvdA1XFhV"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/solidcode~emlakjet-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-solidcode-emlakjet-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/solidcode~emlakjet-scraper/runs": {
      "post": {
        "operationId": "runs-sync-solidcode-emlakjet-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/solidcode~emlakjet-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-solidcode-emlakjet-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": {
          "startUrls": {
            "title": "Emlakjet URLs",
            "type": "array",
            "description": "Paste one or more Emlakjet URLs — either search-result pages (e.g. https://www.emlakjet.com/satilik-konut/istanbul/) or individual property detail pages. The scraper reads every filter straight from each search URL, so the Search Filters below are ignored for these. Use this when you already built a search on the site.",
            "items": {
              "type": "string"
            }
          },
          "listingType": {
            "title": "Listing Type",
            "enum": [
              "satilik",
              "kiralik"
            ],
            "type": "string",
            "description": "Whether to find properties for sale or for rent. Only applies when you build a search below (not when pasting URLs)."
          },
          "propertyTypes": {
            "title": "Property Types",
            "uniqueItems": true,
            "type": "array",
            "description": "Which kinds of property to include. Leave empty to include all types.",
            "items": {
              "type": "string",
              "enum": [
                "konut",
                "daire",
                "villa",
                "residence",
                "mustakil-ev",
                "yazlik",
                "bina",
                "is-yeri",
                "magaza",
                "ofis",
                "arsa",
                "turistik-tesis"
              ],
              "enumTitles": [
                "Housing (all residential)",
                "Apartment",
                "Villa",
                "Residence",
                "Detached house",
                "Summer house",
                "Building",
                "Commercial (all)",
                "Shop / store",
                "Office",
                "Land / plot",
                "Touristic facility"
              ]
            }
          },
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "Where to search. Enter a city on its own (e.g. 'Istanbul', 'Ankara') to cover the whole city. To target a district, write it as 'City District' — for example 'Istanbul Kadıköy' or 'Ankara Çankaya' (a comma or slash also works: 'Istanbul, Kadıköy'). A district name on its own (e.g. just 'Kadıköy') will not match — always pair it with its city. Each location is searched separately. Leave empty when you are pasting URLs above.",
            "items": {
              "type": "string"
            }
          },
          "sellerType": {
            "title": "Seller Type",
            "enum": [
              "any",
              "agency",
              "owner",
              "developer"
            ],
            "type": "string",
            "description": "Only include listings from a specific kind of seller. Choose 'Any' to include all.",
            "default": "any"
          },
          "rooms": {
            "title": "Room Layouts",
            "uniqueItems": true,
            "type": "array",
            "description": "Only include listings with these room layouts (Turkish style: bedrooms + living rooms). Leave empty for any layout.",
            "items": {
              "type": "string",
              "enum": [
                "studio",
                "1+1",
                "1.5+1",
                "2+1",
                "2.5+1",
                "3+1",
                "3.5+1",
                "4+1",
                "5+1",
                "2+2",
                "3+2",
                "4+2",
                "6+"
              ],
              "enumTitles": [
                "Studio",
                "1+1",
                "1.5+1",
                "2+1",
                "2.5+1",
                "3+1",
                "3.5+1",
                "4+1",
                "5+1",
                "2+2",
                "3+2",
                "4+2",
                "6+1 and larger"
              ]
            }
          },
          "minPrice": {
            "title": "Minimum Price (TRY)",
            "minimum": 0,
            "type": "integer",
            "description": "Only include listings at or above this price, in Turkish lira. Leave empty for no minimum."
          },
          "maxPrice": {
            "title": "Maximum Price (TRY)",
            "minimum": 0,
            "type": "integer",
            "description": "Only include listings at or below this price, in Turkish lira. Leave empty for no maximum."
          },
          "minArea": {
            "title": "Minimum Area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Only include listings with at least this much gross area, in square meters. Leave empty for no minimum."
          },
          "maxArea": {
            "title": "Maximum Area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Only include listings with at most this much gross area, in square meters. Leave empty for no maximum."
          },
          "scrapeDetails": {
            "title": "Scrape Full Details",
            "type": "boolean",
            "description": "Follow each listing to its detail page to collect full data: complete specifications, the whole photo gallery, map coordinates, deed status, and seller phone. Turn off for a faster, lighter run that returns only the summary fields shown in search results.",
            "default": true
          },
          "maxResults": {
            "title": "Max Results",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of listings to collect across all URLs and searches. Set to 0 for as many as possible (up to a built-in safety cap of 10,000). Tip: start with 10-50 to test, then increase.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}