{
  "openapi": "3.0.1",
  "info": {
    "title": "Cian Scraper ЦИАН — Russian Real Estate & Agent Phones",
    "description": "Scrape cian.ru Russian real estate: flats, rooms, houses and new buildings, for sale or rent. One row per offer: price (RUB), rooms, area, floor, building year and material, full address, photos, and the agent or agency profile with phone number. No login.",
    "version": "0.1",
    "x-build-id": "P2AXlOa4f3dhBSw3F"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~cian-real-estate-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-cian-real-estate-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/memo23~cian-real-estate-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-cian-real-estate-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/memo23~cian-real-estate-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-cian-real-estate-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": "cian.ru URLs (search or offer)",
            "type": "array",
            "description": "Search: https://www.cian.ru/cat.php?deal_type=sale&engine_version=2&offer_type=flat&region=1 · Offer: https://www.cian.ru/sale/flat/330578186/",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "dealType": {
            "title": "Deal type",
            "enum": [
              "sale",
              "rent"
            ],
            "type": "string",
            "description": "Whether to scrape offers for sale or for rent. Used only when no URL is pasted above.",
            "default": "sale"
          },
          "propertyType": {
            "title": "Property type",
            "enum": [
              "flat",
              "room",
              "house",
              "newBuilding"
            ],
            "type": "string",
            "description": "What kind of property to search: a secondary-market flat, a room, a house/suburban property, or a new building. Used only when no URL is pasted above.",
            "default": "flat"
          },
          "region": {
            "title": "Region",
            "type": "string",
            "description": "cian region id, or a preset name: moscow, spb, moscow-oblast, novosibirsk, ekaterinburg, kazan, sochi, krasnodar. Default: moscow. A Location below takes its place.",
            "default": "moscow"
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "A place, typed the way you would type it into cian's search box: a city, district, metro station or street, e.g. Москва, Хамовники · метро Сокол · Казань. The actor looks it up the way cian does and searches there. Replaces Region when set."
          },
          "roomsCount": {
            "title": "Rooms",
            "type": "array",
            "description": "Room counts to include. Empty = any.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5",
                "6",
                "studio"
              ],
              "enumTitles": [
                "1 room",
                "2 rooms",
                "3 rooms",
                "4 rooms",
                "5 rooms",
                "6+ rooms",
                "Studio"
              ]
            },
            "default": []
          },
          "minPrice": {
            "title": "Min price (RUB)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest price to include, in RUB. Leave empty for no lower bound."
          },
          "maxPrice": {
            "title": "Max price (RUB)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest price to include, in RUB. Leave empty for no upper bound."
          },
          "minArea": {
            "title": "Min total area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Smallest total area to include, in square metres. Leave empty for no lower bound."
          },
          "maxArea": {
            "title": "Max total area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Largest total area to include, in square metres. Leave empty for no upper bound."
          },
          "newBuild": {
            "title": "New buildings only",
            "type": "boolean",
            "description": "Flats only: keep offers in new buildings (novostroyki) and leave resale out.",
            "default": false
          },
          "excludeNewBuild": {
            "title": "Leave out new buildings",
            "type": "boolean",
            "description": "Flats only: keep resale (secondary-market) offers and leave new buildings out. Leave both boxes off for any.",
            "default": false
          },
          "sort": {
            "title": "Sort order",
            "enum": [
              "default",
              "creation_date_desc",
              "creation_date_asc",
              "price_object_order",
              "total_price_desc",
              "price_square_order",
              "price_square_order_desc",
              "area_order",
              "walking_time"
            ],
            "type": "string",
            "description": "The order cian lists the offers in. With Newest first, Max offers gives you the latest listings.",
            "default": "default"
          },
          "latitude": {
            "title": "Latitude",
            "minimum": -90,
            "maximum": 90,
            "type": "number",
            "description": "Centre of the search, e.g. 55.7287 (Khamovniki, Moscow). Set Longitude too."
          },
          "longitude": {
            "title": "Longitude",
            "minimum": -180,
            "maximum": 180,
            "type": "number",
            "description": "Centre of the search, e.g. 37.5689. Set Latitude too."
          },
          "radius": {
            "title": "Radius (km)",
            "minimum": 0,
            "maximum": 100,
            "type": "number",
            "description": "How far from the centre point to search, in kilometres, up to 100. Default 5."
          },
          "maxItems": {
            "title": "Max offers (total)",
            "minimum": 1,
            "type": "integer",
            "description": "Hard cap on the number of rows for the whole run, across every search. On the free Apify plan this is clamped to 100; any paid plan honours it in full.",
            "default": 1000
          },
          "maxItemsPerSearch": {
            "title": "Max offers per search",
            "minimum": 1,
            "type": "integer",
            "description": "cian returns ~28 offers per page. The total cap above always wins, including the free-plan 100-row clamp.",
            "default": 1000
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many requests to run in parallel. 6 is a good balance; raise carefully.",
            "default": 6
          },
          "maxRequestRetries": {
            "title": "Max request retries",
            "minimum": 0,
            "maximum": 40,
            "type": "integer",
            "description": "How many times a page that did not load is tried again before the actor moves on.",
            "default": 12
          },
          "proxy": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Leave this alone: every run already includes access to cian.ru at no extra cost. Set Custom proxy URLs only if you want the actor to use your own Russian proxies. Simply leaving Apify Proxy selected is treated as the default.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}