# ShopGoodwill Auction & Buy-It-Now Price Tracker (`vexaloom-labs/shopgoodwill-auction-and-buy-it-now-price-tracker`) Actor

Search ShopGoodwill auctions by keyword, browse by category or seller store, or fetch full detail for specific item IDs, and get current bid, buy-it-now price, category, seller and auction end time for each listing.

- **URL**: https://apify.com/vexaloom-labs/shopgoodwill-auction-and-buy-it-now-price-tracker.md
- **Developed by:** [vexaloom-labs](https://apify.com/vexaloom-labs) (community)
- **Categories:** E-commerce, Automation, Other
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 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/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

## ShopGoodwill Auction & Buy-It-Now Price Tracker

[ShopGoodwill.com](https://shopgoodwill.com) is Goodwill's official online marketplace, where every US Goodwill store auctions donated goods and sells some of them at a fixed Buy-It-Now price. This actor reads the site's public buyer API directly — no login, no cookies, no API key, no proxy setup.

Use it to watch live auctions, browse a category or a single Goodwill store, pull full detail for specific items, or research sold prices from recently ended auctions.

### What this actor does

- **Four modes:** `search`, `byCategory`, `bySeller`, `byItemIds`
- **Keyword search** — free-text query that can be narrowed with a brand keyword and a size keyword
- **All 33 departments** — every live ShopGoodwill category and subcategory (Clothing, Jewelry, Electronics, Collectibles, Toys, Books, Home, Tools, and the rest) is in the category dropdown
- **Store browsing** — every current listing from one Goodwill store by its numeric seller ID
- **Item lookup** — full detail by item ID or by pasting `https://shopgoodwill.com/item/...` URLs
- **Auction and Buy-It-Now** — `buyNowOnly` isolates fixed-price listings; closed auctions can be searched for sold-price research
- **Real filters** — price range, one-cent shipping, local pickup, shipping destination, search-in-descriptions, sort by ending time or price
- **Merged details** — `includeDetails` fetches each listing's detail page too, adding description, all images, seller address, pickup details, reserve info and bid history
- **Pagination** — follows ShopGoodwill's own result cursor up to `maxItems`, de-duplicates live-marketplace page churn, and stops on the source's real total
- **Clean output** — empty fields are omitted, never emitted as `null`, `""`, `[]`, or `{}`

### Output per item

Every listing record contains:

- `itemId`, `title`, `description` (detail only by default)
- `currentPrice`, `startingPrice`, `buyNowPrice`, `discountedBuyNowPrice`, `isBuyNowAvailable`, `minimumBid`, `numBids`
- `shippingPrice`, `discountPercent`
- `categoryId`, `categoryName`, `categoryPath`
- `imageUrl`, `images[]` and `thumbnailUrl` (detail / enriched records)
- `startTime`, `endTime`, `remainingTime` (ShopGoodwill server time, US Pacific)
- `sellerId`, `sellerName`, `sellerUrl`, `sellerCountryCode` (detail / enriched records)
- `itemQuantity`, `maxQuantity`, `views`, `isStockPhoto`
- `pickupCity`, `pickupState`, `pickupZip`, `pickupCountry`, `pickupStreet`, `pickupHours`, `pickupOnly`, `sellerAllowPickup` (detail / enriched records)
- `weightLbs`, `handlingPrice`, `shippingCarrier`, `itemPartNumber` (detail / enriched records)
- `isAuction`, `bidIncrement`, `reservePrice`, `isReserveMet`, `isClosed`
- `bidHistory[]` — the live bid ledger (`bidderName` is masked by ShopGoodwill, as on the site)
- `itemUrl` — direct link to the listing
- `keywords[]`, `recordType: "item"`, `scrapedAt`

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `search` | `search` / `byCategory` / `bySeller` / `byItemIds` |
| `searchQuery` | string | – | Free-text keyword search (daily prefill: `nike`) |
| `brand` | string | – | Brand keyword ANDed into the search text |
| `sizeKeyword` | string | – | Size keyword ANDed into the search text |
| `categoryId` | string | – | Any live ShopGoodwill category (dropdown, all departments) |
| `sellerId` | integer | – | Numeric Goodwill store ID (mode=bySeller) |
| `itemIds` | array | – | Item IDs or item URLs (mode=byItemIds) |
| `priceMin` | integer | – | Minimum current price (USD) |
| `priceMax` | integer | – | Maximum current price (USD) |
| `sortBy` | string | `endingSoonest` | `endingSoonest` / `endingLatest` / `priceLowToHigh` / `priceHighToLow` |
| `buyNowOnly` | boolean | `false` | Only Buy-It-Now listings |
| `oneCentShippingOnly` | boolean | `false` | Only items with $0.01 shipping |
| `pickupOnly` | boolean | `false` | Only local-pickup listings |
| `shippingDestination` | string | `any` | `any` / `usOnly` / `canada` / `international` |
| `searchDescriptions` | boolean | `false` | Match the query in descriptions too |
| `includeClosedAuctions` | boolean | `false` | Search recently ended/sold listings |
| `closedAuctionDaysBack` | integer | `7` | Lookback window for closed auctions (1–365 days) |
| `includeDetails` | boolean | `false` | Fetch each listing's detail page as well |
| `maxItems` | integer | `40` | Hard cap on emitted records (1–2000) |

#### Example: BIN-only listings under $40

```json
{
  "mode": "search",
  "searchQuery": "levis jacket",
  "buyNowOnly": true,
  "priceMax": 40,
  "sortBy": "priceLowToHigh",
  "maxItems": 100
}
```

#### Example: sold-price research

```json
{
  "mode": "search",
  "searchQuery": "nike air jordan",
  "includeClosedAuctions": true,
  "closedAuctionDaysBack": 30,
  "includeDetails": true,
  "maxItems": 200
}
```

#### Example: browse a category with details

```json
{
  "mode": "byCategory",
  "categoryId": "6",
  "includeDetails": true,
  "maxItems": 50
}
```

#### Example: paste item links

```json
{
  "mode": "byItemIds",
  "itemIds": [
    "269254306",
    "https://shopgoodwill.com/item/268831482"
  ]
}
```

### Data source and limits

- ShopGoodwill's public buyer API returns at most **10,000 records per query** (`maxTotalRecords`). The actor caps a run at 2,000 items; to cover more, split the search by category, price band, or seller.
- Listing records come from the search endpoint. Description, images, seller name/address, pickup details and bid history are only present in `byItemIds` records or when `includeDetails` is on (one extra request per item).
- Times are reported exactly as ShopGoodwill serves them (US Pacific, no timezone suffix).
- A handful of category leaves can be empty at any moment (for example Atari Jaguar); an empty category returns zero items rather than an error.
- Some auctions reveal a reserve only after bidding starts; `reservePrice` / `isReserveMet` are omitted when the item has none.

### FAQ

**Do I need a ShopGoodwill account or cookies?** No. Every request is anonymous.

**Do I need an Apify proxy?** No. The actor talks to ShopGoodwill's public JSON API from the Apify container without any proxy configuration.

**Why are some fields missing on a listing?** ShopGoodwill genuinely does not publish them on the search endpoint; turn on `includeDetails` or use `mode=byItemIds` to fill them.

**Can I get sold prices?** Yes. Set `includeClosedAuctions` and choose a lookback with `closedAuctionDaysBack`; the final `currentPrice` of an ended listing is the sold price.

**Which categories are supported?** Every live category on ShopGoodwill. The dropdown is rebuilt from the site's own category tree and includes all 33 departments plus their subcategories.

# Actor input Schema

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

What to fetch. `search` finds live or recently sold listings by keyword; `byCategory` browses one category; `bySeller` browses one Goodwill store; `byItemIds` fetches full detail for specific item IDs or item URLs.

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

Free-text keyword search (mode=search). Combine with `brand` / `sizeKeyword` — ShopGoodwill has no separate brand or size facet, so these terms are ANDed into the search text.

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

Optional brand name ANDed into the search text (e.g. `levis`, `coach`, `nike`). Keyword narrowing, not an exact facet.

## `sizeKeyword` (type: `string`):

Optional size ANDed into the search text (e.g. `medium`, `size 8`, `xl`). Keyword narrowing, not an exact facet.

## `categoryId` (type: `string`):

Browse or narrow by any of ShopGoodwill's live categories (all 33 departments and their subcategories). Leave blank for every category. In `byCategory` mode this is the primary filter; other modes use it as an optional narrowing filter.

## `sellerId` (type: `integer`):

Numeric ShopGoodwill seller/store ID, e.g. `16` (Goodwill Industries of South Florida). Found in an item's `sellerId` output field.

## `itemIds` (type: `array`):

ShopGoodwill item IDs or full item URLs, e.g. `269254306` or `https://shopgoodwill.com/item/269254306`. Duplicates and invalid entries are ignored.

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

Drop items priced below this (current bid or buy-now price).

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

Drop items priced above this (current bid or buy-now price).

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

Result ordering.

## `buyNowOnly` (type: `boolean`):

Only include items with an active Buy-It-Now price (skip bid-only auctions).

## `oneCentShippingOnly` (type: `boolean`):

Only include items whose seller offers $0.01 shipping.

## `pickupOnly` (type: `boolean`):

Only include items offered for local pickup (skip shipped-only listings).

## `shippingDestination` (type: `string`):

Keep only items whose seller ships to this destination: anywhere, US only, Canada, or international.

## `searchDescriptions` (type: `boolean`):

Match the query against item descriptions in addition to titles.

## `includeClosedAuctions` (type: `boolean`):

Search recently-ended (sold) listings instead of only live auctions — useful for sold-price research. Pair with `closedAuctionDaysBack`.

## `closedAuctionDaysBack` (type: `integer`):

How many days back to search ended/sold listings. Only used when `includeClosedAuctions` is on.

## `includeDetails` (type: `boolean`):

For search/category/seller modes, fetch each item's detail page too (one extra request per item). Adds full description, all images, seller name/address, pickup details, reserve info and bid history. Slower and heavier.

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

Hard cap on emitted records.

## Actor input object example

```json
{
  "mode": "search",
  "searchQuery": "nike",
  "categoryId": "",
  "itemIds": [],
  "sortBy": "endingSoonest",
  "buyNowOnly": false,
  "oneCentShippingOnly": false,
  "pickupOnly": false,
  "shippingDestination": "any",
  "searchDescriptions": false,
  "includeClosedAuctions": false,
  "closedAuctionDaysBack": 7,
  "includeDetails": false,
  "maxItems": 3
}
```

# Actor output Schema

## `items` (type: `string`):

Dataset containing all scraped ShopGoodwill listings.

# 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": "nike",
    "categoryId": "",
    "itemIds": [],
    "sortBy": "endingSoonest",
    "buyNowOnly": false,
    "oneCentShippingOnly": false,
    "pickupOnly": false,
    "shippingDestination": "any",
    "searchDescriptions": false,
    "includeClosedAuctions": false,
    "closedAuctionDaysBack": 7,
    "includeDetails": false,
    "maxItems": 3
};

// Run the Actor and wait for it to finish
const run = await client.actor("vexaloom-labs/shopgoodwill-auction-and-buy-it-now-price-tracker").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": "nike",
    "categoryId": "",
    "itemIds": [],
    "sortBy": "endingSoonest",
    "buyNowOnly": False,
    "oneCentShippingOnly": False,
    "pickupOnly": False,
    "shippingDestination": "any",
    "searchDescriptions": False,
    "includeClosedAuctions": False,
    "closedAuctionDaysBack": 7,
    "includeDetails": False,
    "maxItems": 3,
}

# Run the Actor and wait for it to finish
run = client.actor("vexaloom-labs/shopgoodwill-auction-and-buy-it-now-price-tracker").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 '{
  "mode": "search",
  "searchQuery": "nike",
  "categoryId": "",
  "itemIds": [],
  "sortBy": "endingSoonest",
  "buyNowOnly": false,
  "oneCentShippingOnly": false,
  "pickupOnly": false,
  "shippingDestination": "any",
  "searchDescriptions": false,
  "includeClosedAuctions": false,
  "closedAuctionDaysBack": 7,
  "includeDetails": false,
  "maxItems": 3
}' |
apify call vexaloom-labs/shopgoodwill-auction-and-buy-it-now-price-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,vexaloom-labs/shopgoodwill-auction-and-buy-it-now-price-tracker"
        }
    }
}
```

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/YuB07itpIoii8e9vb/builds/icyUTyMCvecgDFmZ7/openapi.json
