# Preloved Listings Scraper (`piotrv1001/preloved-listings-scraper`) Actor

Scrapes classified listings from preloved.co.uk — the UK's largest second-hand marketplace. Supports keyword search, category       browse, and location filtering. Returns titles, prices, images, location, and seller info. Enable detail mode for full descriptions and category attributes.

- **URL**: https://apify.com/piotrv1001/preloved-listings-scraper.md
- **Developed by:** [FalconScrape](https://apify.com/piotrv1001) (community)
- **Categories:** E-commerce, Automation, Integrations
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 product listings

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

### Preloved Listings Scraper

Extract classified listings from [Preloved.co.uk](https://www.preloved.co.uk) — the UK's largest second-hand marketplace with over 70,000 active listings across furniture, electronics, vehicles, pets, property, and more.

The **Preloved Listings Scraper** is fast, cheap, and reliable — no browser required.

### ✨ Features

- 🔍 **Keyword Search** — scrape results for any search term across all categories
- 📂 **Category Browse** — pull all listings from any section or sub-section by ID
- 📍 **Location Filter** — filter by city/area and radius in miles
- 🔗 **Direct URLs** — scrape specific advert pages or search URLs
- 📋 **Full Detail Mode** — fetch complete descriptions, category attributes, seller profiles, and view counts
- ⚡ **Fast & Lightweight** — no browser overhead, runs complete quickly

### 🛠️ How It Works

1. **Choose your mode** — keyword search, section browse, location filter, or paste specific advert URLs
2. **Enable detail** (optional) — turn on `includeDetail` to fetch full descriptions and seller info
3. **Run the scraper** — results land in the dataset as structured JSON

### 📥 Input

| Parameter | Type | Description | Default |
|---|---|---|---|
| `searchQueries` | `string[]` | Keywords to search for (e.g. `["iphone", "sofa"]`). Each term is paginated independently. | `[]` |
| `sectionIds` | `number[]` | Section IDs to browse. See section list below. | `[]` |
| `startUrls` | `object[]` | Specific advert URLs (`/adverts/show/...`) or search page URLs. | `[]` |
| `location` | `string` | City or area name to filter by (e.g. `"london"`, `"manchester"`). | — |
| `distance` | `integer` | Radius in miles around the location. Requires `location`. | — |
| `advertType` | `string` | Filter by type: `forsale`, `wanted`, `swap`, `free`, or blank for all. | all |
| `includeDetail` | `boolean` | Fetch full listing detail per item: description, category attributes, seller profile, view count. Slower than summary mode. | `false` |
| `maxItems` | `integer` | Maximum total listings to output. Leave blank for no limit. | — |
| `maxConcurrency` | `integer` | Parallel requests (1–50). | `5` |

#### Section IDs

| ID | Section | Approx. count |
|---|---|---|
| 1014 | Home and Family | 38,000+ |
| 1012 | Health and Leisure | 18,000+ |
| 1015 | Motoring | 5,800+ |
| 1018 | Property and Accommodation | 4,100+ |
| 1016 | Office and Business | 1,300+ |
| 1017 | Personal | 1,100+ |
| 1010 | Computing | 1,000+ |
| 1013 | Holidays and Travel | 170+ |
| 1011 | Employment and Education | 40+ |
| 1019 | Trade and Services | ~10 |

Sub-section IDs also work — combine with a top-level browse to narrow results.

### 📊 Sample Output

**Summary mode** (`includeDetail: false`):

```json
{
    "id": "123041718",
    "url": "https://www.preloved.co.uk/adverts/show/123041718/iphone-xr-unlocked.html",
    "title": "iphone xr unlocked new battery good condition 64 gig storage",
    "price": 50,
    "priceDisplay": "£50",
    "priceExtra": "ovno",
    "currency": "GBP",
    "advertType": "forsale",
    "sectionId": "3600",
    "sectionName": "Mobile Phones",
    "sectionPath": ["Home and Family", "Telephones and Mobiles", "Mobile Phones"],
    "locationDisplay": "Bradford, West Yorkshire",
    "latitude": 53.78331,
    "longitude": -1.783879,
    "images": [
        "https://preloved.thcdn.com/8f/83/8f83d4d36c32443584e92b9edec3e9fd.jpg?r=0"
    ],
    "sellerId": "2013713990",
    "sellerType": "private",
    "createdDate": "2026-03-15T03:31:19Z",
    "updatedDate": "2026-03-15T03:31:22Z",
    "shortDescription": "iphone xr unlocked good condition new battery...",
    "trustapEnabled": false,
    "scrapedAt": "2026-03-26T14:04:26.689Z"
}
````

**Detail mode** (`includeDetail: true`) — adds:

```json
{
    "description": "Gaming pc for sale due to upgrade.\n\nSpecs:\nAmd Radeon RX 7600 8GB\n...",
    "additionalInfo": [
        { "label": "Condition", "value": "Second hand" },
        { "label": "Manufacturer", "value": "Amd" },
        { "label": "RAM", "value": "16", "units": "GB" }
    ],
    "viewCount": 34,
    "sellerScreenName": "Stephen Gilmour",
    "sellerDateJoined": "2019-06-10T00:00:00Z",
    "sellerMembershipLevel": "free",
    "sellerIsIdVerified": false,
    "sellerActiveAdvertCount": 3,
    "sellerAvatarUrl": "https://preloved.thcdn.com/f4/84/..."
}
```

### 💰 Pricing

This actor uses [pay-per-event pricing](https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event).

| Event | When charged | Price per 1,000 results |
|---|---|---|
| `product-listing` | One per listing saved in **summary mode** (`includeDetail: false`) | **$1.00** |
| `item-detail` | One per listing saved in **detail mode** (`includeDetail: true`) | **$4.00** |

Detail mode costs more because it returns significantly richer data per item: full description, category-specific attributes, seller profile, and view count.

**Example costs:**

| Use case | Items | Mode | Cost |
|---|---|---|---|
| Quick keyword search ("iphone") | ~72 | Summary | ~$0.07 |
| Section browse (Computing) | 1,000 | Summary | $1.00 |
| Full catalog snapshot | 71,400 | Summary | ~$71 |
| Enriched leads (pets section) | 1,000 | Detail | $4.00 |
| Full catalog with detail | 71,400 | Detail | ~$286 |

# Actor input Schema

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

Keywords to search for (e.g. \['iphone', 'sofa']). Each keyword produces separate results.

## `sectionIds` (type: `array`):

Numeric section IDs to browse (e.g. \[1014, 1012]). Top-level: Home and Family (1014), Health and Leisure (1012), Motoring (1015), Property (1018), Office/Business (1016), Personal (1017), Computing (1010), Holidays (1013), Employment (1011), Trade (1019).

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

Specific Preloved advert URLs (e.g. https://www.preloved.co.uk/adverts/show/123456789/my-item.html) or search page URLs to scrape.

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

City or area name to filter listings by (e.g. 'london', 'manchester', 'birmingham').

## `distance` (type: `integer`):

Radius in miles around the location. Only used when Location is set.

## `advertType` (type: `string`):

Filter by listing type. Leave blank to get all types.

## `includeDetail` (type: `boolean`):

Fetch full listing detail for each item: complete description, category-specific attributes, seller profile, and view count. Slower than summary mode.

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

Maximum total number of listings to output. Leave blank for no limit.

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

Maximum number of parallel requests. Default: 5. Increase for faster scraping.

## Actor input object example

```json
{
  "searchQueries": [
    "sofa"
  ],
  "sectionIds": [],
  "startUrls": [],
  "advertType": "forsale",
  "includeDetail": false,
  "maxItems": 100,
  "maxConcurrency": 5
}
```

# 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 = {
    "searchQueries": [
        "sofa"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("piotrv1001/preloved-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 = { "searchQueries": ["sofa"] }

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

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

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

```

## CLI example

```bash
echo '{
  "searchQueries": [
    "sofa"
  ]
}' |
apify call piotrv1001/preloved-listings-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=piotrv1001/preloved-listings-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Preloved Listings Scraper",
        "description": "Scrapes classified listings from preloved.co.uk — the UK's largest second-hand marketplace. Supports keyword search, category       browse, and location filtering. Returns titles, prices, images, location, and seller info. Enable detail mode for full descriptions and category attributes.",
        "version": "0.0",
        "x-build-id": "46Z6DaOJSZSYiaDD6"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/piotrv1001~preloved-listings-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-piotrv1001-preloved-listings-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/piotrv1001~preloved-listings-scraper/runs": {
            "post": {
                "operationId": "runs-sync-piotrv1001-preloved-listings-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/piotrv1001~preloved-listings-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-piotrv1001-preloved-listings-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "searchQueries": {
                        "title": "Search Queries",
                        "type": "array",
                        "description": "Keywords to search for (e.g. ['iphone', 'sofa']). Each keyword produces separate results.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "sectionIds": {
                        "title": "Section IDs",
                        "type": "array",
                        "description": "Numeric section IDs to browse (e.g. [1014, 1012]). Top-level: Home and Family (1014), Health and Leisure (1012), Motoring (1015), Property (1018), Office/Business (1016), Personal (1017), Computing (1010), Holidays (1013), Employment (1011), Trade (1019).",
                        "default": []
                    },
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "Specific Preloved advert URLs (e.g. https://www.preloved.co.uk/adverts/show/123456789/my-item.html) or search page URLs to scrape.",
                        "default": [],
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "location": {
                        "title": "Location",
                        "type": "string",
                        "description": "City or area name to filter listings by (e.g. 'london', 'manchester', 'birmingham')."
                    },
                    "distance": {
                        "title": "Distance (miles)",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "Radius in miles around the location. Only used when Location is set."
                    },
                    "advertType": {
                        "title": "Advert Type",
                        "enum": [
                            "",
                            "forsale",
                            "wanted",
                            "swap",
                            "free"
                        ],
                        "type": "string",
                        "description": "Filter by listing type. Leave blank to get all types.",
                        "default": "forsale"
                    },
                    "includeDetail": {
                        "title": "Include Full Detail",
                        "type": "boolean",
                        "description": "Fetch full listing detail for each item: complete description, category-specific attributes, seller profile, and view count. Slower than summary mode.",
                        "default": false
                    },
                    "maxItems": {
                        "title": "Max Items",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum total number of listings to output. Leave blank for no limit.",
                        "default": 100
                    },
                    "maxConcurrency": {
                        "title": "Max Concurrency",
                        "minimum": 1,
                        "maximum": 50,
                        "type": "integer",
                        "description": "Maximum number of parallel requests. Default: 5. Increase for faster scraping.",
                        "default": 5
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
