# Rightmove Search ## Overview | Property | Value | |----------|-------| | **Status** | active | | **Method** | `GET` | | **Endpoint** | `/v2/rightmove/search` | | **Base URL** | `https://api.piloterr.com` | | **Credit Cost** | 2 credits per call | | **Documentation** | https://www.piloterr.com/library/rightmove-search | ## Description Search Rightmove by a UK place name or a search URL. Each card has a numeric price, a price label rebuilt from that number, the address, the agent, and a property URL. ## Authentication - **Key Name:** `x-api-key` - **Location:** HTTP Header - **Get an API key:** https://app.piloterr.com/register ## Example Request ```bash curl --location --request GET 'https://api.piloterr.com/v2/rightmove/search' \ --header 'Content-Type: application/json' \ --header 'x-api-key: YOUR_API_KEY' ``` ## Example Response ### Talbot Road, Notting Hill ```json { "results": [ { "id": 94960389, "url": "https://www.rightmove.co.uk/properties/94960389", "agent": { "url": "https://www.rightmove.co.uk/estate-agents/agent/Kinleigh-Folkard-and-Hayward---Sales/Bayswater-55390.html", "name": "Kinleigh Folkard & Hayward - Sales, Bayswater", "phone": "020 3835 4072" }, "image": "https://media.rightmove.co.uk/dir/crop/10:9-16:9/property-photo/2451b1f09/94960389/2451b1f09818a2091af4d44c668814d9_max_476x317.jpeg", "price": 550000, "tenure": "SHARE_OF_FREEHOLD", "address": "Talbot Road, Notting Hill, London, W2", "channel": "BUY", "summary": "Talbot Road is one of the most desirable streets in the area, positioned between the vibrant neighbourhoods of Notting Hill and Bayswater. Residents enjoy immediate access to an outstanding selection of independent cafés, restaurants, boutiques, and local amenities, while the world-renowne...", "bedrooms": 1, "currency": "GBP", "featured": false, "latitude": 51.517913, "bathrooms": 1, "longitude": -0.193037, "floor_area": "389 sq. ft.", "image_count": 8, "key_features": [ "One bedroom apartment", "Private balcony", "Excellent transport links", "Chain free" ], "price_display": "£550,000", "property_type": "Flat", "listing_update": "Added today", "price_frequency": null, "price_qualifier": null, "transaction_type": "buy" } ], "pagination": { "next": "https://www.rightmove.co.uk/property-for-sale/London-87490.html?index=24", "page": 1, "per_page": 24, "total_pages": 42, "total_results": 59708 } } ``` ## Documentation ## Overview Search Rightmove and get one page of listings. Pass a UK place name or a full search URL. Each card includes the asking price as a number, a price label rebuilt from that number, the address, bedrooms, and the agent. `results[].url` is the property link for `/v2/rightmove/property`. ## Quickstart Homes for sale in Bristol. A place name always opens the for-sale channel. ``` GET https://api.piloterr.com/v2/rightmove/search?query=Bristol ``` Page 2 of that same search. Page 2 sends `index=24`. ``` GET https://api.piloterr.com/v2/rightmove/search?query=https://www.rightmove.co.uk/property-for-sale/Bristol.html&page=2 ``` ## Parameters ### query Required string. A UK place such as `Bristol`, or a Rightmove search URL. - A place opens `https://www.rightmove.co.uk/property-for-sale/{place}.html`. Cards have `channel` `BUY` and `transaction_type` `buy`. - A `property-to-rent` URL keeps the rental search. Cards have `channel` `RENT`, `transaction_type` `rent`, and `price_frequency` `pcm` or `pw` when the card shows a rent period. - A `/properties/{id}` URL returns 400. Use `/v2/rightmove/property` for one home. - There is no default. ### page Optional integer, from 1. When omitted, the URL is fetched as written and `pagination.page` is taken from that page. - `1` sends `index=0`. `2` sends `index=24`. Rightmove pages are 24 listings. - `pagination.page` becomes the page you asked for. - `pagination.next` is the next Rightmove URL, or null on the last page. - If the URL already has `index`, `page` replaces it. ### return_page_source Optional boolean. Default `false`. - `false`: `{ results, pagination }`. - `true`: `{ "result": "" }`. Listing fields are not returned. ## Response fields | Field | Type | Description | |---|---|---| | `results` | array | Listings on this page | | `results[].id` | integer | Rightmove property id | | `results[].url` | string | Property URL | | `results[].address` | string or null | Display address | | `results[].summary` | string or null | Card summary | | `results[].price` | integer or null | Asking price as a number | | `results[].price_display` | string or null | Same price rebuilt in pounds, such as `£550,000` | | `results[].price_qualifier` | string or null | Guide Price, Offers in Excess of, or null | | `results[].price_frequency` | string or null | `pcm` or `pw` on a rental | | `results[].currency` | string or null | `GBP` | | `results[].bedrooms` | integer or null | Bedrooms | | `results[].bathrooms` | integer or null | Bathrooms | | `results[].property_type` | string or null | Flat, House, Apartment, and so on | | `results[].tenure` | string or null | LEASEHOLD, FREEHOLD, SHARE_OF_FREEHOLD | | `results[].floor_area` | string or null | Size label from the card | | `results[].transaction_type` | string or null | `buy` or `rent` | | `results[].channel` | string or null | `BUY` or `RENT` | | `results[].listing_update` | string or null | Added today, Reduced today, and similar | | `results[].featured` | boolean | Featured slot on the page | | `results[].image` | string or null | First photo URL | | `results[].image_count` | integer or null | Photo count | | `results[].latitude` | number or null | Latitude | | `results[].longitude` | number or null | Longitude | | `results[].key_features` | array | Feature lines from the card | | `results[].agent.name` | string or null | Branch name | | `results[].agent.phone` | string or null | Phone on the card | | `results[].agent.url` | string or null | Branch page | | `pagination.page` | integer | Current page, from 1 | | `pagination.per_page` | integer | Page size, usually 24 | | `pagination.total_results` | integer or null | Count shown by Rightmove | | `pagination.total_pages` | integer or null | Pages Rightmove exposes | | `pagination.next` | string or null | Next page URL, or null | ## Notes `price_display` is rebuilt from `price`. A guide printed as `£525,000 -` comes back as `£525,000`. When `price` is present, the number in `price_display` is that same price. If the result count is written with a plus sign, `total_results` is that figure and `total_pages` is null. A featured listing can make `results` one item longer than `per_page`. ## Use cases - Watch new and reduced homes in one city - Fill a CRM with asking price, tenure, and the agent phone - Walk a search by following `pagination.next` ## Error codes | Code | Meaning | |---|---| | 400 | Missing query, unknown host, or a property URL | | 401 | Missing or invalid API key | | 403 | The search page was blocked | | 404 | The page had no listings | | 500 | The page could not be rendered |