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

# /compass/listings

> Get full Compass listing details by its detail URL: address, price (list/closed/last known), price per sqft, HOA and taxes, beds/baths, square feet, lot size, property type, amenities, description, MLS status, days on market, building info, latitude/longitude, photos, listing agents, open houses, location entities and key details.

**Price:** 20 credits

**⚠️ Common errors:** 412: Listing not found (well-formed URL but no listing data for it)



## OpenAPI

````yaml /openapi/real-estate.json post /api/compass/listings
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/compass/listings:
    post:
      tags:
        - /compass
      summary: /compass/listings
      description: >-
        Get full Compass listing details by its detail URL: address, price
        (list/closed/last known), price per sqft, HOA and taxes, beds/baths,
        square feet, lot size, property type, amenities, description, MLS
        status, days on market, building info, latitude/longitude, photos,
        listing agents, open houses, location entities and key details.


        **Price:** 20 credits


        **⚠️ Common errors:** 412: Listing not found (well-formed URL but no
        listing data for it)
      operationId: __api_compass_listings_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CompassListingsPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CompassListing'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    CompassListingsPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        listing:
          type: string
          minLength: 1
      type: object
      required:
        - listing
    CompassListing:
      properties:
        '@type':
          type: string
          default: CompassListing
        id:
          type: string
        compass_property_id:
          anyOf:
            - type: string
            - type: 'null'
        feed_listing_id:
          anyOf:
            - type: string
            - type: 'null'
        listing_type:
          anyOf:
            - type: string
            - type: 'null'
        status:
          anyOf:
            - type: string
            - type: 'null'
        status_code:
          anyOf:
            - type: integer
            - type: 'null'
        mls_status:
          anyOf:
            - type: string
            - type: 'null'
        price:
          anyOf:
            - type: number
            - type: 'null'
        listed_price:
          anyOf:
            - type: number
            - type: 'null'
        closed_price:
          anyOf:
            - type: number
            - type: 'null'
        price_per_sqft:
          anyOf:
            - type: number
            - type: 'null'
        hoa_fee:
          anyOf:
            - type: number
            - type: 'null'
        monthly_charges_with_taxes:
          anyOf:
            - type: number
            - type: 'null'
        down_payment_percent:
          anyOf:
            - type: number
            - type: 'null'
        bedrooms:
          anyOf:
            - type: number
            - type: 'null'
        full_bathrooms:
          anyOf:
            - type: number
            - type: 'null'
        half_bathrooms:
          anyOf:
            - type: number
            - type: 'null'
        total_bathrooms:
          anyOf:
            - type: number
            - type: 'null'
        square_feet:
          anyOf:
            - type: integer
            - type: 'null'
        lot_size:
          anyOf:
            - type: integer
            - type: 'null'
        total_rooms:
          anyOf:
            - type: number
            - type: 'null'
        legal_room_count:
          anyOf:
            - type: integer
            - type: 'null'
        year_built:
          anyOf:
            - type: integer
            - type: 'null'
        building_age:
          anyOf:
            - type: string
            - type: 'null'
        parking_spaces:
          anyOf:
            - type: integer
            - type: 'null'
        property_type:
          anyOf:
            - type: string
            - type: 'null'
        amenities:
          items:
            type: string
          type: array
          default: []
        pretty_address:
          anyOf:
            - type: string
            - type: 'null'
        street_number:
          anyOf:
            - type: string
            - type: 'null'
        street:
          anyOf:
            - type: string
            - type: 'null'
        street_type:
          anyOf:
            - type: string
            - type: 'null'
        unit_number:
          anyOf:
            - type: string
            - type: 'null'
        neighborhood:
          anyOf:
            - type: string
            - type: 'null'
        city:
          anyOf:
            - type: string
            - type: 'null'
        state:
          anyOf:
            - type: string
            - type: 'null'
        zip:
          anyOf:
            - type: string
            - type: 'null'
        county:
          anyOf:
            - type: string
            - type: 'null'
        latitude:
          anyOf:
            - type: number
            - type: 'null'
        longitude:
          anyOf:
            - type: number
            - type: 'null'
        geo_id:
          anyOf:
            - type: string
            - type: 'null'
        days_on_market:
          anyOf:
            - type: integer
            - type: 'null'
        parcel_number:
          anyOf:
            - type: string
            - type: 'null'
        building_name:
          anyOf:
            - type: string
            - type: 'null'
        building_id:
          anyOf:
            - type: string
            - type: 'null'
        building_floors:
          anyOf:
            - type: integer
            - type: 'null'
        building_units:
          anyOf:
            - type: integer
            - type: 'null'
        listed_at:
          anyOf:
            - type: integer
            - type: 'null'
        contract_at:
          anyOf:
            - type: integer
            - type: 'null'
        closed_at:
          anyOf:
            - type: integer
            - type: 'null'
        updated_at:
          anyOf:
            - type: integer
            - type: 'null'
        is_off_mls:
          anyOf:
            - type: boolean
            - type: 'null'
        is_consumer_searchable:
          anyOf:
            - type: boolean
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        images:
          items:
            type: string
          type: array
          default: []
        page_link:
          anyOf:
            - type: string
            - type: 'null'
        property_page_link:
          anyOf:
            - type: string
            - type: 'null'
        agents:
          items:
            $ref: '#/components/schemas/CompassListingAgent'
          type: array
          default: []
        charges:
          items:
            $ref: '#/components/schemas/CompassCharge'
          type: array
          default: []
        open_houses:
          items:
            $ref: '#/components/schemas/CompassOpenHouse'
          type: array
          default: []
        location_entities:
          items:
            $ref: '#/components/schemas/CompassLocationEntity'
          type: array
          default: []
        key_details:
          items:
            $ref: '#/components/schemas/CompassKeyDetail'
          type: array
          default: []
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    CompassListingAgent:
      properties:
        '@type':
          type: string
          default: CompassListingAgent
        name:
          anyOf:
            - type: string
            - type: 'null'
        company:
          anyOf:
            - type: string
            - type: 'null'
        email:
          anyOf:
            - type: string
            - type: 'null'
        phone:
          anyOf:
            - type: string
            - type: 'null'
        contact_type:
          anyOf:
            - type: string
            - type: 'null'
        license_num:
          anyOf:
            - type: string
            - type: 'null'
        agent_id:
          anyOf:
            - type: string
            - type: 'null'
        profile_url:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    CompassCharge:
      properties:
        '@type':
          type: string
          default: CompassCharge
        amount:
          anyOf:
            - type: number
            - type: 'null'
        charge_type:
          anyOf:
            - type: string
            - type: 'null'
        charge_type_code:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
    CompassOpenHouse:
      properties:
        '@type':
          type: string
          default: CompassOpenHouse
        start_at:
          anyOf:
            - type: integer
            - type: 'null'
        end_at:
          anyOf:
            - type: integer
            - type: 'null'
        by_appointment_only:
          anyOf:
            - type: boolean
            - type: 'null'
        is_virtual:
          anyOf:
            - type: boolean
            - type: 'null'
      type: object
    CompassLocationEntity:
      properties:
        '@type':
          type: string
          default: CompassLocationEntity
        id:
          anyOf:
            - type: integer
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        seo_id:
          anyOf:
            - type: string
            - type: 'null'
        location_type:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
    CompassKeyDetail:
      properties:
        '@type':
          type: string
          default: CompassKeyDetail
        key:
          type: string
        value:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - key
    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

````