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

# /zoopla/properties/history

> Get the price and listing history of a Zoopla property by listing id (or listing URL): first published date and price, every subsequent price change (drop/increase, amount and percentage) and any recorded historic property sales.

**Price:** 1 credit

**⚠️ Common errors:** 412: Listing not found, expired or removed (well-formed but nonexistent/withdrawn listing id)



## OpenAPI

````yaml /openapi/real-estate.json post /api/zoopla/properties/history
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/zoopla/properties/history:
    post:
      tags:
        - /zoopla
      summary: /zoopla/properties/history
      description: >-
        Get the price and listing history of a Zoopla property by listing id (or
        listing URL): first published date and price, every subsequent price
        change (drop/increase, amount and percentage) and any recorded historic
        property sales.


        **Price:** 1 credit


        **⚠️ Common errors:** 412: Listing not found, expired or removed
        (well-formed but nonexistent/withdrawn listing id)
      operationId: __api_zoopla_properties_history_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ZooplaPropertiesHistoryPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ZooplaPropertyHistory'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ZooplaPropertiesHistoryPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        listing:
          type: string
          minLength: 1
      type: object
      required:
        - listing
    ZooplaPropertyHistory:
      properties:
        '@type':
          type: string
          default: ZooplaPropertyHistory
        id:
          type: string
        first_published_at:
          anyOf:
            - type: string
            - type: 'null'
        first_published_price_label:
          anyOf:
            - type: string
            - type: 'null'
        view_count_30day:
          anyOf:
            - type: integer
            - type: 'null'
        price_changes:
          items:
            $ref: '#/components/schemas/ZooplaPriceChange'
          type: array
          default: []
        historic_sales:
          items:
            $ref: '#/components/schemas/ZooplaHistoricSale'
          type: array
          default: []
        historic_listings:
          items:
            $ref: '#/components/schemas/ZooplaHistoricListing'
          type: array
          default: []
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    ZooplaPriceChange:
      properties:
        '@type':
          type: string
          default: ZooplaPriceChange
        date:
          anyOf:
            - type: string
            - type: 'null'
        price_label:
          anyOf:
            - type: string
            - type: 'null'
        change_label:
          anyOf:
            - type: string
            - type: 'null'
        percentage_change_label:
          anyOf:
            - type: string
            - type: 'null'
        is_price_drop:
          anyOf:
            - type: boolean
            - type: 'null'
        is_price_increase:
          anyOf:
            - type: boolean
            - type: 'null'
        is_minor_change:
          anyOf:
            - type: boolean
            - type: 'null'
      type: object
    ZooplaHistoricSale:
      properties:
        '@type':
          type: string
          default: ZooplaHistoricSale
        date:
          anyOf:
            - type: string
            - type: 'null'
        price:
          anyOf:
            - type: integer
            - type: 'null'
        percentage_change:
          anyOf:
            - type: number
            - type: 'null'
        numeric_change:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
    ZooplaHistoricListing:
      properties:
        '@type':
          type: string
          default: ZooplaHistoricListing
        date:
          anyOf:
            - type: string
            - type: 'null'
        price:
          anyOf:
            - type: integer
            - type: 'null'
        price_type:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        bedroom_count:
          anyOf:
            - type: integer
            - type: 'null'
        bathroom_count:
          anyOf:
            - type: integer
            - type: 'null'
        living_room_count:
          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

````