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

# /redfin/properties/search

> Search Redfin homes for sale in a region (city/neighborhood/ZIP region id). Returns property cards with price, beds, baths, sqft, price_per_sqft, lot_size, year_built, property_type, full address (street_line, city, state, zip), latitude/longitude, days_on_market, MLS id and status, listing agent/broker, description and key facts.

**Price:** 20 credits per 100 results



## OpenAPI

````yaml /openapi/real-estate.json post /api/redfin/properties/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/redfin/properties/search:
    post:
      tags:
        - /redfin
      summary: /redfin/properties/search
      description: >-
        Search Redfin homes for sale in a region (city/neighborhood/ZIP region
        id). Returns property cards with price, beds, baths, sqft,
        price_per_sqft, lot_size, year_built, property_type, full address
        (street_line, city, state, zip), latitude/longitude, days_on_market, MLS
        id and status, listing agent/broker, description and key facts.


        **Price:** 20 credits per 100 results
      operationId: __api_redfin_properties_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RedfinPropertiesSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RedfinHomeCard'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    RedfinPropertiesSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        region_id:
          type: string
          minLength: 1
        region_type:
          $ref: '#/components/schemas/RedfinRegionType'
        count:
          type: integer
          minimum: 1
      type: object
      required:
        - region_id
        - region_type
        - count
    RedfinHomeCard:
      properties:
        '@type':
          type: string
          default: RedfinHomeCard
        id:
          type: string
        listing_id:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        mls_id:
          anyOf:
            - type: string
            - type: 'null'
        mls_status:
          anyOf:
            - type: string
            - type: 'null'
        price:
          anyOf:
            - type: number
            - type: 'null'
        hoa:
          anyOf:
            - type: number
            - type: 'null'
        beds:
          anyOf:
            - type: number
            - type: 'null'
        baths:
          anyOf:
            - type: number
            - type: 'null'
        sqft:
          anyOf:
            - type: integer
            - type: 'null'
        price_per_sqft:
          anyOf:
            - type: number
            - type: 'null'
        lot_size:
          anyOf:
            - type: integer
            - type: 'null'
        year_built:
          anyOf:
            - type: integer
            - type: 'null'
        property_type:
          anyOf:
            - type: string
            - type: 'null'
        stories:
          anyOf:
            - type: number
            - type: 'null'
        street_line:
          anyOf:
            - type: string
            - type: 'null'
        unit_number:
          anyOf:
            - type: string
            - type: 'null'
        location:
          anyOf:
            - type: string
            - type: 'null'
        city:
          anyOf:
            - type: string
            - type: 'null'
        state:
          anyOf:
            - type: string
            - type: 'null'
        zip:
          anyOf:
            - type: string
            - type: 'null'
        country_code:
          anyOf:
            - type: string
            - type: 'null'
        latitude:
          anyOf:
            - type: number
            - type: 'null'
        longitude:
          anyOf:
            - type: number
            - type: 'null'
        days_on_market:
          anyOf:
            - type: integer
            - type: 'null'
        photo_count:
          anyOf:
            - type: integer
            - type: 'null'
        listing_agent:
          anyOf:
            - type: string
            - type: 'null'
        listing_broker:
          anyOf:
            - type: string
            - type: 'null'
        is_redfin:
          anyOf:
            - type: boolean
            - type: 'null'
        is_new_construction:
          anyOf:
            - type: boolean
            - type: 'null'
        has_3d_tour:
          anyOf:
            - type: boolean
            - type: 'null'
        key_facts:
          items:
            type: string
          type: array
          default: []
        listing_tags:
          items:
            type: string
          type: array
          default: []
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    RedfinRegionType:
      type: integer
      enum:
        - 1
        - 2
        - 4
        - 6
        - 7
    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

````