# Gumtree Scraper — UK Classifieds, Cars & Prices (`logiover/gumtree-scraper`) Actor

Gumtree Scraper turns the UK's largest classifieds marketplace into structured data. Scrape any category — cars & vans, property to rent, jobs, electronics, home & garden — with the title, a numeric price in pounds, the town/postcode location, description and image. On the motors categories every ro

- **URL**: https://apify.com/logiover/gumtree-scraper.md
- **Developed by:** [Logiover](https://apify.com/logiover) (community)
- **Categories:** E-commerce, Real estate, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 results

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## 🇬🇧 Gumtree Scraper — UK Classifieds, Cars & Prices

> **Export Gumtree UK listings across any category — cars, property, jobs, for-sale — with title, price, location and vehicle specs to JSON, CSV or Excel. Keyless.**

![data](https://img.shields.io/badge/data-JSON%C2%B7CSV%C2%B7Excel-2b8a3e?style=flat-square) ![login](https://img.shields.io/badge/login-not%20required-0b7285?style=flat-square) ![pricing](https://img.shields.io/badge/pricing-pay%20per%20result-5f3dc4?style=flat-square)

**Gumtree Scraper** turns the UK's largest classifieds marketplace into structured data. Scrape any category — cars & vans, property to rent, jobs, electronics, home & garden — with the title, a numeric price in pounds, the town/postcode location, description and image. On the motors categories every row also carries the **year, mileage, fuel type, engine size and Trade/Private seller flag**. A no-code Gumtree API alternative on Apify.

### 📋 At a glance

| | |
|---|---|
| **Source** | gumtree.com (UK #1 classifieds) |
| **Coverage** | All UK, every category |
| **Volume** | Thousands per category (deep pagination) |
| **Motors extras** | Year · mileage · fuel · engine · seller type |
| **Prices** | GBP (numeric) |
| **Output** | JSON, CSV, Excel |
| **Login** | Not required |

### ❓ What is Gumtree Scraper?

Gumtree is the United Kingdom's leading free classifieds site. This scraper reads each result card by its stable `data-q` / `data-testid` hooks rather than fragile CSS classes, so the title, numeric GBP price, location, description and image come out clean on every category. On cars-vans-motorbikes and the other motors categories it additionally flattens the vehicle chips — year, mileage, fuel type, engine size — and the Trade-vs-Private seller badge, turning a listings page into a used-car dataset.

### ⭐ Why use this scraper?

- ✅ **Any category** — cars & vans, property, jobs, electronics, home & garden
- ✅ **Vehicle specs** (year, mileage, fuel, engine) on the motors categories
- ✅ **Trade vs Private seller** flag for lead qualification
- ✅ **Numeric GBP price** plus the original price label
- ✅ **Deep pagination** — thousands of ads, not page one only
- ✅ **Keyless & browserless** — low cost per row

### 📦 What data can you extract?

| Field | Description |
|---|---|
| `listingId` | Ad ID |
| `title` | Title |
| `listingUrl` | Ad URL |
| `priceLabel` | Price label |
| `priceAmount` | Price |
| `currency` | Currency |
| `location` | Location |
| `description` | Description |
| `sellerType` | Seller type (Trade/Private) |
| `year` | Vehicle year |
| `mileage` | Mileage |
| `fuelType` | Fuel type |
| `engineSize` | Engine size |
| `isUrgent` | Urgent |
| `isFeatured` | Featured |
| `imageUrl` | Image |
| `country` | Country |
| `source` | Source |
| `scrapedAt` | Scraped at |

### 🎯 Use cases

- Build a UK used-car dataset with year, mileage and seller type
- Monitor asking prices for cars, phones or furniture across the UK
- Track rental and for-sale property listings by area
- Separate trade dealers from private sellers for outreach
- Feed a price-intelligence or marketplace tool with a UK feed

### 🚀 How to use it

1. Pick a **search category** slug from a Gumtree URL (e.g. `cars-vans-motorbikes`, `property-to-rent`, `for-sale`).
2. Optionally add a **search query** keyword, set **Maximum results** and click **Start**.
3. Export to JSON, CSV or Excel, or pull via the Apify API.

#### Input example

```json
{
  "searchCategory": "cars-vans-motorbikes",
  "maxResults": 1000
}
```

### 💳 Pricing

Runs on a **pay-per-result** model with **Apify Store volume discounts** — higher plan tiers pay less per row and you only pay for records delivered. A **free tier** is available to try it, no credit card required.

### ⚖️ Legal

This scraper collects **publicly available** listing data only; nothing behind a login. You remain responsible for how you use the exported data, including any personal data, under GDPR and local law.

### ❔ FAQ

<details>
<summary><b>Do I need a Gumtree account?</b></summary>

No. Listings are public — no login, no API key.

</details>

<details>
<summary><b>Which categories are covered?</b></summary>

All of them — set the `searchCategory` slug from any Gumtree search URL; add a keyword with `searchQuery` to narrow it.

</details>

<details>
<summary><b>Do I get car specifications?</b></summary>

Yes — on the motors categories every row includes year, mileage, fuel type, engine size and the Trade/Private seller flag.

</details>

<details>
<summary><b>Does it paginate beyond page 1?</b></summary>

Yes — it walks pages via the `page` parameter until your Maximum results is met, de-duplicating repeated featured ads.

</details>

<details>
<summary><b>How am I charged?</b></summary>

Pay per result — you only pay for the listings delivered.

</details>

***

<sub>Keywords: gumtree scraper, gumtree api, scrape gumtree, uk classifieds data, gumtree cars scraper, uk used car data, gumtree property scraper, gumtree seller leads, uk marketplace data</sub>

# Actor input Schema

## `searchCategory` (type: `string`):

Category slug from a Gumtree URL, e.g. cars-vans-motorbikes, property-to-rent, for-sale, jobs.

## `searchQuery` (type: `string`):

Optional keyword to narrow the category, e.g. bmw, iphone, sofa.

## `maxResults` (type: `integer`):

Stop after this many listings; the Actor paginates until met.

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

Residential UK proxy is preselected for reliable access.

## Actor input object example

```json
{
  "searchCategory": "cars-vans-motorbikes",
  "maxResults": 500,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "GB"
  }
}
```

# Actor output Schema

## `listingId` (type: `string`):

No description

## `title` (type: `string`):

No description

## `listingUrl` (type: `string`):

No description

## `priceLabel` (type: `string`):

No description

## `priceAmount` (type: `string`):

No description

## `currency` (type: `string`):

No description

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

No description

## `description` (type: `string`):

No description

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

No description

## `year` (type: `string`):

No description

## `mileage` (type: `string`):

No description

## `fuelType` (type: `string`):

No description

## `engineSize` (type: `string`):

No description

## `isUrgent` (type: `string`):

No description

## `isFeatured` (type: `string`):

No description

## `imageUrl` (type: `string`):

No description

## `country` (type: `string`):

No description

## `source` (type: `string`):

No description

## `scrapedAt` (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 = {
    "searchCategory": "cars-vans-motorbikes",
    "maxResults": 500,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "GB"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("logiover/gumtree-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 = {
    "searchCategory": "cars-vans-motorbikes",
    "maxResults": 500,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "GB",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("logiover/gumtree-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 '{
  "searchCategory": "cars-vans-motorbikes",
  "maxResults": 500,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "GB"
  }
}' |
apify call logiover/gumtree-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,logiover/gumtree-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/xtFCiMFxNEl7yfLBM/builds/30MxwO5DBYLKtsaCH/openapi.json
