# OfferUp Scraper | US Marketplace Listings & Prices (`haketa/offerup-scraper`) Actor

Scrape OfferUp listings with price, condition, seller info & location. Search by keyword, ZIP code, radius & price range. Supports multi-keyword, pagination & detail page enrichment.

- **URL**: https://apify.com/haketa/offerup-scraper.md
- **Developed by:** [Haketa](https://apify.com/haketa) (community)
- **Categories:** E-commerce, Automation, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.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.

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

## 🛍️ OfferUp Marketplace Scraper

Scrape **product listings** from **[OfferUp](https://offerup.com/)** — one of America's largest local marketplaces with 90M+ app downloads. Extract title, price, condition, seller info, location, images and shipping status.

[![Apify Actor](https://img.shields.io/badge/Apify-Actor-blue)](https://apify.com)
[![Playwright](https://img.shields.io/badge/Engine-Playwright-green)]()
[![US Proxy](https://img.shields.io/badge/Proxy-US%20Residential-orange)]()

---

### ⚡ How It Works

1. Launches headless Chrome with **stealth patches** and **US residential proxy**
2. Visits homepage to establish session cookies
3. Navigates to search results for each keyword
4. Extracts listing data via **API response interception**, **__NEXT_DATA__** or **HTML parsing**
5. Optionally visits detail pages for seller info and full descriptions
6. Deduplicates by listing ID across keywords

---

### 🔧 Input

```json
{
  "keywords": ["iphone"],
  "location": "Los Angeles, CA",
  "radius": 30,
  "priceMin": 0,
  "priceMax": 0,
  "condition": "all",
  "deliveryType": "all",
  "scrapeDetails": false,
  "maxRecords": 20,
  "maxPages": 10,
  "requestDelay": 2000,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
````

#### Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `keywords` | array | `[]` | Search terms (each runs separate search) |
| `location` | string | `""` | City/state or ZIP: `Los Angeles, CA`, `90001` |
| `radius` | integer | `30` | Search radius: 5, 10, 20, 30, 50 miles |
| `priceMin` | integer | `0` | Minimum price USD (0 = no min) |
| `priceMax` | integer | `0` | Maximum price USD (0 = no max) |
| `condition` | string | `all` | `all` / `new` / `like_new` / `good` / `fair` / `poor` |
| `deliveryType` | string | `all` | `all` / `pickup` / `shipping` |
| `scrapeDetails` | boolean | `false` | Visit detail pages for seller info |
| `maxRecords` | integer | `0` | Max listings total (0 = unlimited) |
| `maxPages` | integer | `10` | Max pages per keyword |
| `requestDelay` | integer | `2000` | Delay between requests (ms) |
| `proxyConfiguration` | object | Residential | **US residential proxy required** |

***

### 📦 Output

#### Listing Data

```json
{
  "listingId": "391663263",
  "title": "iPhone 15 Pro 256GB - Excellent Condition",
  "price": 750,
  "condition": "Like New",
  "location": "Los Angeles, CA",
  "postDate": "2026-05-07T04:49:07Z",
  "postDateAgo": "2 hours ago",
  "shippingAvailable": true,
  "category": "Electronics",
  "description": "Selling my iPhone 15 Pro, barely used...",
  "images": ["https://img.offerupcdn.com/..."],
  "sellerName": "TechReseller_LA",
  "sellerRating": 4.9,
  "sellerReviewCount": 127,
  "sellerVerified": true,
  "listingUrl": "https://offerup.com/item/detail/391663263"
}
```

***

### 🎯 Use Cases

#### 💰 E-commerce Arbitrage

Find underpriced items on OfferUp to resell on eBay or Amazon. Filter by price range, condition and location to spot deals.

#### 📊 Market Research

Track pricing trends for electronics, vehicles, furniture and collectibles across US cities. Monitor supply/demand dynamics in local markets.

#### 🔍 Competitive Analysis

Compare pricing between OfferUp, Craigslist and Facebook Marketplace. Identify which categories have the most activity by region.

#### 📈 Lead Generation

Identify high-volume sellers (by sellerItemCount) for B2B outreach. Verified sellers with 50+ items are likely small businesses.

***

### ⚠️ Technical Notes

- **US residential proxy required** — OfferUp blocks non-US and datacenter IPs
- **Rate limiting** — keep `requestDelay` above 1500ms to avoid blocks
- **3-layer extraction** — API interception → **NEXT\_DATA** → HTML parsing (automatic fallback)
- **Deduplication** — same listing across multiple keywords is saved only once
- **Memory** — 1024 MB minimum due to Playwright Chrome

***

### 💰 Cost & Performance

| Metric | Value |
|---|---|
| Engine | Playwright Chromium |
| Runtime | ~2-5 min per 100 listings |
| Cost | ~0.05-0.15 CU per 100 listings |
| Proxy | US Residential required |
| Rate limit | 2000ms+ delay recommended |

***

### 📜 Changelog

| Version | Date | Notes |
|---|---|---|
| 1.0.0 | 2026-05-07 | Initial release — Playwright + API interception, multi-keyword, seller data, stealth patches |

# Actor input Schema

## `keywords` (type: `array`):

Search terms. Each keyword runs a separate search. Examples: 'iphone 15', 'macbook pro', 'nike air max', 'couch', 'mountain bike'.

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

City and state or ZIP code. Examples: 'Los Angeles, CA', 'New York, NY', '90001', '10001'. Leave empty for default (nationwide).

## `radius` (type: `integer`):

Search radius in miles from location. Common values: 5, 10, 20, 30, 50.

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

Minimum price filter in USD. Leave 0 for no minimum.

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

Maximum price filter in USD. Leave 0 for no maximum.

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

Filter by item condition.

## `deliveryType` (type: `string`):

'all' = any, 'pickup' = local pickup only, 'shipping' = shipping available only.

## `scrapeDetails` (type: `boolean`):

Visit each listing's detail page for full description, seller info, all images and category. Slower but much richer data.

## `maxRecords` (type: `integer`):

Maximum total listings to output across all keywords. Set 0 for unlimited.

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

Maximum pages per keyword search. Set 0 for unlimited.

## `requestDelay` (type: `integer`):

Delay between requests. OfferUp blocks fast requests — keep above 1500ms.

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

US residential proxy required. OfferUp blocks datacenter IPs.

## Actor input object example

```json
{
  "keywords": [
    "iphone"
  ],
  "location": "Los Angeles, CA",
  "radius": 30,
  "priceMin": 0,
  "priceMax": 0,
  "condition": "all",
  "deliveryType": "all",
  "scrapeDetails": false,
  "maxRecords": 20,
  "maxPages": 10,
  "requestDelay": 2000,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

Unique OfferUp listing ID

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

Item title

## `price` (type: `string`):

Price in USD

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

New / Like New / Good / Fair / Poor

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

City and state

## `postDate` (type: `string`):

Listing creation date (ISO)

## `postDateAgo` (type: `string`):

Relative time (2 hours ago)

## `shippingAvailable` (type: `string`):

Shipping available (true/false)

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

Item category

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

Full item description (from detail)

## `images` (type: `string`):

Image URLs (JSON array)

## `sellerName` (type: `string`):

Seller username

## `sellerRating` (type: `string`):

Seller rating (1-5)

## `sellerReviewCount` (type: `string`):

Number of seller reviews

## `sellerVerified` (type: `string`):

TruYou verified seller

## `sellerJoinDate` (type: `string`):

Seller account creation date

## `sellerItemCount` (type: `string`):

Total listings by seller

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

Direct link to listing

## `searchKeyword` (type: `string`):

Keyword used in search

## `searchLocation` (type: `string`):

Location used in search

## `scrapedAt` (type: `string`):

ISO timestamp when scraped

# 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 = {
    "keywords": [
        "iphone"
    ],
    "location": "Los Angeles, CA",
    "scrapeDetails": false,
    "maxRecords": 20,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("haketa/offerup-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 = {
    "keywords": ["iphone"],
    "location": "Los Angeles, CA",
    "scrapeDetails": False,
    "maxRecords": 20,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("haketa/offerup-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 '{
  "keywords": [
    "iphone"
  ],
  "location": "Los Angeles, CA",
  "scrapeDetails": false,
  "maxRecords": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call haketa/offerup-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "OfferUp Scraper | US Marketplace Listings & Prices",
        "description": "Scrape OfferUp listings with price, condition, seller info & location. Search by keyword, ZIP code, radius & price range. Supports multi-keyword, pagination & detail page enrichment.",
        "version": "0.0",
        "x-build-id": "Mh7CzVAX5aKzMPZ12"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/haketa~offerup-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-haketa-offerup-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/haketa~offerup-scraper/runs": {
            "post": {
                "operationId": "runs-sync-haketa-offerup-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/haketa~offerup-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-haketa-offerup-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": {
                    "keywords": {
                        "title": "Keywords",
                        "type": "array",
                        "description": "Search terms. Each keyword runs a separate search. Examples: 'iphone 15', 'macbook pro', 'nike air max', 'couch', 'mountain bike'.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "location": {
                        "title": "Location",
                        "type": "string",
                        "description": "City and state or ZIP code. Examples: 'Los Angeles, CA', 'New York, NY', '90001', '10001'. Leave empty for default (nationwide)."
                    },
                    "radius": {
                        "title": "Radius (miles)",
                        "minimum": 1,
                        "maximum": 50,
                        "type": "integer",
                        "description": "Search radius in miles from location. Common values: 5, 10, 20, 30, 50.",
                        "default": 30
                    },
                    "priceMin": {
                        "title": "Min Price ($)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Minimum price filter in USD. Leave 0 for no minimum.",
                        "default": 0
                    },
                    "priceMax": {
                        "title": "Max Price ($)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum price filter in USD. Leave 0 for no maximum.",
                        "default": 0
                    },
                    "condition": {
                        "title": "Condition",
                        "enum": [
                            "all",
                            "new",
                            "like_new",
                            "good",
                            "fair",
                            "poor"
                        ],
                        "type": "string",
                        "description": "Filter by item condition.",
                        "default": "all"
                    },
                    "deliveryType": {
                        "title": "Delivery Type",
                        "enum": [
                            "all",
                            "pickup",
                            "shipping"
                        ],
                        "type": "string",
                        "description": "'all' = any, 'pickup' = local pickup only, 'shipping' = shipping available only.",
                        "default": "all"
                    },
                    "scrapeDetails": {
                        "title": "Scrape Detail Pages",
                        "type": "boolean",
                        "description": "Visit each listing's detail page for full description, seller info, all images and category. Slower but much richer data.",
                        "default": false
                    },
                    "maxRecords": {
                        "title": "Max Records",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum total listings to output across all keywords. Set 0 for unlimited.",
                        "default": 0
                    },
                    "maxPages": {
                        "title": "Max Pages per Keyword",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum pages per keyword search. Set 0 for unlimited.",
                        "default": 10
                    },
                    "requestDelay": {
                        "title": "Request Delay (ms)",
                        "minimum": 1000,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Delay between requests. OfferUp blocks fast requests — keep above 1500ms.",
                        "default": 2000
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "US residential proxy required. OfferUp blocks datacenter IPs."
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
