# Gumtree UK Listings Scraper (`nice_dev/gumtree-listings-scraper`) Actor

Scrape Gumtree.com (UK) ads: several keywords × towns × categories per run, only new ads for monitoring, date, car and property filters. Price, postcode, photos, vehicle and property details; ad page details, dealer phone and seller e-mails as options.

- **URL**: https://apify.com/nice_dev/gumtree-listings-scraper.md
- **Developed by:** [Nice Dev](https://apify.com/nice_dev) (community)
- **Categories:** Real estate, Lead generation, MCP servers
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.02 / 1,000 ads

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### 🔎 What is Gumtree UK Listings Scraper?

**Gumtree UK Listings Scraper** extracts **classified ads from [Gumtree.com](https://www.gumtree.com)**, the UK's largest classifieds site: **title, price, location and postcode, posting date, seller, photos, vehicle details (make, model, year, mileage, fuel, gearbox, registration), property details (bedrooms, bathrooms, type, availability, monthly rent)** for cars, property, furniture, electronics, pets, jobs and services — and, with **Extract details** (an option), **the full description, exact dates and seller ratings**; as paid options, **dealer phone numbers**, **Gumtree's vehicle history check** and **the e-mail addresses published on the sellers' own websites**.

Type **keywords**, pick **categories**, **towns** and a **distance** — several of each in one run — click **Start**, and download the ads in JSON, CSV or Excel. Schedule it with **Only new ads** to get, every day, only the ads you have not received yet. One flat row per ad, ready for a spreadsheet. UK site only (`gumtree.com`), all 7 root categories and 115 sub-categories.

### 📋 What data can you extract from Gumtree?

One item per ad, 95 fields:

| Category | What you get |
| --- | --- |
| 🏷️ **Ad** | title, link, ad id, category and sub-category, condition — `Carrera off-road mountain bike` |
| 💰 **Price** | price as a number, price text, per-week and per-month rents — `£2,450.00pm` |
| 📍 **Location** | town, postcode, area, distance in miles, map position (the centre of the area when the seller hides the exact point) — `Forest Hill, London`, `SE264RE` |
| 🕒 **Dates** | posting date in ISO 8601 (what the date filters read); with **Extract details**: creation, update and expiry dates |
| 👤 **Seller** | seller type (private or trade), pro and verified flags, website, link to their other ads; with **Extract details**: name, rating and feedback, member since, number of ads |
| 📞 **Contact (options)** | dealer phone number, e-mail addresses published on the seller's own website |
| 🚗 **Vehicles** | make, model, year, mileage, fuel, gearbox, body, colour, engine size, registration; Gumtree's vehicle history check (option) |
| 🏠 **Property** | bedrooms, bathrooms, type, available from, monthly rent |
| 🖼️ **Text and photos** | short description, photo URLs and count, every attribute Gumtree shows; with **Extract details**: the full description |
| 📊 **Search context** | rank on the results page, the search that found the ad, featured and urgent flags |

Every field, with an example, is listed in the **Output** section below.

Fields marked **Detail** in the Output tab (`description`, `createdAt`, `sellerName`, seller ratings and stats, `categoryPath`, `similarListingUrls`, `videoUrls`, and, with their option, `sellerPhone` and the vehicle history check) are filled when **Extract details** is on (off by default). Vehicle and property fields come from the search cards: they are filled even with details off.

### ✅ Why use Gumtree UK Listings Scraper?

- 🧾 **Flat, typed rows**: `price` is a number, dates are ISO 8601, vehicle and property details in their own columns — no nested `adPriceData.amount` to unpack.
- 🔎 **Several searches in one run**: keywords × places × categories, with a cap per search so that one search cannot eat the whole budget.
- 🆕 **Only new ads**: schedule the Actor; each run returns only the ads a previous run has not delivered — not charged twice.
- 📅 **Date filter**: `postedAfter` / `postedBefore` (`2026-09-01`, `7 days`); on a newest-first search the Actor stops paging as soon as the ads get too old.
- 🛡️ **Vehicle history check** of car ad pages (option): not stolen / scrapped / exported, write-off category (Cat S, N…), original plate and colour — flat columns, no extra request, charged only when the check comes back.
- 🚗 **Car and property filters**: make, model, year, mileage, fuel, gearbox, body, colour; bedrooms and property type — sent to Gumtree (except the model, checked by the Actor only) and checked again by the Actor on every ad. For motorbikes the make is checked by the Actor only (Gumtree does not filter it), so every motorbike ad of the search is read.
- 📞 **Dealer phone numbers** (option) when Gumtree publishes them on the ad page (no login), charged only when a number comes back, with an "only ads with a phone" filter.
- 📧 **E-mails from sellers' websites**: optional; the Actor visits the website a tradesman, dealer or agency gives on its ad (home, contact and legal pages) — charged only when an address is found. Only the seller's own addresses are kept: those on the domain of its website, or an address (a webmail one included) that carries its name or that of its website; the address of a web agency, a web hosting company or a general page is left aside.
- 🛡️ **Nothing lost in silence**: a page turned away is retried, and whatever the run could not read is listed with its reason in `FAILED_REQUESTS`; a results page that counts ads but gives none fails the run instead of returning an empty file.
- 🔌 API, scheduling, integrations (Make, Zapier, n8n, Google Sheets…) and JSON/CSV/Excel export via the Apify platform.

### 🚀 How to scrape Gumtree

1. Create a free Apify account.
2. Open **Gumtree UK Listings Scraper**, type **Keywords** (e.g. `road bike`), choose a **Category** and a **Location** (`London`, `Manchester`, a postcode…), optionally a **Distance**, a **price range**, a **sort order**.
3. Several searches: fill **More keywords**, **More categories** and **More locations**; set **Max ads per search**.
4. Or paste your own Gumtree URLs into **Start URLs**: search results pages (`https://www.gumtree.com/search?...`), category pages (`https://www.gumtree.com/cars-vans-motorbikes/cars/uk/manchester`) or single ads.
5. Set **Max ads** (100 by default, 0 = no limit) and click **Start**. Download the dataset in JSON, CSV, Excel or via API.

### 💰 How much does it cost to scrape Gumtree?

This Actor uses **pay per event** pricing: **$0.046 per 1,000 ads**, plus **$0.01 per run start** (one start event per GB of memory given to the run: 512 MB, the default, is one event). Prices here are without an Apify subscription; paid plans pay less (Gold: $0.024 per 1,000 ads). The ad page details (**Extract details**, off by default: full description, exact dates, seller, ratings) are a separate event, `listing-details` (**$0.85 per 1,000 ads**, Gold $0.70), charged per ad saved with the data of its page; off = the search-card fields only, and no `listing-details`. An ad URL pasted in **Start URLs** is always read on its page, and charged `listing-details`. Ads already delivered (**Only new ads**) are not charged. An ad that passes the filters pays its own price and nothing more; an ad a filter drops is charged the check, once: event `filter-check` for each results card dropped by a filter the Actor checks ($0.05 per 1,000 checks), `detail-filter-check` ($0.25 per 1,000) for each ad page dropped by **Min seller rating** or **Only ads with a phone number**. Filters Gumtree applies itself (seller type, photos, car and property filters, the price in a category) leave the Actor little or nothing to drop. A filtered-out ad is not saved and does not count in **Max ads**.
Example: 1,500 used cars in Manchester with their ad page (the most one search gives: 50 pages) ≈ $1.35; a daily monitor of 200 new ads with their ad page ≈ $0.19 per day.

**Dealer phone number** and **vehicle history check** (optional) are separate events, charged per ad only when the data comes back: `seller-contact` **$2.49 per 1,000 ads saved with a phone number** (Gold $2.46), `vehicle-history` **$4.49 per 1,000 ads saved with the detailed check** (Gold $3.39) (a check that only says `checked`, as for most private sellers, is free). Off (default) = the fields stay empty and nothing is charged.

**E-mails from sellers' websites** (optional) are a separate event, `email-enriched`: **$2.03 per 1,000 ads for which at least one e-mail was found** (Gold $2.00) — nothing when the option is off, when the ad gives no website (a Facebook / Instagram page given as the website is not visited), or when the website shows no address of the seller itself (the address of a web agency, a web hosting company or a general page is left aside).

The proxy is **included in the price**: leave the default setting (the residential Apify proxy is not available in this Actor).

**Cost levers**: tick the phone number and vehicle history options only when you need them; turn **Extract details** off (half the requests, and no `listing-details` — except for ad URLs you paste); leave **Extract the seller's other ads** off unless you need them (it doubles the requests again); use **Only new ads** or **Posted after** on scheduled runs; prefer the filters Gumtree applies itself (they cost nothing more) and pick a category when you filter by price; filters that need the ad page (**Min seller rating**, **Only ads with a phone number**) open every candidate ad, and charge each one they drop.

### ⚙️ Input

```json
{
    "query": "road bike",
    "category": "all",
    "location": "London",
    "distance": "10",
    "priceMin": 50,
    "priceMax": 500,
    "sortBy": "date",
    "maxItems": 200,
    "extractDetails": true
}
```

Several searches, used cars, only the new ones (schedule it daily):

```json
{
    "categories": ["cars"],
    "locations": ["Manchester", "Leeds", "Birmingham"],
    "maxItemsPerQuery": 100,
    "make": "bmw",
    "yearMin": 2015,
    "mileageMax": 80000,
    "fuelTypes": ["diesel", "hybrid_electric"],
    "sellerType": "TRADE",
    "onlyNew": true,
    "stateKey": "bmw-north",
    "maxItems": 0
}
```

With your own URLs:

```json
{
    "startUrls": [
        { "url": "https://www.gumtree.com/search?search_category=cars&search_location=manchester&max_price=5000" },
        { "url": "https://www.gumtree.com/flats-houses/property-to-rent/uk/london" },
        { "url": "https://www.gumtree.com/p/other-bikes/carrera-off-road-mountain-bike/1801478126" }
    ],
    "maxItems": 500
}
```

| Field                                                                                                                   | What it does                                                                                                   |
| ----------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| `startUrls`                                                                                                             | your own Gumtree URLs instead of the search fields: `https://www.gumtree.com/search?search_category=cars&search_location=manchester`, a category page or a single ad |
| `query`, `category`, `location`, `distance`                                                                             | one search, as on the site                                                                                     |
| `searchQueries`, `categories`, `locations`                                                                              | more searches: every keyword × place × category (max 500 per run)                                              |
| `maxItems`, `maxItemsPerQuery`, `maxPages`                                                                              | global cap, cap per search, results pages per search                                                           |
| `priceMin`, `priceMax`, `sortBy`, `sellerType`, `onlyWithPhotos`, `searchInDescription`                                 | site filters — seller type is PRIVATE or TRADE (price and seller type checked again by the Actor; rentals: price per week, as on Gumtree) |
| `postedAfter`, `postedBefore`, `verifiedOnly`, `minRating`, `requirePhone`                                              | Actor filters (a date such as `2026-09-01`, or a period such as `7 days`): a dropped ad is not saved, not counted; each ad dropped is charged |
| `excludeKeywords`                                                                                                       | WHOLE words of the title to drop (case and accents ignored): `art` drops "Art deco", not "Smart watch"; `hand made` needs both words; each ad dropped is charged |
| `make`, `model`, `yearMin`, `yearMax`, `mileageMin`, `mileageMax`, `fuelTypes`, `transmissions`, `bodyTypes`, `colours` | cars, vans & motorbikes                                                                                        |
| `bedroomsMin`, `bedroomsMax`, `propertyTypes`                                                                           | property                                                                                                       |
| `onlyNew`, `stateKey`, `resetState`                                                                                     | monitoring: only the ads not delivered before under this memory key                                            |
| `extractDetails`, `privateSellerNames`, `extractSellerListings`                                                         | open each ad page; keep private sellers' first name; also read the seller's other ads (1 extra request per ad) |
| `includeSellerContact`, `includeVehicleHistory`                                                                         | dealer phone number, vehicle history check (need details, separate events, charged only when found)           |
| `enrichEmails`                                                                                                          | visit the seller's own website for its own e-mails (needs details, separate event)                                 |
| `proxyConfiguration`, `maxConcurrency`, `maxRequestsPerMinute`, `maxRequestRetries`, `debugLog`                         | Advanced: proxy (keep the default), pace, retries, and a log that names every request                          |

### 📦 Output

```json
{
    "id": 1802641197,
    "url": "https://www.gumtree.com/p/bmw/2012-bmw-3-series-328i-modern-4dr-step-auto-saloon-petrol-automatic/1802641197",
    "title": "2012 BMW 3 Series 328i Modern 4dr Step Auto SALOON Petrol Automatic",
    "price": 4299,
    "priceText": "£4,299.00",
    "currency": "GBP",
    "priceType": "fixed",
    "category": "BMW",
    "location": "Longsight, Manchester",
    "postcode": "M124EY",
    "postedAt": "2026-09-17T07:40:17.500Z",
    "createdAt": "2026-09-12T07:24:00.491Z",
    "sellerName": "A6 Car Sales",
    "sellerType": "trade",
    "isProSeller": true,
    "isSellerVerified": false,
    "sellerPhone": "07419004561",
    "sellerHasPhone": true,
    "sellerPostingSince": "9+ years",
    "emails": [],
    "images": ["https://img.gumtree.com/…/86", "https://img.gumtree.com/…/87"],
    "imageUrl": "https://img.gumtree.com/…/86",
    "imageCount": 18,
    "attributes": {"vehicle_previous_keepers": "4", "vehicle_not_writeoff": "false", "navigation_system": "Yes"},
    "vehicleMake": "BMW",
    "vehicleModel": "3 SERIES",
    "vehicleYear": 2012,
    "vehicleMileage": 98000,
    "vehicleFuelType": "Petrol",
    "vehicleTransmission": "Automatic",
    "vehicleBodyType": "Saloon",
    "vehicleColour": "Black",
    "vehicleEngineSizeCc": 1997,
    "vehicleRegistration": "YE62DGO",
    "vehicleHistoryChecked": true,
    "vehicleHistoryNotCatSN": false,
    "vehicleHistoryWriteOffCategory": "S",
    "vehicleHistoryOriginalPlate": false,
    "isBumpedUp": true,
    "similarListingUrls": ["https://www.gumtree.com/p/bmw/2017-bmw-x1-…/1512904596"],
    "position": 6,
    "pageNumber": 1,
    "totalResults": 7938,
    "searchLocation": "Manchester",
    "searchCategory": "cars",
    "searchUrl": "https://www.gumtree.com/search?search_category=cars&search_location=manchester&page=1",
    "scrapedAt": "2026-09-17T08:10:00.000Z"
}
```

#### All 95 fields

| Field                                                                                                                                                                                         | Example                                                                                                                           |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| `id`, `url`, `title`                                                                                                                                                                          | `1802743014`, `https://www.gumtree.com/p/other-bikes/.../1802743014`, `Carrera off-road mountain bike`                            |
| `price`, `priceText`, `priceType`, `pricePerMonth`, `currency`                                                                                                                                | `2450`, `£2,450.00pm`, `per_month`, `2450`, `GBP` (`price` is a number; weekly rents also get `pricePerMonth`)                    |
| `category`, `categorySlug`, `categoryId`, `categoryL1Id`, `categoryL2Id`, `categoryPath`, `condition`                                                                                                                                       | `Other Bikes`, `other-bikes`, `["For Sale","Sports, Leisure & Travel","Bicycles","Other Bikes"]`, `Good condition`                |
| `location`, `postcode`, `area`, `subArea`, `locationId`, `distanceMiles`, `latitude`, `longitude`, `isLocationApproximate`                                                                                  | `Forest Hill, London`, `SE264RE`, `London`, `Forest Hill`, `6`, `51.44`, `-0.05`, `true` (area centre, ~1 km)                     |
| `postedAt`, `postedText`, `createdAt`, `updatedAt`, `expiresAt`                                                                                                                               | ISO 8601 — exact timestamps, not just "1 day ago"                                                                                 |
| `sellerId`, `sellerName`, `sellerType`, `isProSeller`, `isSellerVerified`                                                                                                                     | `53458489`, `A6 Car Sales`, `private` / `trade` / `business` / `agency`, `true`, `false`                                                       |
| `sellerPhone`, `sellerHasPhone`, `sellerWebsite`, `sellerOtherAdsUrl`                                                                                                                         | `07419004561` (option **Include the seller's phone number**: trade sellers whose ad page shows it), `true`, seller's website, link to the seller's other ads |
| `emails`, `emailSource`                                                                                                                                                                       | `["sales@dealer-website.co.uk"]` and the page they were found on — with **Find e-mails on sellers' websites**                     |
| `sellerRating`, `sellerRatingCount`, `sellerRatingBreakdown`, `sellerFeedbackTags`                                                                                                            | `4`, `4`, `{"1":1,…,"5":3}`, `[{"title":"Friendly","count":2}]`                                                                   |
| `sellerPostingSince`, `sellerLastActive`, `sellerAdCount`                                                                                                                                     | `3+ years`, `2026-09-12T16:12:42.000Z`, `2`                                                                                       |
| `sellerListings`, `sellerLiveAdCount`                                                                                                                                                         | the seller's other live ads (id, URL, title, price, date) and how many they have in all — with **Extract the seller's other ads** |
| `vehicleMake`, `vehicleModel`, `vehicleYear`, `vehicleMileage`, `vehicleFuelType`, `vehicleTransmission`, `vehicleBodyType`, `vehicleColour`, `vehicleEngineSizeCc`, `vehicleRegistration`    | `BMW`, `3 SERIES`, `2012`, `98000`, `Petrol`, `Automatic`, `Saloon`, `Black`, `1997`, `YE62DGO`                                   |
| `vehicleHistoryChecked`, `vehicleHistoryWriteOffCategory`, `vehicleHistoryNotCatAB`, `vehicleHistoryNotCatCD`, `vehicleHistoryNotCatSN`, `vehicleHistoryNotImported`, `vehicleHistoryOriginalPlate`, `vehicleHistoryOriginalColour` | Gumtree's vehicle history check (option **Include the vehicle history check**): `true`, `S`, `true` / `true` / `false`, `false`, `true`, `true` (true = Pass) |
| `bedrooms`, `bathrooms`, `propertyType`, `availableFrom`                                                                                                                                      | `3` (0 = studio), `1`, `House`, `2026-09-16`                                                                                      |
| `description`, `shortDescription`                                                                                                                                                             | full text with line breaks / first ~250 characters                                                                                 |
| `images`, `imageUrl`, `imageCount`, `hasVideo`, `videoUrls`                                                                                                                                   | photo URLs, main photo                                                                                                            |
| `attributes`                                                                                                                                                                                  | every attribute Gumtree shows (`vehicle_not_writeoff`, `vehicle_previous_keepers`, `air_conditioning`…)                           |
| `isFeatured`, `isUrgent`, `isBumpedUp`, `isStandout`, `supportsShipping`, `favouriteCount`, `status`, `similarListingUrls`                                                                    | paid placement flags, delivery, saves, `LIVE`, up to 10 similar ads                                                               |
| `position`, `pageNumber`, `totalResults`, `searchQuery`, `searchLocation`, `searchCategory`, `searchUrl`, `scrapedAt`                                                                         | rank on the results page, the search that found the ad                                                                            |

### 💡 Tips

#### Several searches in one run

Every keyword is searched in every place and every category: 3 keywords × 4 towns × 2 categories = 24 searches (max 500). Each search has its own counter: **Max ads per search** stops one search without stopping the others. An ad found by two searches is saved once and counts for the first one.

#### Monitoring: only the new ads

Tick **Only new ads** and schedule the Actor. The first run returns everything; the next ones skip the ads already delivered under the same **Memory key** (they are neither saved nor charged). Give each schedule its own key. On a newest-first search the Actor stops paging after 150 ads in a row it has already delivered — with **Max ads** set, after 80 % of that many, counted in all. A bumped-up or reposted ad keeps its id: it is not new. On a search sorted any other way, the Actor stops after 20 results pages in a row where every ad was already delivered (one new ad on a page starts the count again): a new ad placed further down is not found. An ad your filters drop is checked (and charged the check) once: the next runs with the same filters skip it for free; change a filter, or tick **Reset the memory**, to check them again. The memory lives in the key-value store `gumtree-listings-scraper-seen` of your account (150,000 ids per key).

#### Filter by publication date

**Posted after** / **Posted before** accept a date (`2026-09-01`, the whole day is included, UK time) or a period (`7 days`, `24 hours`). They read `postedAt`, the last (re)publication — the date Gumtree's "Most recent first" order follows, so the Actor stops paging at the first page that is entirely too old.

#### How to get more than 1,500 ads

Gumtree serves at most **50 pages (≈ 1,500 ads) per search**. Split the search: several categories, towns or price bands in **More categories** / **More locations**, or several **Start URLs**.

#### Sub-categories

The **Category** list covers Gumtree's 7 root categories and 115 level-2 categories. **More categories** also accepts deeper slugs (`other-bikes`, `property-to-rent`).

### 🔌 Integrations and API

Run it from the Apify Console, on a schedule, or via the [Apify API](https://docs.apify.com/api/v2) and clients (JavaScript, Python). Connect it to Google Sheets, Make, Zapier, n8n, Slack or any webhook.

### 🤖 Use with AI agents (MCP)

AI agents (Claude, ChatGPT, Cursor…) can find and run this Actor through the [Apify MCP server](https://mcp.apify.com), billed to their Apify account like any run. It returns one item per Gumtree UK ad. Actor id: `nice_dev/gumtree-listings-scraper`; MCP server with this Actor only: `https://mcp.apify.com/?tools=fetch-actor-details,nice_dev/gumtree-listings-scraper`.

Smallest input, for a cheap first call:

```json
{
    "query": "road bike",
    "location": "London",
    "maxItems": 10
}
```

Key output fields: `url`, `title`, `price`, `currency`, `location`, `postcode`, `postedAt`, `description`.

Cost: $0.046 per 1,000 ads plus $0.01 per run start (per GB of memory given to the run, 512 MB by default); the ad page details (`listing-details`, $0.85 per 1,000), the dealer phone number ($2.49 per 1,000), the vehicle history check ($4.49 per 1,000), e-mails from sellers' websites ($2.03 per 1,000) and the filters only the Actor can check cost extra, see the pricing section above. Cap each call with `maxItems` and, through the API, with the run option `maxTotalChargeUsd`.

### ❓ FAQ

#### Is it legal to scrape Gumtree?

The Actor only reads what any anonymous visitor sees, and it logs in to nothing. Ads are public, but private sellers are natural persons: their first name and postcode are personal data under UK GDPR — turn **Include private sellers' first name** off if you do not need it. Phone numbers are only output for **trade** sellers (dealers, agencies) whose ad page shows the full number without login; a private seller's number sits behind a Gumtree login and is not extracted. With **Find e-mails on sellers' websites** on, the Actor also reads the pages a seller publishes on its own website (home page, contact page, legal notice) and returns the addresses shown there — what any visitor sees; it does not guess addresses or fill in contact forms. Some of them are personal data (e.g. `firstname.lastname@dealer.co.uk`). **You remain responsible for how you use this data (UK GDPR)**: have a lawful basis, inform the people concerned, honour opt-outs, and check Gumtree's terms; rules for e-mail prospecting differ by country.

You are responsible for using the data in compliance with Gumtree's Terms of Use and applicable law, and you run it at your own risk. This Actor is not affiliated with Gumtree.

#### Does it need a login or a proxy?

No login. The proxy is included in the price: leave the default setting (the residential proxy is not available). A request the site turns away is retried at once; without a proxy, after a pause of 5 seconds, doubled at each retry up to 150 seconds.

#### How long does a run take?

Measured on 17 Sept 2026 on a single IP, with the proxy off: **100 ads in 6 minutes** without details, **40 ads in 4 minutes** with them — so about **1,000 ads in an hour** without details, 2 to 4 hours with them. Keep the default proxy and runs are faster. A very narrow filter is the slow case: the Actor has to page through the whole search to find the few matching ads.

#### Is the data safe to open in Excel or to show on a web page?

Every URL field (`url`, `images`, `imageUrl`, `videoUrls`, `sellerWebsite`, `sellerOtherAdsUrl`, `similarListingUrls`) holds an http(s) URL or `null`: nothing else ever comes out of them. Titles and descriptions are the sellers' own words, copied as they are. A text can begin with `-`, `+`, `=` or `@` (a phone number, a title such as `-20% today`): Excel and Google Sheets may read such a cell of a CSV file as a formula or as a number. The Actor leaves the text as it is, so that the JSON and the API give the real value: when you open a CSV, import these columns as text. A postcode (`M124EY`) and a registration (`YE62DGO`) are text too — Excel keeps them as they are, but check the column if you paste them. A phone number (`sellerPhone`, `07419004561`) starts with 0: import that column as text, or Excel drops the 0. On a web page, escape every field like any text written by a stranger.

#### Known limitations

- Maximum 50 pages per search.
- A results page the Actor never manages to read is given up after its retries: its ~30 ads are missing from the run, the log says so, and the page is listed in `FAILED_REQUESTS`. Keep the default proxy and this does not happen.
- **Extract the seller's other ads** reads one page per seller: at most 25 of their ads, never the 6,000 of a big letting agency (`sellerLiveAdCount` still tells you how many they have).
- **Only new ads** stops a newest-first search at the first ad that the last complete run never delivered and that is older than when that run started (or after enough delivered ads: 80 % of **Max ads** in all when it is set, else 150 in a row): older ads that a capped run left out are not returned. Ads published or reposted since are dated after it and still come. A run that lost a results page (blocked for good), that ran out of its request budget, that its maximum cost stopped, or that stopped itself before its timeout is not "complete": the next run reads past it. Featured (paid) ads, shown on top of every page whatever their age, count as new until a run has delivered them once.
- Two runs at the same time on the same **Memory key**: an ad can come back once.
- `sellerPhone` only for trade sellers whose ad page shows the number (motor dealers mostly); private sellers' numbers need a Gumtree login (so do most tradesmen's: 0 of 19 London tradesmen's ads showed one on 19 Sept 2026, all 19 had a phone).
- `emails` only for ads whose page gives a website, which is rare (1 of 19 London tradesmen's ads on 19 Sept 2026); small businesses often publish a webmail address (Gmail, Yahoo). Websites built in JavaScript only, or showing addresses as images, give none.
- `vehicleHistory*` fields are what Gumtree's own free check shows on the ad page (guidance, not an HPI report). Private ads get the basic check only (`vehicleHistoryChecked`; the other fields stay empty — 3 of 3 sampled), dealer ads the detailed one (16 of 16, London cars, 19 Sept 2026). Gumtree showed the "imported" advisory (`vehicleHistoryNotImported: false`) on all 16 detailed checks: read it as Gumtree shows it.
- Ads that dealers publish through Gumtree's motors feed share one `sellerId` across different dealers: group them by `sellerName` or `sellerPhone`.
- `isSellerVerified` is rare (0 of 150 ads sampled on 16-17 Sept 2026); `bathrooms` is given by about 1 advertiser in 6.
- GPS coordinates are the ad's pin only when the results card or the ad's map shows one; otherwise they are the centre of its area (2 decimals, about 1 km — most private ads), and `isLocationApproximate` is `true`.
- An ad URL pasted in **Start URLs** has no results card: `position`, `pageNumber`, `totalResults`, `supportsShipping` and a few attributes only the card lists (`bathrooms`, a pet's date of birth…) stay empty.
- Gumtree UK only (`gumtree.com`); Australia, New Zealand and South Africa are different sites.

**A run the platform stops without warning** (out of memory, run timeout)

- Resurrect it: it goes on from where it stood at most a minute before the stop. What it had read since is read again, and the ads already saved are skipped: none is delivered or charged twice, and **Max ads** still counts them.
- With **Only new ads**, the memory is saved after each write (at most once every 2 seconds): resurrect the stopped run and the ads it had saved meanwhile join the memory; leave it stopped for good, and the next run may return the ads of its last 2 seconds once more.

#### Something doesn't work?

The last line of the log counts the ads saved, filtered out, already delivered and no longer on Gumtree (removed while the run was reading them), and the requests that failed after every retry. Those requests and the removed ads are listed, with the reason, in the `FAILED_REQUESTS` record of the run's key-value store. A run that saved nothing and had failed requests fails, and its last message gives the cause (a search URL that does not exist says so, instead of "run it again"). A run that saved some ads fails too when at least as many requests failed for good as were read: a green run with a short dataset would hide an outage. One failed request among many is only a warning.

If Gumtree changes its pages, you are told instead of paying for blank rows. A results page that counts ads but gives none the Actor can read is an error (listed in `FAILED_REQUESTS`), never a quiet "No ads found". If the first 20 ads read all lack their title, publication date (`postedAt`), location, category id or identity check (`isSellerVerified`) — or, with **Extract details**, their creation date, category path or phone flag — the run saves nothing more, stops and fails, and its last message names the missing field: at most those first ads are charged. An ad that **Posted after** / **Posted before** drops because it has no date at all counts among those 20. A run that reads fewer than 20 ads is judged at its end, from 5 ads: it fails with the same message (its rows are saved).

Open an issue on the Actor's **Issues** tab with your input and the run ID.

# Actor input Schema

## `startUrls` (type: `array`):

Gumtree.com search-result URLs (`https://www.gumtree.com/search?...`, all filters set on the site are kept, pagination is automatic), category browse URLs (`https://www.gumtree.com/cars-vans-motorbikes/manchester`) or single ad URLs (`https://www.gumtree.com/p/other-bikes/carrera-off-road-mountain-bike/1801478126`). When this list is not empty, the search fields (keywords, category, location and their lists) are not used; the Actor-side filters below still apply. Max 1 000 URLs.

## `query` (type: `string`):

Words to search for, e.g. `road bike`, `iphone 15`, `2 bedroom flat`. Leave empty to browse a whole category.

## `category` (type: `string`):

Gumtree category (`all` = every category), as the list offers it. A deeper sub-category (other-bikes, property-to-rent › flats) goes in **More categories**, or in a search URL pasted in Start URLs.

## `location` (type: `string`):

Town, city, region or postcode as you would type it on Gumtree, e.g. `London`, `Manchester`, `South East London`, `Bristol`, `SW1A 1AA`, `uk` (whole country).

## `distance` (type: `string`):

Search radius around the location, in miles. `0` = Gumtree's default area for that location.

## `priceMin` (type: `integer`):

Minimum price in pounds (rentals: per week, like Gumtree's « Rent (pw) » filter; a monthly rent is converted). Also checked by the Actor itself, because Gumtree ignores price filters on some category-less searches.

## `priceMax` (type: `integer`):

Maximum price in pounds (rentals: per week, a monthly rent is converted × 12 / 52). Ads without a price are dropped when a price filter is set.

## `sortBy` (type: `string`):

Order of results. Gumtree always shows featured (paid) ads first; `date` = last (re)publication first, the best choice for monitoring. With **Posted after** or **Only new ads**, `relevance` is replaced by `date` so that the Actor can stop paging early.

## `maxItems` (type: `integer`):

Maximum number of ads to save (after deduplication). 0 = no limit. Gumtree serves at most 50 pages (≈ 1 500 ads) per search: split by category, location or price to get more.

## `extractDetails` (type: `boolean`):

Open each ad page (1 extra request per ad) for the full description, exact creation / update / expiry dates, seller name, seller stats and ratings, category path, similar ads, video. Charged as a separate `listing-details` event, only for ads saved with the data of their page. Off = search-card fields only (title, price, location, postcode, photos, attributes, vehicle and property fields, short description): 2× faster, no `listing-details` charged — except for an ad URL pasted in Start URLs, always read on its page.

## `searchQueries` (type: `array`):

Several keywords in one run: one search per keyword (times each location and category). Added to **Keywords**.

## `categories` (type: `array`):

Several categories in one run (added to **Category**). Any Gumtree slug works, including deeper ones such as `other-bikes` or `property-to-rent`.

## `locations` (type: `array`):

Several places in one run: every keyword is searched in every place (3 keywords × 4 places = 12 searches, max 500). Added to **Location**.

## `maxItemsPerQuery` (type: `integer`):

Cap for EACH search (keyword × place × category, or search URL), so that the first search cannot use up the whole **Max ads** budget. 0 = no per-search cap.

## `maxPages` (type: `integer`):

Results pages read per search at most (≈ 30 ads a page; Gumtree never serves more than 50). 0 = as many as needed. `1` = the first page only.

## `postedAfter` (type: `string`):

Only ads (re)published on or after this date: `2026-09-01`, or a period before now such as `7 days`, `2 weeks` (API: `24 hours` and ISO date-times work too). Reads `postedAt` = the last (re)publication, what Gumtree's newest-first order follows: a bumped-up old ad counts as recent.

## `postedBefore` (type: `string`):

Only ads (re)published on or before this date (the whole day is included, UK time), or older than a period such as `30 days`.

## `sellerType` (type: `string`):

Private sellers only, or trade sellers only (dealers, letting agents, shops).

## `onlyWithPhotos` (type: `boolean`):

Skip ads that have no picture.

## `searchInDescription` (type: `boolean`):

Match the keywords in the ad description as well as in the title (Gumtree's « Search title & description »).

## `excludeKeywords` (type: `array`):

Drop the ads whose title contains one of these WHOLE words (case and accents ignored), e.g. `wanted`, `spares`, `broken`: `art` drops "Art deco" but keeps "Smart watch". Several words in one entry (`hand made`) must appear together, in that order. Chinese, Japanese, Korean, Thai, Lao, Khmer and Burmese words are found anywhere in the title (no spaces there).

## `verifiedOnly` (type: `boolean`):

Only sellers whose identity Gumtree had checked (GBG). Rare: 0 of 150 ads on the 5 results pages sampled on 16-17 Sept 2026.

## `minRating` (type: `number`):

Only sellers rated at least this (0-5 stars). Sellers without any rating are dropped. Needs **Extract details**.

## `requirePhone` (type: `boolean`):

Only ads whose page shows the seller's full phone number (some trade sellers, mostly motor dealers). Needs **Extract details**.

## `make` (type: `string`):

Vehicle make. Motorbike makes are marked (motorbikes): Gumtree does not filter them, the Actor checks them, so every motorbike ad of the search is read.

## `model` (type: `string`):

Model as Gumtree names it, e.g. `3 Series`, `Golf`, `Fiesta` (case, spaces and dashes ignored). Needs **Make**. Checked by the Actor only.

## `yearMin` (type: `integer`):

First registration year, minimum.

## `yearMax` (type: `integer`):

First registration year, maximum.

## `mileageMin` (type: `integer`):

Minimum mileage.

## `mileageMax` (type: `integer`):

Maximum mileage.

## `fuelTypes` (type: `array`):

Keep only these fuel types.

## `transmissions` (type: `array`):

Keep only these gearboxes.

## `bodyTypes` (type: `array`):

Keep only these body types.

## `colours` (type: `array`):

Keep only these colours.

## `bedroomsMin` (type: `integer`):

Minimum number of bedrooms (0 = studio).

## `bedroomsMax` (type: `integer`):

Maximum number of bedrooms.

## `propertyTypes` (type: `array`):

Keep only these property types.

## `onlyNew` (type: `boolean`):

Skip the ads that a previous run (same **Memory key**) already delivered: they are not saved and not charged, and their page is not even opened. A bumped-up or reposted ad keeps its id: it is not new. First run = everything is new.

## `stateKey` (type: `string`):

Name of the memory used by **Only new ads**. Give each schedule / task its own key (e.g. `bmw-manchester`) so that they do not share their memory. Letters, digits, `-` and `_`.

## `resetState` (type: `boolean`):

Forget everything remembered under this **Memory key** before the run: this run returns (and charges) every ad again. Untick it afterwards.

## `privateSellerNames` (type: `boolean`):

Private (non-trade) sellers are natural persons: the first name shown on the ad is personal data under UK GDPR. Trade sellers are always included. Turn off to set `sellerName` to null for private sellers.

## `extractSellerListings` (type: `boolean`):

Also open the seller's page for every ad (**1 extra request per ad**, so a run takes about twice as long) and fill `sellerListings` with their other live ads (id, URL, title, price, date — one page, up to 25) and `sellerLiveAdCount` with how many they have in all. Useful to spot dealers and agencies: a letting agency showed 6,181 live ads. Needs **Extract details**. If Gumtree refuses that page the ad is still saved, with `sellerListings` empty.

## `enrichEmails` (type: `boolean`):

When the ad page gives the seller's own website (`sellerWebsite`: rare, about 1 ad in 20 among tradesmen), visit it (home page + contact / legal pages, 3 pages and 20 seconds at most) and put the e-mail addresses published there in `emails`. Slower. Charged as a separate `email-enriched` event, only for ads where at least one e-mail is found. Needs **Extract details** (the website is only on the ad page). A social network page given as the website is not visited. Only the seller's own addresses are kept: those on the domain of its website, or an address (a webmail one included) that carries its name or that of its website; the address of a web agency, a web hosting company or a general page is left aside.

## `includeSellerContact` (type: `boolean`):

Fill `sellerPhone` with the full phone number the ad page shows (trade sellers, mostly motor dealers). Charged as a separate `seller-contact` event, only for ads where a number is found. Off = `sellerPhone` is empty. Needs **Extract details**.

## `includeVehicleHistory` (type: `boolean`):

Cars, vans and motorbikes: fill the `vehicleHistory*` fields with Gumtree's history check (write-off category A/B, C/D, S/N, imported, original plate and colour). Charged as a separate `vehicle-history` event, only for ads where the detailed check is found (a check that only says `checked`, as for most private sellers, is free). Off = the fields are empty. Needs **Extract details**.

## `proxyConfiguration` (type: `object`):

Apify Proxy or your own proxies. Keep the default: it is included in the price. The residential Apify proxy is not available in this Actor.

## `maxConcurrency` (type: `integer`):

Maximum number of requests processed in parallel.

## `maxRequestsPerMinute` (type: `integer`):

Global request rate. Lower it if the log reports blocked pages.

## `maxRequestRetries` (type: `integer`):

Retries per request before it is marked as failed.

## `debugLog` (type: `boolean`):

Include debug messages in the run log.

## Actor input object example

```json
{
  "startUrls": [],
  "query": "road bike",
  "category": "all",
  "location": "London",
  "distance": "0",
  "sortBy": "relevance",
  "maxItems": 100,
  "extractDetails": false,
  "searchQueries": [],
  "categories": [],
  "locations": [],
  "maxItemsPerQuery": 0,
  "maxPages": 0,
  "sellerType": "ANY",
  "onlyWithPhotos": false,
  "searchInDescription": false,
  "excludeKeywords": [],
  "verifiedOnly": false,
  "minRating": 0,
  "requirePhone": false,
  "fuelTypes": [],
  "transmissions": [],
  "bodyTypes": [],
  "colours": [],
  "propertyTypes": [],
  "onlyNew": false,
  "stateKey": "default",
  "resetState": false,
  "privateSellerNames": true,
  "extractSellerListings": false,
  "enrichEmails": false,
  "includeSellerContact": false,
  "includeVehicleHistory": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxConcurrency": 4,
  "maxRequestsPerMinute": 60,
  "maxRequestRetries": 8,
  "debugLog": false
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [],
    "query": "road bike",
    "location": "London",
    "maxItems": 100,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("nice_dev/gumtree-listings-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "startUrls": [],
    "query": "road bike",
    "location": "London",
    "maxItems": 100,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("nice_dev/gumtree-listings-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [],
  "query": "road bike",
  "location": "London",
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call nice_dev/gumtree-listings-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nice_dev/gumtree-listings-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/8kSWAacF5oqXxMmdU/builds/6IePvvK47OHaGNXeM/openapi.json
