# Bought Scraper (`dadhalfdev/bought-scraper`) Actor

Scrape secondhand listings from Bought.app by category, search, brand, or filters. Returns title, price, brand, size, images, and item URL.

- **URL**: https://apify.com/dadhalfdev/bought-scraper.md
- **Developed by:** [Marco Rodrigues](https://apify.com/dadhalfdev) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 95.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.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/actors/running/actors-in-store.md#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

## 🛍️ Bought Scraper

Want secondhand fashion and lifestyle deals from [Bought](https://bought.app/en/items/) without endless scrolling? This actor pulls live listings into clean CSV/JSON.

Pick a category, search by keyword or brand, set a price range — get titles, prices, sizes, images, and direct item links.

### 💡 Perfect for...

- **Resale & pricing research:** Track what Zara, Nike, H\&M and others sell for secondhand.
- **Assortment pulls:** Grab women’s fashion, electronics, home, or kids’ items in one run.
- **🤖 AI Agents:** Structured filters → listing rows with URLs (no brittle page clicking).
- **🔗 Workflows:** Pipe results into n8n, Make, LangChain, CrewAI, and similar stacks.

### ✨ Why you'll love this scraper

- 📂 **Browse by category** — Women, Men, Kids, Home, Electronics, Sports, and more.
- 🔎 **Search & brand filters** — find “Nike”, “Zara dress”, or a specific label fast.
- 💶 **Price & discount controls** — min/max price and optional minimum discount %.
- ↕️ **Sort your way** — relevance, newest, price, discount, or trending.
- 🔗 **Paste a URL** — drop a Bought category or search link to start from there.
- 🌍 **Multi-locale** — English, German, Danish, Finnish, and other Bought languages.

### 📦 What's inside the data?

For every listing, you will get:

- **Item:** name, brand, description, category, size, colors
- **Price:** price, currency, purchase price, discount % (when available)
- **Media & link:** image URL and direct Bought item URL
- **Extras:** listing state, condition, likes, seller country, listed date

### 🚀 Quick start

1. Choose a **locale** (default English).
2. Pick a **category** (and optional subcategory), or set a **search** / **brand**.
3. Optionally add **price limits**, **sort**, or paste **start URLs**.
4. Set **max items** and click **Start** — export CSV/JSON when done.

***

#### Tech details for developers 🧑‍💻

**Inputs**

| Field | Description |
|--------|-------------|
| `start_urls` | Optional Bought category/search URLs (overrides category when set) |
| `locale` | Site language for item links (`en`, `de`, `fi`, `da`, …) |
| `category` | Top category: `women`, `men`, `kids-babies`, `home`, `electronics`, … |
| `subcategory` | Optional path under the category (e.g. `dresses`, `phones-tablets`) |
| `search` | Keyword search |
| `brand` | Brand filter (e.g. Zara, Nike) |
| `sort` | `relevance` | `newestFirst` | `priceAsc` | `priceDesc` | `discountDesc` | `trending` | `newestWeighted` |
| `price_min` / `price_max` | Price range filter |
| `min_discount` | Minimum discount % vs original purchase price |
| `currency` | Optional currency hint (`EUR`, `DKK`, …) |
| `max_items` | Cap results (1–500, default 50) |

**Input Example (category):**

```json
{
  "locale": "en",
  "category": "women",
  "sort": "newestFirst",
  "max_items": 50
}
```

**Input Example (search + brand):**

```json
{
  "locale": "en",
  "search": "sneakers",
  "brand": "Nike",
  "sort": "priceAsc",
  "currency": "EUR",
  "max_items": 30
}
```

**Input Example (URL):**

```json
{
  "start_urls": ["https://bought.app/en/items/women?sort=relevance"],
  "max_items": 40
}
```

**Output Example:**

```json
{
  "item_id": "b837e233-f8e3-4c89-8128-c16e01dfd75f",
  "name": "Beige linen wide-leg trousers",
  "brand": "Zara",
  "price": 129,
  "currency": "DKK",
  "size": "S",
  "colors": ["BROWN"],
  "category": "Women/Clothing/Trousers & leggings/Wide-leg trousers",
  "condition": "Satisfactory",
  "image_url": "https://login.bought.app/storage/v1/object/public/item_images/…",
  "url": "https://bought.app/en/item/b837e233-f8e3-4c89-8128-c16e01dfd75f",
  "locale": "en"
}
```

# Actor input Schema

## `start_urls` (type: `array`):

Optional. Paste Bought category or search URLs (e.g. https://bought.app/en/items/women). Overrides category/search when set.

## `locale` (type: `string`):

Site language used in item URLs.

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

Top-level category. Optional subcategory path can refine further.

## `subcategory` (type: `string`):

Optional slug path under the category, e.g. dresses, shoes, phones-tablets, or women/dresses.

## `search` (type: `string`):

Optional keyword search (e.g. nike, zara dress).

## `brand` (type: `string`):

Optional brand filter (e.g. Zara, Nike, H\&M).

## `sort` (type: `string`):

How to order listings in the results.

## `price_min` (type: `number`):

Minimum listing price (in the listing currency).

## `price_max` (type: `number`):

Maximum listing price (in the listing currency).

## `min_discount` (type: `integer`):

Only include items with at least this discount vs original purchase price.

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

Optional currency hint sent to Bought search.

## `max_items` (type: `integer`):

Maximum listings to return (1–500).

## Actor input object example

```json
{
  "locale": "en",
  "category": "women",
  "sort": "relevance",
  "max_items": 50
}
```

# Actor output Schema

## `overview` (type: `string`):

Table view of items using the dataset 'overview' view.

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

All items from the default dataset without view transformation.

# 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 = {
    "locale": "en",
    "category": "women",
    "subcategory": "",
    "sort": "relevance",
    "max_items": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("dadhalfdev/bought-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 = {
    "locale": "en",
    "category": "women",
    "subcategory": "",
    "sort": "relevance",
    "max_items": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("dadhalfdev/bought-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 '{
  "locale": "en",
  "category": "women",
  "subcategory": "",
  "sort": "relevance",
  "max_items": 50
}' |
apify call dadhalfdev/bought-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,dadhalfdev/bought-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/AP8Ld4ljVi56qXu3r/builds/Rz97mpeMDbbKuVxrZ/openapi.json
