# OfferUp Scraper (`ivanvs/offerup-scraper`) Actor

OfferUp scraper: extract listings from offerup.com by search, category or seller profile. Get prices, photos, descriptions, locations and seller ratings for cars, furniture, electronics, jobs, rentals and services. Export to JSON, CSV, Excel or XML. No login or browser needed! Fast and reliable!

- **URL**: https://apify.com/ivanvs/offerup-scraper.md
- **Developed by:** [Gen First](https://apify.com/ivanvs) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 ad listings

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?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

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

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## OfferUp Scraper

This OfferUp scraper gets listings from [OfferUp](https://offerup.com/), a US classifieds marketplace, with titles, prices, photos, locations and seller data. Paste a search, seller profile or listing URL, and OfferUp Scraper saves one structured record per listing. Car listings also include the make, model, year, miles and VIN. The Actor also scrapes jobs, rental units and services from OfferUp. Download the records as JSON, CSV, Excel, XML or HTML Table, or read them with the Apify API. You need no login, no cookies and no proxy setup.

### Quick facts

| Topic             | Details                                                                                                                                    |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| Website           | `https://offerup.com`                                                                                                                      |
| Supported URLs    | Search, home page, category, seller profile, single listing, jobs search, single job, rental search, single rental and service search URLs |
| Record types      | `Listing`, `Job`, `Rental` and `Service`: one record per listing, job, rental unit or service                                              |
| Output            | The run's default dataset                                                                                                                  |
| Search center     | New York by default (`40.7128`, `-74.006`). Change it with `latitude` and `longitude`.                                                     |
| Login and cookies | Not needed                                                                                                                                 |
| Proxy             | Nothing to set up. The Actor uses Apify Proxy (residential, US).                                                                           |

### Use cases

You can use the records from OfferUp Scraper for these tasks:

- **Track OfferUp prices**: run the same search URL on an Apify schedule and compare `price` across runs.
- **Research the car market**: compare the make, model, year, miles and VIN of car listings.
- **Monitor a seller**: scrape a seller profile URL to see the listings of that seller.
- **Compare rents and jobs in an area**: compare the rent, bedrooms and floor plans of rental units, or the wages and employers of jobs.
- **Find local service providers**: compare the business name, rating, reviews count and quote of services.
- **Build your own dataset**: load records into a spreadsheet or your own app through CSV, Excel or the Apify API.

### How to scrape OfferUp

Do these steps to start an OfferUp Scraper run in Apify Console:

1. Open OfferUp in your browser.
2. Open the page that you want to scrape, for example a search with your keyword, filters and sorting.
3. Copy the URL from the address bar.
4. Open OfferUp Scraper in Apify Console.
5. Paste the URL into **List of URLs**.
6. Optional: add more URLs. You can mix all supported URL types in one run.
7. Set **Maximum number of records** to the number of records that you want for the whole run.
8. Optional: set **Latitude** and **Longitude** to your search center. The default is New York.
9. Click **Start**.
10. When the run finishes, download the records as JSON, CSV, Excel, XML or HTML Table.

You can also start runs and download records with the Apify API.

### Input parameters

OfferUp Scraper has four input parameters. Only `urls` is required.

| Parameter    | Title                     | Type    | Required | Default   | Description                                                                                                                           |
| ------------ | ------------------------- | ------- | -------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| `urls`       | List of URLs              | array   | Yes      | None      | OfferUp URLs to scrape. Each entry is `{ "url": "<OfferUp URL>" }` or `{ "requestsFromUrl": "<URL of a CSV file or Google Sheet>" }`. |
| `maxRecords` | Maximum number of records | integer | No       | `100`     | Maximum number of records that the run saves, for all URLs together. Minimum `1`. The Apify Console form shows `10` when it opens.    |
| `latitude`   | Latitude                  | number  | No       | `40.7128` | Latitude of the search center, from -90 to 90. A `lat` or `lon` in the URL replaces both `latitude` and `longitude`.                  |
| `longitude`  | Longitude                 | number  | No       | `-74.006` | Longitude of the search center, from -180 to 180. A `lat` or `lon` in the URL replaces both values.                                   |

#### Rules for input values

These rules apply to the OfferUp Scraper input:

- Every URL must start with `https://offerup.com`. The Actor drops other URLs, such as `https://www.offerup.com/...` or `http://offerup.com/...`, without a warning.
- A missing `latitude` or `longitude` gets the New York default.
- A value that is not a number, such as the string `"40.7"`, or a value out of range stops the run. The error names the field, for example `Input field "latitude" must be a number from -90 to 90, but is <value>.`
- A CSV file or Google Sheet must have one URL in the first column of each row. Do not add a header row.
- The Actor reads a Google Sheet as CSV without a login. Share the sheet as "Anyone with the link can view".

#### Input JSON format

This OfferUp Scraper input has all four parameters. `maxRecords`, `latitude` and `longitude` have their default values.

```json
{
  "urls": [{ "url": "https://offerup.com/search?q=bmw" }],
  "maxRecords": 100,
  "latitude": 40.7128,
  "longitude": -74.006
}
```

### Supported OfferUp URLs

OfferUp Scraper accepts these 10 URL types.

| URL type       | Pattern                                                                                           | Example                                                                                                         | Record type |
| -------------- | ------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | ----------- |
| Search         | `https://offerup.com/search[?q=<text>&<filters>]`                                                 | `https://offerup.com/search?q=bmw`                                                                              | `Listing`   |
| Home page      | `https://offerup.com/`                                                                            | `https://offerup.com/`                                                                                          | `Listing`   |
| Category       | `https://offerup.com/c/<slug>[?<filters>]`                                                        | `https://offerup.com/c/furniture`                                                                               | `Listing`   |
| Seller profile | `https://offerup.com/p/<numeric user id>`                                                         | `https://offerup.com/p/140981772`                                                                               | `Listing`   |
| Single listing | `https://offerup.com/item/detail/<listing UUID>`                                                  | `https://offerup.com/item/detail/089c8396-330e-3ba8-8042-cf20bf3a7c1a`                                          | `Listing`   |
| Jobs search    | `https://offerup.com/jobs/search[?<filters>]`                                                     | `https://offerup.com/jobs/search?job_employment_type=1`                                                         | `Job`       |
| Single job     | `https://offerup.com/job/detail/<job id>`                                                         | `https://offerup.com/job/detail/MTk0ODFfMTU2NDg0QlJfMTAwMDM`                                                    | `Job`       |
| Rental search  | `https://offerup.com/rentals[?<filters>]`                                                         | `https://offerup.com/rentals`                                                                                   | `Rental`    |
| Single rental  | `https://offerup.com/rentals/detail/<slug>/<unit id>/<property id>[?units=<additional unit ids>]` | `https://offerup.com/rentals/detail/88-leonard-new-york-city-new-york/49131692_1/p3965099_1?units=48903598_1`   | `Rental`    |
| Service search | `https://offerup.com/services/search[?<filters>]`                                                 | `https://offerup.com/services/search?q=Interior%20Painting&cid=122681972262289742&category=Interior%20Painting` | `Service`   |

### Unsupported OfferUp URLs

OfferUp Scraper does not accept these URLs. This table shows what the Actor does with each one and what to use instead.

| URL                                                                                                                     | What the Actor does                                                                                                     | Use instead                                                                                                                                   |
| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| A URL that does not start with `https://offerup.com`, such as `https://www.offerup.com/...` or `http://offerup.com/...` | Drops it without a warning                                                                                              | The same URL that starts with `https://offerup.com`                                                                                           |
| Jobs start page `https://offerup.com/jobs`                                                                              | Skips it with a warning that starts with `Skipping <url>: this page has no ads` and gives an example jobs search URL    | A jobs search URL, such as `https://offerup.com/jobs/search?job_employment_type=1`                                                            |
| Services start page `https://offerup.com/services`                                                                      | Skips it with a warning that starts with `Skipping <url>: this page has no ads` and gives an example service search URL | A service search URL, such as `https://offerup.com/services/search?q=Interior%20Painting&cid=122681972262289742&category=Interior%20Painting` |
| Category subpages `https://offerup.com/c/<slug>/<topic>`, such as `https://offerup.com/c/vehicles/cars-and-trucks`      | Skips it with a warning that starts with `Skipping <url>: not a supported OfferUp`                                      | The category URL `https://offerup.com/c/<slug>`, or a search URL with a category filter (`cid`)                                               |
| Explore pages `https://offerup.com/explore/...`                                                                         | Skips it with a warning                                                                                                 | One of the supported URL types                                                                                                                |
| Listing URLs with a numeric ID, such as `https://offerup.com/item/detail/1234567890`                                    | Skips it with a warning                                                                                                 | The listing URL with the UUID                                                                                                                 |
| Other OfferUp paths, such as `https://offerup.com/rentals/saved` or `https://offerup.com/profile/140981772`             | Skips it with a warning                                                                                                 | One of the supported URL types, for example the seller profile URL `https://offerup.com/p/140981772`                                          |

### How to search OfferUp in another city or ZIP code

OfferUp Scraper sends a search center with each search. The input fields `latitude` and `longitude` set it. The default is New York (`40.7128`, `-74.006`).

#### How to find the latitude and longitude of a city

Use [Google Maps](https://www.google.com/maps) to find the latitude and longitude of a city or ZIP code. For example, do these steps for Los Angeles, California:

1. Open Google Maps in your browser.
2. Search for the city or ZIP code, for example `Los Angeles, CA`.
3. Right-click the center of the area that you want to search.
4. Click the first line of the menu. It shows the latitude and longitude, for example `34.05223, -118.24368`. Google Maps copies them.
5. Paste the first number into **Latitude**.
6. Paste the second number into **Longitude**.

Notes:

- The first number is the latitude. The second number is the longitude.
- Keep the minus sign of the longitude. Longitudes in the contiguous US are negative.
- You can round both numbers to four decimal places, for example `34.0522` and `-118.2437`.
- In a JSON input, write both numbers without quotes. A string such as `"34.0522"` stops the run.

This input scrapes a search for `sofa` around Los Angeles:

```json
{
  "urls": [{ "url": "https://offerup.com/search?q=sofa" }],
  "latitude": 34.0522,
  "longitude": -118.2437
}
```

#### How to read the latitude and longitude from a Google Maps URL

To show a point in Google Maps, open a search URL with its latitude and longitude, for example `https://www.google.com/maps?q=34.0522,-118.2437`. Google Maps puts a pin on that point. It can then change the URL in the address bar to a place URL, such as the second URL in the table in this section.

Read the latitude and longitude from a Google Maps URL with these rules:

- If the URL has `!3d` and `!4d`, the latitude is the number after `!3d`. The longitude is the number after `!4d`. If the URL has two such pairs, use the first pair.
- If the URL has no `!3d` and `!4d`, use the two numbers after `@`. They show the center of the map on the screen. The third value, such as `9.92z`, is the zoom level.
- Do not use the numbers after `@` when the URL has `!3d` and `!4d`. In a place URL, the `@` numbers show the map view, which can be far from the pin.

| Google Maps URL                                                                                                                                                                                                                                                             | `latitude` in the input | `longitude` in the input | Where the numbers are                |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- | ------------------------ | ------------------------------------ |
| `https://www.google.com/maps?q=34.0522,-118.2437`                                                                                                                                                                                                                           | `34.0522`               | `-118.2437`              | After `q=`                           |
| `https://www.google.com/maps/place/225+E+Temple+St,+Los+Angeles,+CA+90012,+USA/@34.0522,-118.2462749,17z/data=!4m12!1m5!3m4!2zMzTCsDAzJzA3LjkiTiAxMTjCsDE0JzM3LjMiVw!8m2!3d34.0522!4d-118.2437!3m5!1s0x80c2c646078e2f17:0xdefa2037d78b1228!8m2!3d34.0533688!4d-118.2403594` | `34.0522`               | `-118.2437`              | The first `!3d` and `!4d` pair       |
| `https://www.google.com/maps/place/34%C2%B003'07.9%22N+118%C2%B014'37.3%22W/@35.6947852,-116.3207919,9.33z/data=!4m5!3m4!4b1!8m2!3d34.0522!4d-118.2437`                                                                                                                     | `34.0522`               | `-118.2437`              | After `!3d` and `!4d`, not after `@` |
| `https://www.google.com/maps/@39.2706569,-105.7770681,9.92z`                                                                                                                                                                                                                | `39.2706569`            | `-105.7770681`           | After `@`                            |
| `https://www.google.com/maps/@38.7395157,-95.8190498,8.46z`                                                                                                                                                                                                                 | `38.7395157`            | `-95.8190498`            | After `@`                            |
| `https://www.google.com/maps/@26.2100816,-80.5515035,10.79z`                                                                                                                                                                                                                | `26.2100816`            | `-80.5515035`            | After `@`                            |

This table leaves out the end of each URL, which does not hold the latitude or longitude.

#### Search center rules

These rules show how each URL type uses the search center.

| URL type                                                  | Uses the input search center                                    | Default that the Actor adds when the URL has no such key   |
| --------------------------------------------------------- | --------------------------------------------------------------- | ---------------------------------------------------------- |
| Search                                                    | Yes, unless the URL has `lat` or `lon`                          | `radius=25`                                                |
| Home page                                                 | Yes, unless the URL has `lat` or `lon`                          | None                                                       |
| Category                                                  | Yes, unless the URL has `lat` or `lon`                          | None                                                       |
| Jobs search                                               | Yes, unless the URL has `lat` or `lon`                          | None                                                       |
| Rental search                                             | Yes, unless the URL has `lat`, `lon`, `latitude` or `longitude` | `DISTANCE=5`, `page_size=50`, `query_source=rental_browse` |
| Service search                                            | Yes, unless the URL has `lat` or `lon`                          | The `zipcode` of the search center, from OfferUp           |
| Single listing, single job, single rental, seller profile | No                                                              | None                                                       |

- A `lat` or `lon` in the URL replaces both input values.
- A `zipcode` in a `/search` URL does not set the search center. The input search center overrides it, unless the URL also has `lat` or `lon`. To search around a ZIP code, set `latitude` and `longitude` to that area.
- `radius` in a `/search` URL is in miles.
- For a service search URL without a `zipcode` value, the Actor first asks OfferUp for the ZIP code of the search center. An empty `zipcode=` counts as no value. For this request, the search center is the URL's `lat` and `lon` when both are numbers, otherwise the input search center. If OfferUp sends no ZIP code, the Actor writes a warning and runs the service search without `zipcode`.

### Input examples

Each example is a complete JSON input for OfferUp Scraper.

#### Scrape a search sorted by price

Scrape up to 50 listings from a search for `bmw`, sorted by price (`sort=price`).

```json
{
  "urls": [{ "url": "https://offerup.com/search?q=bmw&sort=price" }],
  "maxRecords": 50
}
```

#### Scrape a seller profile

Scrape up to 500 listings from one seller profile. The list can include sold listings.

```json
{
  "urls": [{ "url": "https://offerup.com/p/140981772" }],
  "maxRecords": 500
}
```

#### Scrape one listing

Scrape one listing by its URL.

```json
{
  "urls": [{ "url": "https://offerup.com/item/detail/089c8396-330e-3ba8-8042-cf20bf3a7c1a" }],
  "maxRecords": 1
}
```

#### Scrape several URL types in one run

Scrape a search sorted by posting date (`sort=-posted`), a seller profile, a single listing, a rental search and a service search in one run. The three searches use a search center in Los Angeles. The `maxRecords` value of `200` is for all five URLs together.

```json
{
  "urls": [
    { "url": "https://offerup.com/search?q=sofa&sort=-posted" },
    { "url": "https://offerup.com/p/140981772" },
    { "url": "https://offerup.com/item/detail/089c8396-330e-3ba8-8042-cf20bf3a7c1a" },
    { "url": "https://offerup.com/rentals" },
    { "url": "https://offerup.com/services/search?q=Interior%20Painting&cid=122681972262289742&category=Interior%20Painting" }
  ],
  "maxRecords": 200,
  "latitude": 34.0522,
  "longitude": -118.2437
}
```

#### Scrape URLs from a Google Sheet

Put one URL in the first column of each row, with no header row. Share the sheet as "Anyone with the link can view".

```json
{
  "urls": [{ "requestsFromUrl": "https://docs.google.com/spreadsheets/d/YOUR_SHEET_ID/edit" }],
  "maxRecords": 100
}
```

### Limits

These limits apply to every OfferUp Scraper run.

| Limit                             | Rule                                                                                                                                                                                                                |
| --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Pages per URL                     | Up to 100 pages for each search, home page, category, jobs search, rental search and seller profile URL.                                                                                                            |
| Service searches                  | The Actor reads only the first page and saves one record per service on that page.                                                                                                                                  |
| Records per run                   | `maxRecords` (default `100`) caps the saved records for all URLs together.                                                                                                                                          |
| When the run reaches `maxRecords` | The Actor stops the run. Running requests finish, and the Actor does not send queued requests. A run never saves more than `maxRecords` records.                                                                    |
| Charging                          | If the Actor charges per record, it charges every saved record, including not-found and `"No results found"` records.                                                                                               |
| **Maximum cost per run**          | The run stops when it reaches its **Maximum cost per run**. If that amount cannot pay for one record, the run ends at once, before it reads the input. A status message asks you to raise **Maximum cost per run**. |
| Failed requests                   | A request that still fails after 5 retries saves no record. The Actor does not retry a request that OfferUp answers with an API error.                                                                              |
| Seller profiles                   | A seller profile can include sold listings. The Actor does not filter them out.                                                                                                                                     |

### Output

OfferUp Scraper saves one record per listing, job, rental unit or service in the run's default dataset.

| Input URL type                                              | Record type | One record per                                  |
| ----------------------------------------------------------- | ----------- | ----------------------------------------------- |
| Single listing, search, home page, category, seller profile | `Listing`   | listing                                         |
| Single job, jobs search                                     | `Job`       | job                                             |
| Single rental, rental search                                | `Rental`    | rental unit                                     |
| Service search                                              | `Service`   | service on the first page of the service search |

Every record has `inputUrl`: the URL that you gave. For a listing found by a search, home page, category or seller profile URL, `inputUrl` is that URL.

In Apify Console, the **Overview** view of the dataset shows `id`, `title`, `price` and `url`.

#### Example `Listing` record

This example `Listing` record uses fake values and does not show every field.

```json
{
  "id": "0f1e2d3c-4b5a-3968-8776-a5b4c3d2e1f0",
  "url": "https://offerup.com/item/detail/0f1e2d3c-4b5a-3968-8776-a5b4c3d2e1f0",
  "title": "2020 BMW 3 Series",
  "description": "White 2020 BMW 330i sedan with 48,210 miles, heated seats and a backup camera.",
  "price": 23950,
  "priceText": "23950",
  "currency": "USD",
  "images": [
    "https://images.offerup.com/AbCdEfGhIjKlMnOpQrStUvWxYz0=/1280x960/0123/0123456789abcdef0123456789abcdef.jpg",
    "https://images.offerup.com/ZyXwVuTsRqPoNmLkJiHgFeDcBa9=/1280x960/fedc/fedcba9876543210fedcba9876543210.jpg"
  ],
  "location": {
    "postalCode": null,
    "city": "Jersey City, NJ",
    "street": null,
    "latitude": 40.7178,
    "longitude": -74.0431
  },
  "category": ["Vehicles", "Cars & Trucks"],
  "categoryId": "5.1",
  "attributes": {
    "Year": "2020",
    "Miles": "48210",
    "Model": "3 Series",
    "Vin": "WBAEXAMPLE0000001",
    "Stock": "EX1001",
    "Make": "BMW"
  },
  "seller": {
    "id": "123456789",
    "name": "Example Motors",
    "type": "business",
    "profileUrl": null,
    "location": "Jersey City, NJ",
    "memberSince": "2021-03-15T10:00:00Z",
    "badges": ["MOTORS"],
    "isVerified": false,
    "itemsSold": 7,
    "ratingAverage": 5,
    "ratingCount": 6,
    "placeName": "Example Motors",
    "address": "100 Example Ave, Jersey City, NJ 07302, USA",
    "latitude": 40.7192,
    "longitude": -74.0457
  },
  "publishedAt": "2026-11-02T15:30:00.000Z",
  "numericId": "1234567890",
  "status": "LISTED",
  "vehicle": {
    "make": "BMW",
    "model": "3 Series",
    "trim": "330i",
    "year": 2020,
    "miles": 48210,
    "vin": "WBAEXAMPLE0000001",
    "body": "Sedan",
    "color": "white",
    "fundamentals": ["RWD", "Automatic", "4 cylinders", "Premium unleaded"]
  },
  "scrapedAt": "2026-11-13T12:00:00.000Z",
  "inputUrl": "https://offerup.com/search?q=bmw"
}
```

`Job`, `Rental` and `Service` records have their own fields, for example a job's wage, a rental unit's rent and a service's quote.

#### Not-found and "No results found" records

OfferUp Scraper saves a record even when OfferUp has no data, so that you can see the gaps.

| Case                                                                                                               | Record that the Actor saves                                        |
| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------ |
| A listing that OfferUp does not find                                                                               | `{ "inputUrl": "...", "url": "...", "title": "AD not found" }`     |
| A job that OfferUp does not find                                                                                   | `{ "inputUrl": "...", "url": "...", "title": "Job not found" }`    |
| A rental unit that OfferUp does not find                                                                           | `{ "inputUrl": "...", "url": "...", "title": "Rental not found" }` |
| A search, home page, category, jobs search, rental search, service search or seller profile URL that finds nothing | `{ "inputUrl": "...", "url": "...", "title": "No results found" }` |

These not-found and `"No results found"` records count toward `maxRecords`. If the Actor charges per record, it charges these records too. An empty later page of a URL that already found data saves no record.

### Export OfferUp data to CSV, Excel or JSON

OfferUp Scraper saves its records in the run's default dataset. Download the records as JSON, CSV, Excel, XML or HTML Table. Use the [Apify API](https://docs.apify.com/api/v2) to start runs and read records from your own code. The [Apify API client for JavaScript](https://docs.apify.com/api/client/js/) and the [Apify API client for Python](https://docs.apify.com/api/client/python/) do the same. Use [Apify schedules](https://docs.apify.com/platform/schedules) to run the same URLs at regular times. Use [Apify integrations](https://docs.apify.com/platform/integrations), such as [webhooks](https://docs.apify.com/platform/integrations/webhooks), Make and Zapier, to send records to other apps.

### FAQ

#### How does OfferUp Scraper work?

OfferUp Scraper reads the same data that the OfferUp website loads. It uses HTTP requests only and no browser. It sends its requests to OfferUp through Apify Proxy (residential, US). For each search, home page, category, jobs search, rental search or seller profile URL, it reads the pages in order, up to 100 pages. It saves one record per listing, job, rental unit or service.

#### Do I need a proxy, a login or cookies?

No. OfferUp Scraper needs no login and no cookies.

#### Do I need to write code?

No. Paste URLs into **List of URLs** in Apify Console, set **Maximum number of records** and click **Start**. Then download the records from OfferUp Scraper as JSON, CSV, Excel, XML or HTML Table.

#### How many OfferUp listings can I scrape?

You set the total with `maxRecords` (default `100`), for all URLs together. OfferUp Scraper reads up to 100 pages of each search, home page, category, jobs search, rental search or seller profile URL. A service search reads the first page only. On Apify, a maximum number of charged records can lower the total. To get more listings, split a search into narrower searches, for example by price range (`PRICE_MIN`, `PRICE_MAX`) or by search center.

#### How do I scrape an OfferUp seller profile?

Paste the seller profile URL `https://offerup.com/p/<numeric user id>`, for example `https://offerup.com/p/140981772`. OfferUp Scraper reads the listings of the seller page by page, up to 100 pages and `maxRecords`. The list can include sold listings, and the Actor does not filter them out. The number in the URL is the `seller.id` in each record. `seller.profileUrl` is always `null`.

#### Why are my listings from New York?

The default search center of OfferUp Scraper is New York (`40.7128`, `-74.006`). To search another area, set `latitude` and `longitude`, or add `lat` and `lon` to the URL. A `zipcode` alone in a `/search` URL does not change the search center.

#### How do I scrape many URLs in one run?

Add all the URLs to `urls` in the OfferUp Scraper input. You can mix all supported URL types in one run. You can also put the URLs in the first column of a CSV file or Google Sheet, with no header row. Then add `{ "requestsFromUrl": "<URL of the file>" }` to `urls`. `maxRecords` is for all URLs together.

#### Which URL did a record come from?

Every OfferUp Scraper record has `inputUrl`: the URL that you gave. For a listing found by a search, home page, category or seller profile URL, `inputUrl` is that URL.

#### Why did my run save fewer records than I asked for?

An OfferUp Scraper run can save fewer records than `maxRecords` for these reasons:

- The URLs have fewer listings, jobs, rental units or services than `maxRecords`.
- The Actor reads up to 100 pages per URL, and only the first page of a service search.
- A repeated listing, job or rental unit still counts when the Actor plans how many records fit in `maxRecords`.
- A request that still fails after 5 retries saves no record.
- The Actor dropped or skipped a URL. Look for `Skipping` warnings in the run log. A URL that does not start with `https://offerup.com` gives no warning.
- The run reached its **Maximum cost per run**.
- The maximum number of charged records for the run is lower than `maxRecords`.

#### What do "AD not found" and "No results found" mean?

OfferUp Scraper saves these records when OfferUp has no data. Each of these records has only `inputUrl`, `url` and `title`.

- `"AD not found"`: OfferUp does not find the listing.
- `"Job not found"`: OfferUp does not find the job.
- `"Rental not found"`: OfferUp does not find the rental unit.
- `"No results found"`: a search, home page, category, jobs search, rental search, service search or seller profile URL finds nothing.

These records count toward `maxRecords`. If the Actor charges per record, it charges these records too.

#### Can I use this Actor as an OfferUp API?

Yes. Start OfferUp Scraper runs and read the records with the [Apify API](https://docs.apify.com/api/v2) or the Apify API clients for JavaScript and Python. Use [webhooks](https://docs.apify.com/platform/integrations/webhooks) to get a notice when a run finishes.

#### Is it legal to scrape OfferUp?

OfferUp Scraper gets publicly available data, but you are responsible for how you use it. Listings can contain personal data, such as seller names, that data protection laws can protect. Scrape only the data that you need, and follow the OfferUp terms. This answer is general guidance, not legal advice, so ask a lawyer if you are not sure.

### Support

To report a bug in OfferUp Scraper or to ask for a custom output, email **support (at) getmediumdata.com** or open an issue.

# Changelog

This Actor's version history is a separate document: https://apify.com/ivanvs/offerup-scraper/changelog.md

# Actor input Schema

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

Maximum number of records to be scraped

## `urls` (type: `array`):

List of URLs from OfferUp (https://offerup.com/) that need to be scraped

## `latitude` (type: `number`):

Latitude of the search centre in decimal degrees. A lat or lon in the search URL replaces it.

## `longitude` (type: `number`):

Longitude of the search centre in decimal degrees. A lat or lon in the search URL replaces it.

## Actor input object example

```json
{
  "maxRecords": 10,
  "urls": [
    {
      "url": "https://offerup.com/search?q=bmw"
    }
  ],
  "latitude": 40.7128,
  "longitude": -74.006
}
```

# 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 = {
    "maxRecords": 10,
    "urls": [
        {
            "url": "https://offerup.com/search?q=bmw"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("ivanvs/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 = {
    "maxRecords": 10,
    "urls": [{ "url": "https://offerup.com/search?q=bmw" }],
}

# Run the Actor and wait for it to finish
run = client.actor("ivanvs/offerup-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 '{
  "maxRecords": 10,
  "urls": [
    {
      "url": "https://offerup.com/search?q=bmw"
    }
  ]
}' |
apify call ivanvs/offerup-scraper --silent --output-dataset

```

## MCP server setup

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