Rightmove estate agent branch
One estate agent branch on rightmove.co.uk: name, brand, company, address, coordinates, sales and lettings phone numbers, description, logo, industry affiliations, a preview of its stock for sale and to let, recently sold and let homes, its sister branches, and one page of its current listings (24 per page, the same fields as /rightmove/v1/listings). Branch links appear as agent.url in /rightmove/v1/listings and /rightmove/v1/property. Pass next_page back as page; it is null on the last page.
Every response includes credits_used: the credits this call cost.
Parameters
| name | type | description |
|---|---|---|
url | string | Branch page link (https://www.rightmove.co.uk/estate-agents/agent/<brand>/<branch>-<id>.html). Either url or branch_id is required. Example: https://www.rightmove.co.uk/estate-agents/agent/Barnard-Marcus/Feltham-1903.html |
branch_id | string | Numeric branch id (the number at the end of the branch link, or agent.branch_id in listing results). |
channel | buy | rent | Which listings to page through: buy (for sale) or rent (to let). Default: buy, or rent for a lettings-only branch. |
sort | newest | oldest | price_desc | price_asc | Listing order: newest (default), oldest, price_desc, price_asc. |
page | integer | Listings page (24 per page, up to 42). Pass next_page from the previous response. |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/rightmove/v1/agent?url=https%3A%2F%2Fwww.rightmove.co.uk%2Festate-agents%2Fagent%2FBarnard-Marcus%2FFeltham-1903.html" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/rightmove/v1/agent",
params={"url": "https://www.rightmove.co.uk/estate-agents/agent/Barnard-Marcus/Feltham-1903.html"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/rightmove/v1/agent");
url.searchParams.set("url", "https://www.rightmove.co.uk/estate-agents/agent/Barnard-Marcus/Feltham-1903.html");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).