> ## 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.

# /yahoo/realestate/buildings/search

> Search the Yahoo! Real Estate Japan (Yahoo!不動産) mansion catalogue (マンションカタログ) for buildings by prefecture, optionally narrowed to a municipality, with a keyword (building, station or place name). Returns building cards with name, image, resident-review rating and counts, address, transit, built year/month, age, total floors, unit count and for-rent / for-sale availability flags.

**Price:** 10 credits per 50 results



## OpenAPI

````yaml /openapi/real-estate.json post /api/yahoo/realestate/buildings/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/yahoo/realestate/buildings/search:
    post:
      tags:
        - /yahoo/realestate
      summary: /yahoo/realestate/buildings/search
      description: >-
        Search the Yahoo! Real Estate Japan (Yahoo!不動産) mansion catalogue
        (マンションカタログ) for buildings by prefecture, optionally narrowed to a
        municipality, with a keyword (building, station or place name). Returns
        building cards with name, image, resident-review rating and counts,
        address, transit, built year/month, age, total floors, unit count and
        for-rent / for-sale availability flags.


        **Price:** 10 credits per 50 results
      operationId: __api_yahoo_realestate_buildings_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/YahooRealestateBuildingsSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/YahooRealestateBuildingCard'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    YahooRealestateBuildingsSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        pref:
          $ref: '#/components/schemas/YahooRealestatePref'
        city:
          anyOf:
            - type: string
            - type: 'null'
        keyword:
          anyOf:
            - type: string
            - type: 'null'
        count:
          type: integer
          minimum: 1
      type: object
      required:
        - pref
        - count
    YahooRealestateBuildingCard:
      properties:
        '@type':
          type: string
          default: YahooRealestateBuildingCard
        id:
          type: string
        url:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        rating:
          anyOf:
            - type: number
            - type: 'null'
        review_count:
          anyOf:
            - type: integer
            - type: 'null'
        comment_count:
          anyOf:
            - type: integer
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        transit:
          anyOf:
            - type: string
            - type: 'null'
        built_year_month:
          anyOf:
            - type: string
            - type: 'null'
        age:
          anyOf:
            - type: string
            - type: 'null'
        total_floors:
          anyOf:
            - type: string
            - type: 'null'
        unit_count:
          anyOf:
            - type: integer
            - type: 'null'
        for_rent:
          type: boolean
          default: false
        for_sale:
          type: boolean
          default: false
      type: object
      required:
        - id
        - url
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    YahooRealestatePref:
      type: string
      enum:
        - hokkaido
        - aomori
        - iwate
        - miyagi
        - akita
        - yamagata
        - fukushima
        - ibaraki
        - tochigi
        - gunma
        - saitama
        - chiba
        - tokyo
        - kanagawa
        - niigata
        - toyama
        - ishikawa
        - fukui
        - yamanashi
        - nagano
        - gifu
        - shizuoka
        - aichi
        - mie
        - shiga
        - kyoto
        - osaka
        - hyogo
        - nara
        - wakayama
        - tottori
        - shimane
        - okayama
        - hiroshima
        - yamaguchi
        - tokushima
        - kagawa
        - ehime
        - kochi
        - fukuoka
        - saga
        - nagasaki
        - kumamoto
        - oita
        - miyazaki
        - kagoshima
        - okinawa
    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

````