{
  "openapi": "3.0.1",
  "info": {
    "title": "CIAN Real Estate Listings, Prices & New-Build Projects",
    "description": "Search Russia's CIAN property database by region, deal and property type with price, area, floor, year, metro and owner filters. Resolve pasted listing URLs or IDs and get new-build complexes with prices, room mix, houses and reliability details.",
    "version": "1.0",
    "x-build-id": "tUPdDsZUmEJ4ZOH9d"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlyth-forge~cian-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlyth-forge-cian-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/crawlyth-forge~cian-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlyth-forge-cian-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/crawlyth-forge~cian-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlyth-forge-cian-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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "byUrls",
              "byIds",
              "newBuildings"
            ],
            "type": "string",
            "description": "What to collect.",
            "default": "search"
          },
          "region": {
            "title": "Region (mode=search | newBuildings)",
            "enum": [
              "1",
              "2",
              "4593",
              "4588",
              "4777",
              "4897",
              "4741",
              "4776",
              "4966",
              "4594",
              "4601",
              "4664",
              "4701",
              "4608",
              "4667"
            ],
            "type": "string",
            "description": "Russian region or city. Moscow is 1 and Saint Petersburg is 2. Use `regionId` for any other CIAN region id.",
            "default": "1"
          },
          "regionId": {
            "title": "Region ID override",
            "minimum": 1,
            "maximum": 10000000,
            "type": "integer",
            "description": "Any CIAN region/city id. Overrides the Region dropdown. Example: 4777 is Kazan, 4897 is Novosibirsk."
          },
          "dealType": {
            "title": "Deal type (mode=search | newBuildings)",
            "enum": [
              "sale",
              "rent",
              "dailyRent"
            ],
            "type": "string",
            "description": "Sale, long-term rent or daily rent.",
            "default": "sale"
          },
          "propertyType": {
            "title": "Property type (mode=search | newBuildings)",
            "enum": [
              "flat",
              "room",
              "house",
              "townhouse",
              "land",
              "commercial",
              "office",
              "retail",
              "warehouse",
              "garage"
            ],
            "type": "string",
            "description": "Property category. Rooms use CIAN's room listings; commercial opens office/retail/warehouse/premises/garage filters.",
            "default": "flat"
          },
          "rooms": {
            "title": "Rooms (mode=search | newBuildings)",
            "enum": [
              "any",
              "studio",
              "1",
              "2",
              "3",
              "4",
              "5",
              "6plus",
              "freeLayout",
              "room",
              "bedSpace"
            ],
            "type": "string",
            "description": "Room count for flats. Studio, free layout, a room inside a flat and a bed space are separate CIAN values.",
            "default": "any"
          },
          "minPrice": {
            "title": "Minimum price, RUB (mode=search | newBuildings)",
            "minimum": 0,
            "maximum": 1000000000,
            "type": "integer",
            "description": "Total sale price, monthly long-term rent or daily rent, in roubles."
          },
          "maxPrice": {
            "title": "Maximum price, RUB (mode=search | newBuildings)",
            "minimum": 0,
            "maximum": 1000000000,
            "type": "integer",
            "description": "Upper price bound in roubles. Leave empty for no cap."
          },
          "minArea": {
            "title": "Minimum total area, m2 (mode=search | newBuildings)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Lower bound on the listing's total area in square metres."
          },
          "maxArea": {
            "title": "Maximum total area, m2 (mode=search | newBuildings)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Upper bound on total area in square metres."
          },
          "minFloor": {
            "title": "Minimum floor (mode=search | newBuildings)",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "Lowest floor number to keep."
          },
          "maxFloor": {
            "title": "Maximum floor (mode=search | newBuildings)",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "Highest floor number to keep."
          },
          "minHouseYear": {
            "title": "Minimum building year (mode=search | newBuildings)",
            "minimum": 1800,
            "maximum": 2100,
            "type": "integer",
            "description": "Keep buildings completed in or after this year."
          },
          "maxHouseYear": {
            "title": "Maximum building year (mode=search | newBuildings)",
            "minimum": 1800,
            "maximum": 2100,
            "type": "integer",
            "description": "Keep buildings completed in or before this year."
          },
          "metroStationIds": {
            "title": "Metro station IDs (mode=search | newBuildings)",
            "type": "array",
            "description": "CIAN metro station ids, e.g. 393 (Davydkovo, Moscow). Combine with maximum walk minutes.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxWalkMinutes": {
            "title": "Maximum walk to metro, minutes",
            "minimum": 0,
            "maximum": 180,
            "type": "integer",
            "description": "Only applies together with at least one metro station ID."
          },
          "districtIds": {
            "title": "District / okrug IDs (mode=search | newBuildings)",
            "type": "array",
            "description": "CIAN district ids, e.g. 116 is the Mozhaysky district of Moscow.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "locationIds": {
            "title": "New-build complex IDs (mode=search | newBuildings)",
            "type": "array",
            "description": "CIAN ZhK location ids, e.g. 1222477 for the Veer complex.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "ownerOnly": {
            "title": "Only from owners",
            "type": "boolean",
            "description": "Skip agency and developer listings.",
            "default": false
          },
          "fromDeveloperOnly": {
            "title": "Only from developer",
            "type": "boolean",
            "description": "Keep listings published by the developer or its sales office.",
            "default": false
          },
          "withLayoutOnly": {
            "title": "Only with floor plan",
            "type": "boolean",
            "description": "Keep listings that include a floor-plan image.",
            "default": false
          },
          "withPhotosOnly": {
            "title": "Only with photos",
            "type": "boolean",
            "description": "Drop listings without a photo. Checked while records are emitted.",
            "default": false
          },
          "newBuildingsOnly": {
            "title": "Only new-build listings (mode=search)",
            "type": "boolean",
            "description": "Keep primary-market flats and rooms inside residential complexes.",
            "default": false
          },
          "searchUrls": {
            "title": "Pasted CIAN URLs (mode=byUrls)",
            "type": "array",
            "description": "Listing URLs or cat.php search URLs. Filters encoded in the URL are preserved.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "offerIds": {
            "title": "Offer IDs or URLs (mode=byIds)",
            "type": "array",
            "description": "Numeric CIAN offer ids or full listing URLs.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "sort": {
            "title": "Sort order (mode=search | newBuildings)",
            "enum": [
              "default",
              "priceAsc",
              "priceDesc",
              "pricePerM2Asc",
              "pricePerM2Desc",
              "area",
              "metroWalk",
              "street",
              "newest",
              "oldest"
            ],
            "type": "string",
            "description": "Listing order. New-build mode orders projects by the order their listings appear.",
            "default": "default"
          },
          "maxItems": {
            "title": "Maximum records",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Stop after this many listings or new-build projects.",
            "default": 50
          },
          "includeNewBuildingReliability": {
            "title": "Include new-build reliability details (mode=newBuildings)",
            "type": "boolean",
            "description": "Adds the construction/reliability panel for each project. One extra request per project.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}