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

> Get a Yahoo! Real Estate Japan (Yahoo!不動産) mansion catalog building profile by id or catalog URL: building name, address, nearest stations, built year, total floors and units, structure, overall and per-category resident ratings, review count and building facilities.

**Price:** 5 credits

**⚠️ Common errors:** 412: Building not found (well-formed id but the catalog page does not exist)



## OpenAPI

````yaml /openapi/real-estate.json post /api/yahoo/realestate/buildings
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:
    post:
      tags:
        - /yahoo/realestate
      summary: /yahoo/realestate/buildings
      description: >-
        Get a Yahoo! Real Estate Japan (Yahoo!不動産) mansion catalog building
        profile by id or catalog URL: building name, address, nearest stations,
        built year, total floors and units, structure, overall and per-category
        resident ratings, review count and building facilities.


        **Price:** 5 credits


        **⚠️ Common errors:** 412: Building not found (well-formed id but the
        catalog page does not exist)
      operationId: __api_yahoo_realestate_buildings_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/YahooRealestateBuildingsPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/YahooRealestateBuilding'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    YahooRealestateBuildingsPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        building:
          type: string
          minLength: 1
      type: object
      required:
        - building
    YahooRealestateBuilding:
      properties:
        '@type':
          type: string
          default: YahooRealestateBuilding
        id:
          type: string
        url:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        rating:
          anyOf:
            - type: number
            - type: 'null'
        review_count:
          anyOf:
            - type: integer
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        stations:
          items:
            $ref: '#/components/schemas/YahooRealestateStation'
          type: array
          default: []
        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'
        structure:
          anyOf:
            - type: string
            - type: 'null'
        overall_rating:
          anyOf:
            - type: number
            - type: 'null'
        room_rating:
          anyOf:
            - type: number
            - type: 'null'
        design_rating:
          anyOf:
            - type: number
            - type: 'null'
        safety_rating:
          anyOf:
            - type: number
            - type: 'null'
        residents_rating:
          anyOf:
            - type: number
            - type: 'null'
        facilities_rating:
          anyOf:
            - type: number
            - type: 'null'
        surroundings_rating:
          anyOf:
            - type: number
            - type: 'null'
        childcare_rating:
          anyOf:
            - type: number
            - type: 'null'
        management_rating:
          anyOf:
            - type: number
            - type: 'null'
        community_rating:
          anyOf:
            - type: number
            - type: 'null'
        common_facilities:
          items:
            type: string
          type: array
          default: []
        parking:
          items:
            type: string
          type: array
          default: []
        security:
          items:
            type: string
          type: array
          default: []
        image:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
        - url
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    YahooRealestateStation:
      properties:
        '@type':
          type: string
          default: YahooRealestateStation
        line:
          anyOf:
            - type: string
            - type: 'null'
        station:
          anyOf:
            - type: string
            - type: 'null'
        walk_min:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
    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

````