APIs / OnTheMarket / Search

OnTheMarket: Search

Search from OnTheMarket as JSON. 1 credit per successful call.

GET /v1/onthemarket/search

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
search_typestringRequiredfor-sale, to-rent
location_idstringRequiredUp to 80 characters
pageintegerOptionalAny
sort_fieldstringOptionalrecommended, price, update_date
directionstringOptionalasc, desc
prop_typesstringOptionalUp to 120 characters
min_priceintegerOptionalAny
max_priceintegerOptionalAny
min_bedroomsintegerOptionalAny
max_bedroomsintegerOptionalAny
radiusnumberOptionalAny
under_offerbooleanOptionalAny
let_agreedbooleanOptionalAny
exclusive_firstbooleanOptionalAny
new_home_flagbooleanOptionalAny

Example request

OnTheMarket
GET/v1/onthemarket/search?search_type=for-sale&location_id=nottingham
{
  "success": true,
  "data": {
    "search_metadata": {
      "page": 1,
      "frame_size": 30,
      "total_results": 3005,
      "total_results_display": "3,005",
      "has_more": true,
      "last_page": 34,
      "sort_field": "recommended",
      "direction": "desc",
      "search_type": "for-sale",
      "location_id": "nottingham",
      "location_type": "town",
      "location_name": "Nottingham"
    },
    "listings": [
      {
        "id": "20727387",
        "property_title": "3 bedroom terraced house for sale",
        "price": "£190,000",
        "price_value": 190000,
        "price_qualifier": "Guide price",
        "bedrooms": 3,
        "bathrooms": 1,
        "address": "Kings Avenue, Gedling",
        "postcode": "NG4",
        "address_locality": "Nottingham",
        "features": [
          "Tenure: Freehold",
          "Terraced home",
          "Three bedrooms"
        ],
        "tenure": "Freehold",
        "location": {
          "lat": 52.978578434327,
          "lon": -1.0851169391872
        },
        "images": [
          {
            "url": "https://media.onthemarket.com/properties/20727387/1657675141/image-0-480x320.jpg",
            "webp_url": "https://media.onthemarket.com/properties/20727387/1657675141/image-0-480x320.webp"
          },
          {
            "url": "https://media.onthemarket.com/properties/20727387/1657675141/image-1-480x320.jpg",
            "webp_url": "https://media.onthemarket.com/properties/20727387/1657675141/image-1-480x320.webp"
          },
          {
            "url": "https://media.onthemarket.com/properties/20727387/1657675141/image-2-480x320.jpg",
            "webp_url": "https://media.onthemarket.com/properties/20727387/1657675141/image-2-480x320.webp"
          }
        ],
        "images_count": 17,
        "floorplans_count": 1,
        "main_label": "Recently added",
        "data_label_id": "recent",
        "days_since_added_reduced": "Added < 7 days",
        "spotlight": true,
        "for_sale": true,
        "property_url": "https://www.onthemarket.com/details/20727387/",
        "agent": {
          "branch_id": 5394,
          "name": "haart Estate Agents - Nottingham",
          "telephone": "0115 774 8989",
          "details_url": "https://www.onthemarket.com/agents/branch/haart-estate-agents-nottingham/",
          "logo_url": "https://media.onthemarket.com/agents/branches/5394/240501111517745/logo-190x100.jpg"
        }
      },
      {
        "id": "20448444",
        "property_title": "3 bedroom detached house for sale",
        "price": "£365,000",
        "price_value": 365000,
        "bedrooms": 3,
        "address": "Plot 602, The Steeton at Park View, Gedling, Arnold Lane NG4",
        "postcode": "NG4",
        "address_locality": "Gedling",
        "features": [
          "Modern three bedroom detached home",
          "1,018 sq. ft. of living space",
          "New build"
        ],
        "location": {
          "lat": 52.985839,
          "lon": -1.095475
        },
        "images": [
          {
            "url": "https://media.onthemarket.com/properties/20448444/1648520164/image-0-480x320.jpg",
            "webp_url": "https://media.onthemarket.com/properties/20448444/1648520164/image-0-480x320.webp"
          },
          {
            "url": "https://media.onthemarket.com/properties/20448444/1648520164/image-1-480x320.jpg",
            "webp_url": "https://media.onthemarket.com/properties/20448444/1648520164/image-1-480x320.webp"
          },
          {
            "url": "https://media.onthemarket.com/properties/20448444/1648520164/image-2-480x320.jpg",
            "webp_url": "https://media.onthemarket.com/properties/20448444/1648520164/image-2-480x320.webp"
          }
        ],
        "images_count": 10,
        "floorplans_count": 2,
        "online_viewing": true,
        "virtual_tour": true,
        "days_since_added_reduced": "Added > 14 days",
        "for_sale": true,
        "property_url": "https://www.onthemarket.com/details/20448444/",
        "agent": {
          "branch_id": 54012,
          "name": "Keepmoat - Park View, Gedling",
          "telephone": "0115 774 9166",
          "details_url": "https://www.onthemarket.com/new-homes/developers/development/park-view-gedling-54012/",
          "logo_url": "https://media.onthemarket.com/agents/companies/10180/260416101924597/logo-190x100.jpeg"
        }
      },
      {
        "id": "20588447",
        "property_title": "1 bedroom flat for sale",
        "price": "£68,000",
        "price_value": 68000,
        "price_qualifier": "Offers over",
        "bedrooms": 1,
        "bathrooms": 1,
        "address": "Huntingdon Street, Nottingham NG1",
        "postcode": "NG1",
        "address_locality": "Nottingham",
        "features": [
          "Tenure: Leasehold",
          "Vacant property"
        ],
        "tenure": "Leasehold",
        "location": {
          "lat": 52.955646,
          "lon": -1.141968
        },
        "images": [
          {
            "url": "https://media.onthemarket.com/properties/20588447/1653326703/image-0-480x320.jpg",
            "webp_url": "https://media.onthemarket.com/properties/20588447/1653326703/image-0-480x320.webp"
          },
          {
            "url": "https://media.onthemarket.com/properties/20588447/1653326703/image-1-480x320.jpg",
            "webp_url": "https://media.onthemarket.com/properties/20588447/1653326703/image-1-480x320.webp"
          },
          {
            "url": "https://media.onthemarket.com/properties/20588447/1653326703/image-2-480x320.jpg",
            "webp_url": "https://media.onthemarket.com/properties/20588447/1653326703/image-2-480x320.webp"
          }
        ],
        "images_count": 18,
        "floorplans_count": 1,
        "online_viewing": true,
        "virtual_tour": true,
        "main_label": "Reduced today",
        "data_label_id": "reduced",
        "days_since_added_reduced": "Reduced today",
        "reduced": true,
        "for_sale": true,
        "property_url": "https://www.onthemarket.com/details/20588447/",
        "agent": {
          "branch_id": 68493,
          "name": "Let Property - Glasgow",
          "telephone": "0141 376 3809",
          "details_url": "https://www.onthemarket.com/agents/branch/let-property-glasgow/",
          "logo_url": "https://media.onthemarket.com/agents/companies/13754/240404135321912/logo-190x100.png"
        }
      }
    ],
    "facets": [
      {
        "name": "property-features[]",
        "text": "Outside space",
        "terms": [
          {
            "id": "driveway",
            "text": "Driveway"
          },
          {
            "id": "garden",
            "text": "Garden"
          },
          {
            "id": "parking",
            "text": "Parking"
          }
        ]
      },
      {
        "name": "online-viewings",
        "text": "Online viewings",
        "single_select": true,
        "terms": [
          {
            "text": "Any",
            "selected": true
          },
          {
            "id": "true",
            "text": "Show only"
          }
        ]
      },
      {
        "name": "new-home-flag",
        "text": "New build homes",
        "single_select": true,
        "terms": [
          {
            "text": "Any",
            "selected": true
          },
          {
            "id": "F",
            "text": "Exclude"
          },
          {
            "id": "T",
            "text": "Show only"
          }
        ]
      }
    ]
  },
  "meta": {
    "endpoint_family": "search",
    "duration_ms": 483
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

Each item in data.listings has these 26 fields, read from a recorded call that returned 30 items. The recording leaves out fields that were empty, so a live call can return more.

FieldType
idstring
property_titlestring
pricestring
price_valueinteger
price_qualifierstring
bedroomsinteger
bathroomsnumber
addressstring
postcodestring
address_localitystring
featuresstring[]
tenurestring
locationobject
imagesobject[]
images_countinteger
floorplans_countinteger
main_labelstring
data_label_idstring
days_since_added_reducedstring
spotlightboolean
for_saleboolean
property_urlurl
agentobject
online_viewingboolean
virtual_tourboolean
reducedboolean