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

# /onthemarket/properties

> Get a single OnTheMarket property listing by ID (or listing URL). Returns the full record: address and postcode, price, bedroom/bathroom counts, summary and full description, listing features and labels, EPC rating, council tax band, tenure, ground rent and service charge, predicted broadband speed, mobile signal by network, local crime score and average area prices, coordinates, photos, floorplans, brochures, virtual and video tours, nearby stations and schools, and the marketing agent.

**Price:** 5 credits

**⚠️ Common errors:** 412: Property not found or no longer listed



## OpenAPI

````yaml /openapi/real-estate.json post /api/onthemarket/properties
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/onthemarket/properties:
    post:
      tags:
        - /onthemarket
      summary: /onthemarket/properties
      description: >-
        Get a single OnTheMarket property listing by ID (or listing URL).
        Returns the full record: address and postcode, price, bedroom/bathroom
        counts, summary and full description, listing features and labels, EPC
        rating, council tax band, tenure, ground rent and service charge,
        predicted broadband speed, mobile signal by network, local crime score
        and average area prices, coordinates, photos, floorplans, brochures,
        virtual and video tours, nearby stations and schools, and the marketing
        agent.


        **Price:** 5 credits


        **⚠️ Common errors:** 412: Property not found or no longer listed
      operationId: __api_onthemarket_properties_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OnthemarketPropertiesPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/OnthemarketProperty'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    OnthemarketPropertiesPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        property:
          type: string
          minLength: 1
      type: object
      required:
        - property
    OnthemarketProperty:
      properties:
        '@type':
          type: string
          default: OnthemarketProperty
        id:
          type: string
        url:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        postcode:
          anyOf:
            - type: string
            - type: 'null'
        property_title:
          anyOf:
            - type: string
            - type: 'null'
        property_type:
          anyOf:
            - type: string
            - type: 'null'
        search_type:
          anyOf:
            - type: string
            - type: 'null'
        status:
          anyOf:
            - type: string
            - type: 'null'
        price:
          anyOf:
            - type: number
            - type: 'null'
        display_price:
          anyOf:
            - type: string
            - type: 'null'
        short_price:
          anyOf:
            - type: string
            - type: 'null'
        price_qualifier:
          anyOf:
            - type: string
            - type: 'null'
        bedroom_count:
          anyOf:
            - type: integer
            - type: 'null'
        bathroom_count:
          anyOf:
            - type: integer
            - type: 'null'
        summary:
          anyOf:
            - type: string
            - type: 'null'
        features:
          items:
            type: string
          type: array
          default: []
        labels:
          items:
            type: string
          type: array
          default: []
        key_info:
          items:
            $ref: '#/components/schemas/OnthemarketPropertyKeyInfo'
          type: array
          default: []
        epc_rating:
          anyOf:
            - type: string
            - type: 'null'
        epc_date:
          anyOf:
            - type: string
            - type: 'null'
        council_tax_band:
          anyOf:
            - type: string
            - type: 'null'
        tenure:
          anyOf:
            - type: string
            - type: 'null'
        ground_rent:
          anyOf:
            - type: string
            - type: 'null'
        service_charge:
          anyOf:
            - type: string
            - type: 'null'
        broadband_type:
          anyOf:
            - type: string
            - type: 'null'
        broadband_download_mbps:
          anyOf:
            - type: integer
            - type: 'null'
        broadband_upload_mbps:
          anyOf:
            - type: integer
            - type: 'null'
        mobile_signal_ee:
          anyOf:
            - type: string
            - type: 'null'
        mobile_signal_o2:
          anyOf:
            - type: string
            - type: 'null'
        mobile_signal_three:
          anyOf:
            - type: string
            - type: 'null'
        mobile_signal_vodafone:
          anyOf:
            - type: string
            - type: 'null'
        crime_score:
          anyOf:
            - type: integer
            - type: 'null'
        crime_level:
          anyOf:
            - type: string
            - type: 'null'
        area_average_price:
          anyOf:
            - type: string
            - type: 'null'
        area_average_price_label:
          anyOf:
            - type: string
            - type: 'null'
        latitude:
          anyOf:
            - type: number
            - type: 'null'
        longitude:
          anyOf:
            - type: number
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        images:
          items:
            type: string
          type: array
          default: []
        floorplans:
          items:
            type: string
          type: array
          default: []
        epc_graphs:
          items:
            type: string
          type: array
          default: []
        documents:
          items:
            type: string
          type: array
          default: []
        stations:
          items:
            $ref: '#/components/schemas/OnthemarketNearbyPlace'
          type: array
          default: []
        schools:
          items:
            $ref: '#/components/schemas/OnthemarketNearbyPlace'
          type: array
          default: []
        tours:
          items:
            $ref: '#/components/schemas/OnthemarketPropertyTour'
          type: array
          default: []
        view_count:
          anyOf:
            - type: string
            - type: 'null'
        added_reduced_label:
          anyOf:
            - type: string
            - type: 'null'
        is_new_home:
          anyOf:
            - type: boolean
            - type: 'null'
        is_premium:
          anyOf:
            - type: boolean
            - type: 'null'
        is_student:
          anyOf:
            - type: boolean
            - type: 'null'
        is_overseas:
          anyOf:
            - type: boolean
            - type: 'null'
        is_exclusive:
          anyOf:
            - type: boolean
            - type: 'null'
        has_matterport_tour:
          anyOf:
            - type: boolean
            - type: 'null'
        has_video_tour:
          anyOf:
            - type: boolean
            - type: 'null'
        agent:
          anyOf:
            - $ref: '#/components/schemas/OnthemarketPropertyAgent'
            - type: 'null'
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    OnthemarketPropertyKeyInfo:
      properties:
        '@type':
          type: string
          default: OnthemarketPropertyKeyInfo
        name:
          type: string
        value:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    OnthemarketNearbyPlace:
      properties:
        '@type':
          type: string
          default: OnthemarketNearbyPlace
        name:
          type: string
        distance:
          anyOf:
            - type: string
            - type: 'null'
        place_type:
          anyOf:
            - type: string
            - type: 'null'
        rating:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    OnthemarketPropertyTour:
      properties:
        '@type':
          type: string
          default: OnthemarketPropertyTour
        text:
          anyOf:
            - type: string
            - type: 'null'
        url:
          type: string
        is_matterport:
          anyOf:
            - type: boolean
            - type: 'null'
        is_video:
          anyOf:
            - type: boolean
            - type: 'null'
      type: object
      required:
        - url
    OnthemarketPropertyAgent:
      properties:
        '@type':
          type: string
          default: OnthemarketPropertyAgent
        id:
          anyOf:
            - type: integer
            - type: 'null'
        alias:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        company_name:
          anyOf:
            - type: string
            - type: 'null'
        group_name:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        postcode:
          anyOf:
            - type: string
            - type: 'null'
        phone:
          anyOf:
            - type: string
            - type: 'null'
        website_url:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        latitude:
          anyOf:
            - type: number
            - type: 'null'
        longitude:
          anyOf:
            - type: number
            - type: 'null'
        is_sales_agent:
          anyOf:
            - type: boolean
            - type: 'null'
        is_lettings_agent:
          anyOf:
            - type: boolean
            - 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

````