# AptDeco Scraper (`crawlerbros/aptdeco-scraper`) Actor

Scrape used furniture listings from AptDeco (aptdeco.com). Search products with category, condition, color, brand, state, and price filters; browse categories; fetch products by ID.

- **URL**: https://apify.com/crawlerbros/aptdeco-scraper.md
- **Developed by:** [Crawler Bros](https://apify.com/crawlerbros) (community)
- **Categories:** Automation, E-commerce, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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

## AptDeco Scraper

Scrape **AptDeco** — the used-furniture marketplace at [aptdeco.com](https://www.aptdeco.com). Search thousands of pre-owned furniture listings by keyword, category, condition, color, brand, state, and price; browse full categories; or fetch individual products by ID. HTTP-only via AptDeco's public Algolia search index. No auth, no proxy.

### What this actor does

- **Three modes:** `search`, `byCategory`, `byIds`
- **Filters:** category + subcategory, condition, color, brand, US state, region, metro area, selling type, price range
- **Rich listing data:** price, original price, % off, condition, dimensions, photos, seller, geo-location
- **Sorting:** relevance, price low-to-high, price high-to-low
- **Empty fields are omitted**

### Output per product

- `id` — AptDeco product ID
- `title`, `description`
- `price`, `originalPrice`, `oldPrice`, `discountAmount`, `percentOff`, `priceDrop`
- `category` (e.g. `Sofas`), `subcategory` (e.g. `Sleeper Sofas`)
- `condition`, `color`, `material`, `brand`, `sellerName`
- `state`, `region`, `greaterMetroArea`
- `width`, `depth`, `height` (inches)
- `latitude`, `longitude`
- `imageUrl`, `additionalImageUrls[]`, `imageCount`
- `deals[]`, `deliveryOptions[]`, `searchPhrases[]`
- `isAvailable`, `isSaleable`, `isDeliveryAvailable`, `isPickUpAvailable`, `isIndividualOwner`, `isExpiring`, `selfShip`
- `aiCategory`, `aiStyle`, `aiSubcategory`
- `availableFrom`, `availableTill`, `createdAt`, `updatedAt`, `rankTime`
- `sourceUrl` — canonical product page
- `recordType`, `scrapedAt`

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `search` | `search` / `byCategory` / `byIds` |
| `searchQuery` | string | `sofa` | Product keyword (mode=search) |
| `category` | string | – | Category (e.g. `Sofas`, `Tables`, `Beds`) |
| `subcategory` | string | – | Subcategory within category |
| `ids` | array | – | Product IDs (mode=byIds) |
| `condition` | string | – | `good` / `satisfactory` / `new` / `floorDisplayModel` / `ageWorn` |
| `color` | string | – | e.g. `Dark Brown`, `White`, `Black` |
| `brand` | string | – | e.g. `West Elm`, `Article`, `IKEA` |
| `state` | string | – | US state, e.g. `New York`, `California` |
| `region` | string | – | `northeast` / `sfBayArea` |
| `greaterMetroArea` | string | – | e.g. `New York City`, `Chicago`, `Miami` |
| `sellingType` | string | – | `individualPieces` / `set` |
| `priceMin` | number | – | Min price (USD) |
| `priceMax` | number | – | Max price (USD) |
| `sortBy` | string | `relevance` | `relevance` / `priceAsc` / `priceDesc` |
| `containsKeyword` | string | – | Client-side title/description/brand filter |
| `maxItems` | int | `50` | Hard cap (1–1000) |

#### Example: sofas under $1000 in New York

```json
{
  "mode": "search",
  "searchQuery": "sofa",
  "state": "New York",
  "priceMax": 1000,
  "sortBy": "priceAsc"
}
```

#### Example: browse a category

```json
{
  "mode": "byCategory",
  "category": "Tables",
  "subcategory": "Coffee Tables",
  "condition": "good"
}
```

#### Example: specific products by ID

```json
{
  "mode": "byIds",
  "ids": ["6981876", "6982226"]
}
```

#### Example: West Elm sofas, lowest price first

```json
{
  "mode": "search",
  "searchQuery": "",
  "category": "Sofas",
  "brand": "West Elm",
  "sortBy": "priceAsc"
}
```

### Use cases

- **Market research** — track used-furniture pricing by category, brand, and region
- **Deal hunting** — find steep discounts (`percentOff`) and price drops
- **Inventory analytics** — monitor listing volumes, conditions, and turnover
- **Renovation / staging** — source quality second-hand furniture by brand and condition
- **Resale intelligence** — benchmark listing prices against original retail prices

### FAQ

**Do I need an AptDeco account?** No. The actor reads AptDeco's public Algolia search index that powers their own site search.

**Is there a rate limit?** The index is served by Algolia's CDN; the actor uses polite delays and retries on 429/5xx with exponential backoff.

**What do the `price` fields mean?** `price` is the current asking price; `originalPrice` is the retail price when the item was new; `percentOff` and `priceDrop` quantify the discount.

**Why are some fields missing?** Sellers provide varying detail. Empty fields are always omitted — a listing without a recorded color simply has no `color` field.

**What regions does AptDeco serve?** The marketplace operates mainly in the US Northeast (NY, NJ, CT, PA, DE) and the San Francisco Bay Area; some items ship or are listed elsewhere — use `state` / `greaterMetroArea` filters to narrow.

**How fresh is the data?** Live — every run queries the current index at that moment.

**Is this affiliated with AptDeco?** No, this is a third-party actor using AptDeco's public site search index.

### Limitations

- `byCategory` with no subcategory returns the full category; without `searchQuery` the default relevance ordering is used. `searchQuery` is ignored in `byCategory` — the category (and optional subcategory, condition, color, brand, state, region, price) filters alone determine the results, so a leftover search term can't narrow the category to zero.
- Some older listings have `state: "None"` / `region: "Unknown"` placeholders which are omitted from output.
- AptDeco's own website is protected by AWS WAF; this actor bypasses it entirely by using the public Algolia index the site itself uses, so no browser or proxy is needed.

# Actor input Schema

## `mode` (type: `string`):

What to fetch.

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

Free-text product query, e.g. `sofa`, `dining table`, `mid century`.

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

Product category (mode=byCategory or as a search filter).

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

Subcategory within the selected category, e.g. `Sleeper Sofas` (Sofas), `Coffee Tables` (Tables), `Armchairs` (Chairs).

## `ids` (type: `array`):

AptDeco product IDs, e.g. `6981876`.

## `condition` (type: `string`):

Restrict by item condition.

## `color` (type: `string`):

Restrict by item color.

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

Restrict by manufacturer/brand, e.g. `West Elm`, `Restoration Hardware`, `Article`. Any brand name is accepted.

## `state` (type: `string`):

Restrict by US state where the item is located.

## `region` (type: `string`):

Restrict by AptDeco's service region.

## `greaterMetroArea` (type: `string`):

Restrict by metro area, e.g. `New York City`, `Philadelphia`, `San Francisco`, `Chicago`, `Miami`, `Atlanta`. Any metro area name is accepted.

## `sellingType` (type: `string`):

Restrict by how the item is listed.

## `priceMin` (type: `number`):

Drop items priced below this (USD).

## `priceMax` (type: `number`):

Drop items priced above this (USD).

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

Result ordering.

## `containsKeyword` (type: `string`):

Client-side filter: only emit items whose title, description, brand, seller, color, or material contains this text.

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

Hard cap on emitted records.

## Actor input object example

```json
{
  "mode": "search",
  "searchQuery": "sofa",
  "category": "Sofas",
  "ids": [],
  "condition": "",
  "color": "",
  "state": "",
  "region": "",
  "sellingType": "",
  "sortBy": "relevance",
  "maxItems": 50
}
```

# Actor output Schema

## `products` (type: `string`):

Dataset containing all scraped AptDeco product records.

# 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 = {
    "mode": "search",
    "searchQuery": "sofa",
    "category": "Sofas",
    "ids": [],
    "condition": "",
    "color": "",
    "state": "",
    "region": "",
    "sellingType": "",
    "sortBy": "relevance",
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlerbros/aptdeco-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 = {
    "mode": "search",
    "searchQuery": "sofa",
    "category": "Sofas",
    "ids": [],
    "condition": "",
    "color": "",
    "state": "",
    "region": "",
    "sellingType": "",
    "sortBy": "relevance",
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("crawlerbros/aptdeco-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 '{
  "mode": "search",
  "searchQuery": "sofa",
  "category": "Sofas",
  "ids": [],
  "condition": "",
  "color": "",
  "state": "",
  "region": "",
  "sellingType": "",
  "sortBy": "relevance",
  "maxItems": 50
}' |
apify call crawlerbros/aptdeco-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/fViNoFMSiWsq6fdVL/builds/i7ahzG7weYn6Jf0Ss/openapi.json
