# /cian/offers/search

`POST /api/cian/offers/search`

Price: 20 credits

Search CIAN real-estate offers within a region. Returns offer cards: id, url, deal/offer type, price (with multi-currency values), total/living/kitchen area, rooms, floor, building details, address with coordinates and nearby metro, photos, the new-building complex and the seller. Filter by deal type, property type, room layout, price/area/floor/ceiling/build-year ranges, building material, renovation, metro distance, new-build only, developer-only, owner-only, mortgage-possible, not-first-floor, balcony, loggia, video and photos, with configurable sort order.

## How to use it

Search CIAN offers within a region (region: numeric CIAN region ID, 1 = Moscow, 2 = Saint Petersburg). Choose deal_type (sale/rent/rent_daily) and offer_type (flat/room/house/commercial/garage/...). Each result has id (feed to cian/offers for full detail), url, price, area, rooms_count, floor_number, address, latitude/longitude, undergrounds, image+images, newbuilding and seller. Narrow with rooms, min/max price (RUB; per month for rentals), total/living/kitchen area ranges, floor and building-floors ranges, ceiling height, build-year range, house_material, repair, metro distance (max_metro_time + metro_transport), only_newbuilding, from_developer, from_owner, mortgage_possible, not_first_floor, with_balcony, with_loggia, with_video, with_photo and sort.

## Parameters

- `access-token` (string, required)

## Request body

- `timeout` (integer) — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)
- `region` (integer) — CIAN region ID (e.g. 1 = Moscow, 2 = Saint Petersburg). (default: 1; >: 0)
- `deal_type` (string) — Deal type: sale, long-term rent or daily rent. (default: "sale"; one of: "sale", "rent", "rent_daily")
- `offer_type` (string) — Property type. (default: "flat"; one of: "flat", "room", "house", "house_part", "townhouse", "land", "commercial", "garage")
- `count` (integer, required) — Max number of results to return (min: 1)
- `only_newbuilding` (boolean, nullable) — Only new-build (primary market) offers.
- `rooms` (array, nullable) — Restrict to these room layouts (multiple allowed). (one of: "studio", "1", "2", "3", "4", "5", "6+", "free_layout")
- `min_price` (integer, nullable) — Minimum price (RUB; per month for rentals). (min: 0)
- `max_price` (integer, nullable) — Maximum price (RUB; per month for rentals). (min: 0)
- `min_total_area` (number, nullable) — Minimum total area (m²). (min: 0)
- `max_total_area` (number, nullable) — Maximum total area (m²). (min: 0)
- `min_living_area` (number, nullable) — Minimum living area (m²). (min: 0)
- `max_living_area` (number, nullable) — Maximum living area (m²). (min: 0)
- `min_kitchen_area` (number, nullable) — Minimum kitchen area (m²). (min: 0)
- `max_kitchen_area` (number, nullable) — Maximum kitchen area (m²). (min: 0)
- `min_floor` (integer, nullable) — Minimum floor of the flat. (min: 0)
- `max_floor` (integer, nullable) — Maximum floor of the flat. (min: 0)
- `min_floors_count` (integer, nullable) — Minimum number of floors in the building. (min: 0)
- `max_floors_count` (integer, nullable) — Maximum number of floors in the building. (min: 0)
- `min_ceiling_height` (number, nullable) — Minimum ceiling height (m). (min: 0)
- `min_build_year` (integer, nullable) — Minimum building construction year. (min: 0)
- `max_build_year` (integer, nullable) — Maximum building construction year. (min: 0)
- `house_material` (array, nullable) — Restrict to these building materials (multiple allowed). (one of: "brick", "monolith", "panel", "block", "wood", "stalin", "shield", "brick_monolith", "wireframe", "aerocrete_block", "gas_silicate_block")
- `repair` (array, nullable) — Restrict to these renovation states (multiple allowed). (one of: "without", "cosmetic", "euro", "design")
- `metro_transport` (string, nullable) — How to measure metro distance when max_metro_time is set. (one of: "walk", "transport")
- `max_metro_time` (integer, nullable) — Maximum time to metro (minutes), measured per metro_transport. (min: 0)
- `from_developer` (boolean, nullable) — Only offers sold directly by the developer.
- `from_owner` (boolean, nullable) — Only offers listed directly by the owner (no agents).
- `mortgage_possible` (boolean, nullable) — Only offers where a mortgage purchase is possible.
- `not_first_floor` (boolean, nullable) — Exclude offers on the first floor.
- `with_balcony` (boolean, nullable) — Only offers that have at least one balcony.
- `with_loggia` (boolean, nullable) — Only offers that have a loggia.
- `with_video` (boolean, nullable) — Only offers that include a video.
- `with_photo` (boolean, nullable) — Only offers that have photos.
- `sort` (string) — Result ordering. (default: "default"; one of: "default", "price_asc", "price_desc", "area", "metro_time", "street", "date_desc", "date_asc")

## Response

### 200 — Successful Response

- `@type` (string) (default: "CianOffer")
- `id` (integer, required)
- `url` (string, nullable)
- `deal_type` (string, nullable)
- `offer_type` (string, nullable)
- `category` (string, nullable)
- `status` (string, nullable)
- `flat_type` (string, nullable)
- `is_apartments` (boolean, nullable)
- `price` (integer, nullable)
- `price_rur` (integer, nullable)
- `price_usd` (integer, nullable)
- `price_eur` (integer, nullable)
- `price_per_meter` (integer, nullable)
- `currency` (string, nullable)
- `sale_type` (string, nullable)
- `rooms_count` (integer, nullable)
- `total_area` (number, nullable)
- `living_area` (number, nullable)
- `kitchen_area` (number, nullable)
- `floor_number` (integer, nullable)
- `combined_wcs_count` (integer, nullable)
- `windows_view_type` (string, nullable)
- `decoration` (string, nullable)
- `build_year` (integer, nullable)
- `material_type` (string, nullable)
- `floors_count` (integer, nullable)
- `ceiling_height` (number, nullable)
- `passenger_lifts_count` (integer, nullable)
- `cargo_lifts_count` (integer, nullable)
- `parking_type` (string, nullable)
- `deadline_year` (integer, nullable)
- `deadline_quarter` (string, nullable)
- `address` (string, nullable)
- `latitude` (number, nullable)
- `longitude` (number, nullable)
- `undergrounds` (array) (default: [])
  - `@type` (string) (default: "CianUnderground")
  - `id` (integer, nullable)
  - `name` (string, required)
  - `line_color` (string, nullable)
  - `travel_type` (string, nullable)
  - `travel_time` (integer, nullable)
- `districts` (array) (default: [])
  - `@type` (string) (default: "CianDistrict")
  - `id` (integer, nullable)
  - `name` (string, required)
  - `type` (string, nullable)
- `description` (string, nullable)
- `image` (string, nullable)
- `images` (array) (default: [])
- `published_at` (integer, nullable)
- `created_at` (string, nullable)
- `edited_at` (string, nullable)
- `newbuilding` (object, nullable)
  - `@type` (string) (default: "CianNewbuildingRef")
  - `id` (integer, nullable)
  - `name` (string, required)
  - `url` (string, nullable)
  - `deadline_year` (integer, nullable)
  - `deadline_quarter` (string, nullable)
  - `is_finished` (boolean, nullable)
- `seller` (object, nullable)
  - `@type` (string) (default: "CianSeller")
  - `id` (integer, nullable)
  - `name` (string, nullable)
  - `type` (string, nullable)
  - `account_type` (string, nullable)
  - `company_name` (string, nullable)
  - `is_agent` (boolean, nullable)
  - `is_builder` (boolean, nullable)
  - `is_developer` (boolean, nullable)
  - `offers_count` (integer, nullable)
  - `image` (string, nullable)
- `view_count` (integer, nullable)
- `price_history` (array) (default: [])
  - `@type` (string) (default: "CianPriceChange")
  - `date` (string, nullable)
  - `price` (integer, nullable)
  - `currency` (string, nullable)
- `features` (array) (default: [])
  - `@type` (string) (default: "CianFeature")
  - `group` (string, nullable)
  - `label` (string, required)
  - `value` (string, nullable)

## Errors

### 422 — Validation Error

The request body did not validate

What to do: Check the fields against this schema. A URN with the wrong prefix is the most common cause.

- `detail` (array)
  - `loc` (array, required)
  - `msg` (string, required)
  - `type` (string, required)
  - `input` (any)
  - `ctx` (object)

### 408

The request ran past its time limit

What to do: Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.

### 412

Region not found or no offers matched

What to do: Retrying will not help: either the entity does not exist, or the input points at a different one.

### 429

Too many requests: a rate limit or a usage window is exhausted

What to do: When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.

### 500

Something broke on our side

What to do: Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.

### 529

Rate limit reached, or the endpoint is overloaded

What to do: Wait at least 30 seconds, then retry.

## Response envelope

Success: Array of objects (may be empty if no results)

Error: Error may coexist with partial results if it occurs mid-execution. Check X-Error header and status code.

Every response carries these headers:

- `X-Error` — Error message text (present only on error)
- `X-Request-ID` — Unique request identifier
- `X-Execution-Time` — Execution time in seconds
- `X-Result-Count` — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.
- `X-Total-Available-Results` — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.
- `X-Warning` — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.
- `X-Retry-After` — Seconds to wait before retrying. Present only on 429.

