> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anysite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# /yandexrealty/sites/search

> Search Yandex Realty new buildings (residential complexes) in a region with optional filters: price, total area, building class, commissioning year, metro, developer and finished-apartments availability. Returns new building cards with name, developer, price range, building class, construction state, address, metro, review rating and photos.

**Price:** 20 credits per 12 results

**⚠️ Common errors:** 412: Region not found or no new buildings match the given region/filters



## OpenAPI

````yaml /openapi/real-estate.json post /api/yandexrealty/sites/search
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/yandexrealty/sites/search:
    post:
      tags:
        - /yandexrealty
      summary: /yandexrealty/sites/search
      description: >-
        Search Yandex Realty new buildings (residential complexes) in a region
        with optional filters: price, total area, building class, commissioning
        year, metro, developer and finished-apartments availability. Returns new
        building cards with name, developer, price range, building class,
        construction state, address, metro, review rating and photos.


        **Price:** 20 credits per 12 results


        **⚠️ Common errors:** 412: Region not found or no new buildings match
        the given region/filters
      operationId: __api_yandexrealty_sites_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/YandexrealtySitesSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/YandexrealtySiteSearchResult'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    YandexrealtySitesSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        region:
          type: string
          minLength: 1
        price_min:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
        price_max:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
        area_min:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
        area_max:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
        building_class:
          anyOf:
            - $ref: '#/components/schemas/YandexrealtyBuildingClass'
            - type: 'null'
        built_year_max:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
        metro_id:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
        developer_id:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
        has_finished_apartments:
          anyOf:
            - type: boolean
            - type: 'null'
        sort:
          $ref: '#/components/schemas/YandexrealtySiteSort'
          default: RELEVANCE
        count:
          type: integer
          minimum: 1
      type: object
      required:
        - region
        - count
    YandexrealtySiteSearchResult:
      properties:
        '@type':
          type: string
          default: YandexrealtySiteSearchResult
        id:
          type: string
        url:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        full_name:
          anyOf:
            - type: string
            - type: 'null'
        building_class:
          anyOf:
            - type: string
            - type: 'null'
        state:
          anyOf:
            - type: string
            - type: 'null'
        has_virtual_tour:
          anyOf:
            - type: boolean
            - type: 'null'
        price_from:
          anyOf:
            - type: integer
            - type: 'null'
        price_to:
          anyOf:
            - type: integer
            - type: 'null'
        developer_id:
          anyOf:
            - type: string
            - type: 'null'
        developer_name:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        rgid:
          anyOf:
            - type: integer
            - type: 'null'
        metro:
          anyOf:
            - $ref: '#/components/schemas/YandexrealtySiteSearchMetro'
            - type: 'null'
        review_count:
          anyOf:
            - type: integer
            - type: 'null'
        review_rating:
          anyOf:
            - type: number
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        images:
          items:
            type: string
          type: array
          default: []
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    YandexrealtyBuildingClass:
      type: string
      enum:
        - ECONOM
        - COMFORT
        - COMFORT_PLUS
        - BUSINESS
        - ELITE
    YandexrealtySiteSort:
      type: string
      enum:
        - RELEVANCE
        - PRICE
        - PRICE_DESC
        - COMMISSIONING_DATE
    YandexrealtySiteSearchMetro:
      properties:
        '@type':
          type: string
          default: YandexrealtySiteSearchMetro
        name:
          type: string
        transport:
          anyOf:
            - type: string
            - type: 'null'
        time_to_metro:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - name
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````