> ## 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/overseas/search

> Search overseas property listings advertised on OnTheMarket by UK agents. Returns listings with id, url, address, title, price in GBP alongside the original local currency price, bedroom count, description, cover image and the marketing agent. Filter by price range, bedrooms and how recently the listing was added.

**Price:** 10 credits per 24 results

**⚠️ Common errors:** 412: No listings found for the country or region



## OpenAPI

````yaml /openapi/real-estate.json post /api/onthemarket/overseas/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/onthemarket/overseas/search:
    post:
      tags:
        - /onthemarket
      summary: /onthemarket/overseas/search
      description: >-
        Search overseas property listings advertised on OnTheMarket by UK
        agents. Returns listings with id, url, address, title, price in GBP
        alongside the original local currency price, bedroom count, description,
        cover image and the marketing agent. Filter by price range, bedrooms and
        how recently the listing was added.


        **Price:** 10 credits per 24 results


        **⚠️ Common errors:** 412: No listings found for the country or region
      operationId: __api_onthemarket_overseas_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OnthemarketOverseasSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/OnthemarketOverseasProperty'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    OnthemarketOverseasSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        country:
          $ref: '#/components/schemas/OnthemarketOverseasCountry'
        region:
          anyOf:
            - type: string
            - type: 'null'
        count:
          type: integer
          minimum: 1
        min_price:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
        max_price:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
        min_bedrooms:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
        max_bedrooms:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
        added_since:
          anyOf:
            - $ref: '#/components/schemas/OnthemarketAddedSince'
            - type: 'null'
        sort:
          $ref: '#/components/schemas/OnthemarketSortOrder'
          default: price_high
      type: object
      required:
        - country
        - count
    OnthemarketOverseasProperty:
      properties:
        '@type':
          type: string
          default: OnthemarketOverseasProperty
        id:
          type: string
        url:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        property_title:
          anyOf:
            - type: string
            - type: 'null'
        price:
          anyOf:
            - type: number
            - type: 'null'
        display_price:
          anyOf:
            - type: string
            - type: 'null'
        local_price:
          anyOf:
            - type: string
            - type: 'null'
        price_qualifier:
          anyOf:
            - type: string
            - type: 'null'
        bedroom_count:
          anyOf:
            - type: integer
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        agent_id:
          anyOf:
            - type: integer
            - type: 'null'
        agent_name:
          anyOf:
            - type: string
            - type: 'null'
        agent_image:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    OnthemarketOverseasCountry:
      type: string
      enum:
        - global
        - anguilla
        - antigua-and-barbuda
        - australia
        - austria
        - barbados
        - belgium
        - cambodia
        - canada
        - cayman-islands
        - costa-rica
        - croatia
        - cyprus
        - dominican-republic
        - ecuador
        - fiji
        - france
        - germany
        - gibraltar
        - greece
        - grenada
        - hong-kong
        - iceland
        - india
        - indonesia
        - ireland
        - italy
        - jamaica
        - kenya
        - malaysia
        - maldives
        - malta
        - mauritius
        - mexico
        - monaco
        - montenegro
        - morocco
        - norway
        - portugal
        - puerto-rico
        - romania
        - saint-lucia
        - saint-vincent-and-the-grenadines
        - south-africa
        - spain
        - sri-lanka
        - sweden
        - switzerland
        - taiwan
        - thailand
        - turkey
        - turks-and-caicos-islands
        - united-arab-emirates
        - united-states-of-america
    OnthemarketAddedSince:
      type: string
      enum:
        - 24-hours
        - 3-days
        - 7-days
    OnthemarketSortOrder:
      type: string
      enum:
        - recommended
        - price_high
        - price_low
        - recent
    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

````