# OfferUp Listings Scraper (`devilscrapes/offerup-listings-scraper`) Actor

Search OfferUp by keyword and get structured listing rows back -- price, condition, location, seller rating, and photos -- with optional ZIP-code location pinning, price and radius filters, and full listing-detail enrichment for local classifieds and resale research.

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

## Pricing

Pay per event

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 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

<div align="center">
  <img src=".actor/icon.svg" width="160" alt="Devil Scrapes mark" />

## OfferUp Listings Scraper

**💰 $1.83 / 1 000 results**  ·  pay only for results  ·  no credit card to try

*We do the dirty work so your dataset stays clean.* 😈

Search OfferUp by keyword and get structured listing rows back -- price, condition, location, seller rating, and photos -- with optional ZIP-code location pinning, price and radius filters, and full listing-detail enrichment for local classifieds and resale research.

</div>

***

### 🎯 What this scrapes

OfferUp is the largest U.S. local-classifieds marketplace -- furniture, electronics, vehicles, and everything in between, sold peer-to-peer near you. This Actor runs your search queries against OfferUp's own search index and returns every matching listing as a clean, typed row: title, price, condition, seller, and location, with an optional deeper pass that pulls the full description, category, seller rating, and precise coordinates from each listing's detail page.

### 🔥 What we handle for you

- 🛡️ **Browser fingerprint rotation** -- `curl-cffi` impersonates real Chrome / Firefox / Safari TLS handshakes so OfferUp sees a browser, not Python.
- 🌐 **US-pinned residential-ISP proxy pool** -- fresh exit IP on every block, no drifting geography.
- 🔁 **Retries with exponential backoff** on `408 / 429 / 5xx` -- up to 5 attempts per page, `Retry-After` honoured.
- 🧱 **Rate-limit-aware pacing** -- when OfferUp pushes back, we slow down instead of getting banned.
- 🧊 **Clean, typed dataset rows** -- Pydantic-validated, ISO-8601 timestamps, stable IDs, JSON / CSV / Excel export straight from the Apify Console.
- 💰 **Pay-Per-Event pricing** -- you only pay for results that hit your dataset. No data, no charge.

### 💡 Use cases

- Resale arbitrage -- track newly posted listings across categories to spot underpriced items before anyone else.
- Local market research -- benchmark asking prices for a product category in a specific city or ZIP radius.
- Competitive intelligence for resellers -- monitor a competitor's listings and pricing moves over time.
- Lead generation for local services -- surface active sellers of a given item type as warm outreach targets.

### ⚙️ How to use it

1. Click **Try for free** at the top of the page.
2. Fill in the input form — most fields have sensible defaults.
3. Click **Start**. Output streams into the run's dataset.
4. Export from **Storage → Dataset** as JSON, CSV, or Excel — or fetch via the API.

### 📥 Input

| Field | Type | Required | Default | Notes |
|---|---|:--:|---|---|
| `searchQueries` | `array` | **yes** | \['mountain bike'] | 1-20 free-text OfferUp search terms, e.g. <code>mountain bike</code> or <code>iphone 13</code>. |
| `zipCode` | `string` | no | '' | Pins the search location via OfferUp's own location cookie. Leave blank to follow the proxy exit IP's geolocation… |
| `radiusMiles` | `integer` | no | 30 | OfferUp's own slider values -- must be one of 5, 10, 20, 30, or 50. |
| `priceMin` | `integer` | no | '—' | Lower bound on listing price, in USD. |
| `priceMax` | `integer` | no | '—' | Upper bound on listing price, in USD. |
| `sortBy` | `string` | no | 'best\_match' | OfferUp's own confirmed sort-order values. |
| `maxItemsPerQuery` | `integer` | no | 40 | Stops paging a query once this many listings are collected, or a page returns zero results. |
| `scrapeDetails` | `boolean` | no | True | When enabled, fetches each listing's detail page for description, category, seller name/rating, and precise… |
| `proxyConfiguration` | `object` | no | {'useApifyProxy': True} | Apify Proxy spec. Datacenter default here -- RESIDENTIAL is unavailable on the FREE plan. The load-bearing proxy path… |

#### Example input

```json
{
  "searchQueries": [
    "iphone 13"
  ],
  "maxItemsPerQuery": 5,
  "scrapeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

### 📤 Output

Every row is one dataset item.

| Field | Type | Notes |
|---|---|---|
| `search_query` | `string` | Input search query this row was found under. |
| `listing_id` | `string` | OfferUp's own listing identifier. |
| `listing_url` | `string` | Canonical https://offerup.com/item/detail/{listing\_id} URL. |
| `title` | `string` | Listing title. |
| `price` | `number` | Current asking price. |
| `original_price` | `['number', 'null']` | Pre-discount price, when OfferUp publishes one; null otherwise. |
| `is_firm_price` | `['boolean', 'null']` | True when the seller marked the price as firm; null when unknown (scrapeDetails=false). |
| `currency` | `string` | Always USD -- OfferUp is a US-only marketplace. |
| `condition_text` | `['string', 'null']` | Seller-provided condition label, when present on the search tile. |
| `location_name` | `['string', 'null']` | Human-readable listing location, e.g. 'Greenfild Township, PA'. |
| `latitude` | `['number', 'null']` | Precise listing latitude; populated only when scrapeDetails=true. |
| `longitude` | `['number', 'null']` | Precise listing longitude; populated only when scrapeDetails=true. |
| `image_url` | `['string', 'null']` | Primary listing photo URL. |
| `description` | `['string', 'null']` | Full listing description; populated only when scrapeDetails=true. |
| `category` | `['string', 'null']` | OfferUp category name; populated only when scrapeDetails=true. |
| `seller_name` | `['string', 'null']` | Seller display name; populated only when scrapeDetails=true. |
| `seller_rating` | `['number', 'null']` | Seller's average rating, 0.0-5.0; populated only when scrapeDetails=true. |
| `seller_items_sold` | `['integer', 'null']` | Seller's total items sold; populated only when scrapeDetails=true. |
| `posted_at` | `['string', 'null']` | ISO-8601 listing post timestamp; populated only when scrapeDetails=true. |
| `scraped_at` | `string` | ISO-8601 UTC row-creation timestamp. |

#### Example output

```json
{
  "search_query": "mountain bike",
  "listing_id": "4701d7d2-51cd-3f10-bc23-675fb1d1a32b",
  "listing_url": "https://offerup.com/item/detail/4701d7d2-51cd-3f10-bc23-675fb1d1a32b",
  "title": "Black Mountain Bike with Knobby Tires",
  "price": 180.0,
  "original_price": null,
  "is_firm_price": false,
  "currency": "USD",
  "condition_text": null,
  "location_name": "Greenfild Township, PA",
  "latitude": 41.558,
  "longitude": -75.494,
  "image_url": "https://images.offerup.com/prtbnuI6j3f6BL0cpEm3gKbwrPs=/250x333/3a30/3a3088b58f6c48288524da0a7f735341.jpg",
  "description": "Black full-frame mountain bike with knobby tires...",
  "category": "Bikes & Cycling",
  "seller_name": "Taylor",
  "seller_rating": 5.0,
  "seller_items_sold": 129,
  "posted_at": "2026-08-15T04:19:33.246Z",
  "scraped_at": "2026-08-15T12:00:00.000Z"
}
```

### 💰 Pricing

Pay-Per-Event — you pay only when these events fire:

| Event | USD | What it is |
|---|---:|---|
| `actor-start` | $0.03 | One-off warm-up charge per run |
| `result-row` | $0.0018 | Per unique dataset item |

Example: 1 000 results at the rates above ≈ **$1.83**. No subscription, no minimum, no card to start — Apify gives every new account $5 of free credit.

### 🚧 Limitations

Read-only, public-listing data only -- no posting, messaging, or authenticated-account actions. Seller detail is limited to what OfferUp exposes on the listing page (name, rating, items sold); full seller profile pages are out of scope. Without a `zipCode`, the search location follows the proxy's exit-IP geolocation, which can drift between runs.

### ❓ FAQ

**Do I need a ZIP code?**

No -- omit `zipCode` and OfferUp centers results on your proxy's exit-IP location. Set `zipCode` for a precise, repeatable search location regardless of which IP the run happens to use.

**What's the difference with `scrapeDetails` on vs off?**

Off returns the fast search-tile fields (title, price, condition, location, image) at one request per query. On adds one extra request per listing for description, category, seller name/rating, and precise coordinates.

**Is this legal?**

We only fetch content OfferUp already makes publicly available on its search and listing pages. Respect OfferUp's own terms of service before using the output commercially.

**How do I export to Sheets?**

After the run, click Storage -> Dataset -> Export and pick CSV. Google Sheets imports it directly.

### 💬 Your feedback

Spotted a bug, hit a weird edge case, or need a new field? Open an
issue on the Actor's **Issues** tab on Apify Console — we ship
fixes weekly and we read every report.

***

<div align="center">

Built by **[Devil Scrapes](https://apify.com/DevilScrapes)** 😈 — a small fleet of
opinionated public-data Actors. Honest pricing, real engineering, zero fine print.

</div>

# Actor input Schema

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

1-20 free-text OfferUp search terms, e.g. <code>mountain bike</code> or <code>iphone 13</code>.

## `zipCode` (type: `string`):

US ZIP code to centre the search on. Leave empty to let OfferUp geolocate from the proxy's exit IP — convenient, but the exit rotates, so the same input returns a different city run to run. Set a ZIP for reproducible results.

## `radiusMiles` (type: `integer`):

OfferUp's own slider values -- must be one of 5, 10, 20, 30, or 50.

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

Lower bound on listing price, in USD.

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

Upper bound on listing price, in USD.

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

OfferUp's own confirmed sort-order values.

## `maxItemsPerQuery` (type: `integer`):

Stops paging a query once this many listings are collected, or a page returns zero results.

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

When enabled, fetches each listing's detail page for description, category, seller name/rating, and precise coordinates. Disable for a cheaper, search-tile-only pass.

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

Apify Proxy spec. Datacenter default here -- RESIDENTIAL is unavailable on the FREE plan. The load-bearing proxy path for this Actor is the WEBSHARE\_PROXY\_URL environment variable when set.

## Actor input object example

```json
{
  "searchQueries": [
    "mountain bike"
  ],
  "zipCode": "10001",
  "radiusMiles": 30,
  "sortBy": "best_match",
  "maxItemsPerQuery": 40,
  "scrapeDetails": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `datasetItems` (type: `string`):

All dataset items as JSON.

## `datasetItemsCsv` (type: `string`):

Same data exported to CSV.

## `datasetView` (type: `string`):

Open the run dataset in the Console.

# 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": [
        "mountain bike"
    ],
    "zipCode": "10001",
    "maxItemsPerQuery": 40,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("devilscrapes/offerup-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": ["mountain bike"],
    "zipCode": "10001",
    "maxItemsPerQuery": 40,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("devilscrapes/offerup-listings-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 '{
  "searchQueries": [
    "mountain bike"
  ],
  "zipCode": "10001",
  "maxItemsPerQuery": 40,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call devilscrapes/offerup-listings-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,devilscrapes/offerup-listings-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/SMxZaTBjlt8TTz3A5/builds/4AxFByEE38OidrgwT/openapi.json
