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

# /athome/listings/search

> Search athome (アットホーム) real-estate listings by prefecture and deal type (rentals or for-sale mansion, house and land). Returns listing cards with name, building type, room number, address, nearest stations, layout, area, building age, floor, structure, rent or price, management fee, deposit and key money, and image.

**Price:** 10 credits per 30 results



## OpenAPI

````yaml /openapi/real-estate.json post /api/athome/listings/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/athome/listings/search:
    post:
      tags:
        - /athome
      summary: /athome/listings/search
      description: >-
        Search athome (アットホーム) real-estate listings by prefecture and deal type
        (rentals or for-sale mansion, house and land). Returns listing cards
        with name, building type, room number, address, nearest stations,
        layout, area, building age, floor, structure, rent or price, management
        fee, deposit and key money, and image.


        **Price:** 10 credits per 30 results
      operationId: __api_athome_listings_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AthomeListingsSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AthomeListingCard'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AthomeListingsSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        pref:
          type: string
          minLength: 1
        deal_type:
          $ref: '#/components/schemas/AthomeDealType'
          default: rent
        count:
          type: integer
          minimum: 1
      type: object
      required:
        - pref
        - count
    AthomeListingCard:
      properties:
        '@type':
          type: string
          default: AthomeListingCard
        id:
          type: string
        deal_type:
          type: string
        url:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        building_type:
          anyOf:
            - type: string
            - type: 'null'
        room_number:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        stations:
          items:
            $ref: '#/components/schemas/AthomeStation'
          type: array
          default: []
        layout:
          anyOf:
            - type: string
            - type: 'null'
        area:
          anyOf:
            - type: number
            - type: 'null'
        building_area:
          anyOf:
            - type: number
            - type: 'null'
        land_area:
          anyOf:
            - type: number
            - type: 'null'
        built_year_month:
          anyOf:
            - type: string
            - type: 'null'
        floor:
          anyOf:
            - type: string
            - type: 'null'
        structure:
          anyOf:
            - type: string
            - type: 'null'
        rent:
          anyOf:
            - type: integer
            - type: 'null'
        price:
          anyOf:
            - type: integer
            - type: 'null'
        management_fee:
          anyOf:
            - type: integer
            - type: 'null'
        deposit:
          anyOf:
            - type: string
            - type: 'null'
        key_money:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
        - deal_type
        - url
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    AthomeDealType:
      type: string
      enum:
        - rent
        - used_mansion
        - new_mansion
        - used_house
        - new_house
        - land
    AthomeStation:
      properties:
        '@type':
          type: string
          default: AthomeStation
        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

````