# Wish Scraper - $1.20 / 1000 Products (`scrapeunblocker/wish-scraper`) Actor

Wish.com products as clean JSON: search by keyword or fetch product pages by id or link. Price and crossed-out price, USD price, shipping, rating, units bought, stock, merchant, variants, images and top reviews. $1.20 per 1000 products.

- **URL**: https://apify.com/scrapeunblocker/wish-scraper.md
- **Developed by:** [Scrapeunblocker](https://apify.com/scrapeunblocker) (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.20 / 1,000 products

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

## Wish Scraper

Scrape **Wish.com products** as clean structured JSON - search by keyword or fetch product pages by id or link. Every product comes with its **price and crossed-out price** in the store's currency, a **USD price**, shipping cost, **rating and rating count**, **units bought**, stock, the **merchant** (name, rating, feedback) and images. Product pages add the description, attributes, **every color / size variant** with its own price and stock, the full image gallery, delivery estimate, return policy and the **top reviews**. No Wish account, no API key, no proxies to configure.

### Features

- **Keyword search** - up to 300 products per keyword, in Wish's own result order (`position`).
- **Product pages** - a 24-character product id or any wish.com product link.
- **Prices you can compare** - the shopper's price and currency plus `priceUsd`, Wish's own USD value of the same price.
- **Demand signals** - units bought, rating and rating count, stock and the number of colors and sizes.
- **Variants** - each color / size with price, original price, shipping, stock and availability.
- **Merchant** - store name, rating, rating count and positive-feedback share.
- **Any store** - US by default (USD); set another country to read that country's Wish store.
- **Deduplicated** - the same product given twice (id and link) is fetched and billed once.

### Use cases

- **Winning-product research** - find what sells in a niche by units bought and rating.
- **Price monitoring** - track prices and discounts of products or a keyword on a schedule.
- **Dropshipping sourcing** - compare variants, stock, shipping and delivery times before listing a product.
- **Merchant analysis** - see which stores dominate a category and how shoppers rate them.

### Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `searchQueries` | array | `["yoga mat"]` | Keywords to search (or wish.com/search/... links). |
| `products` | array | `[]` | Product ids or wish.com product links, for full product pages. |
| `maxItemsPerQuery` | integer | `30` | Products per keyword (1-300). |
| `proxy_country` | string | `US` | ISO-2 country whose Wish store to read. |
| `concurrency` | integer | `3` | Searches / products fetched at the same time (1-5). |

#### Example input

```json
{
  "searchQueries": ["yoga mat", "led strip lights"],
  "products": ["https://www.wish.com/product/5f96ad46b3f6480c7b9d7b52"],
  "maxItemsPerQuery": 60
}
```

### Output

One dataset item per product. From a search (`source: "search"`):

```json
{
  "id": "5f96ad46b3f6480c7b9d7b52",
  "name": "RDX Yoga Mat PVC Exercise Fitness Home Gym Exercise Mat",
  "url": "https://www.wish.com/product/rdx-yoga-mat-pvc-exercise-fitness-home-gym-exercise-mat-5f96ad46b3f6480c7b9d7b52",
  "price": 21.42,
  "originalPrice": 50.99,
  "currency": "USD",
  "priceText": "$21.42",
  "priceUsd": 21.42,
  "shipping": 11.57,
  "rating": 4.75,
  "ratingCount": 8,
  "numBought": 10,
  "inventory": 10,
  "colors": 1,
  "sizes": null,
  "merchant": {"id": "5a0ef362ddda8c16db2693c4", "name": "B2Fitness", "rating": 4.61, "ratingCount": 14296, "feedback": "96% Positive Feedback (14,296 ratings)", "country": "US"},
  "originCountry": "GB",
  "shipsFrom": null,
  "tileText": "10+ bought this",
  "isWishPick": false,
  "position": 6,
  "image": "https://canary.contestimg.wish.com/api/webimage/5f96ad46b3f6480c7b9d7b52-large.jpg",
  "source": "search",
  "query": "yoga mat",
  "country": "US"
}
```

From a product page (`source: "product"`) - the same price, rating and merchant fields plus:

```json
{
  "priceRange": {"min": 21.42, "max": 21.42},
  "inStock": true,
  "description": "Submerge yourself into the wholesomeness of yoga with 6mm of cushioning...",
  "attributes": {"Primary Color": "Pink", "Materials": "PVC"},
  "badges": ["Express"],
  "images": ["https://canary.contestimg.wish.com/api/webimage/5f96ad46b3f6480c7b9d7b52-large.jpg"],
  "shipsTo": "Ships to United States",
  "deliveryEstimate": "Oct 27-Nov 3",
  "returnPolicy": "You can initiate a return or refund on items within 30 days of delivery",
  "variants": [{"id": "5f96ad46...", "color": "Pink Solid", "size": null, "price": 21.42, "originalPrice": 50.99, "currency": "USD", "priceUsd": 21.42, "shipping": 2.99, "inventory": 10, "available": true}],
  "topReviews": [{"rating": 5, "comment": "Great mat, good grip.", "date": "2025-03-02T10:11:00+00:00", "variant": "Color: Pink Solid", "upvotes": 2, "country": "US"}]
}
```

Reviews are returned without reviewer names or account ids.

Searches or products that could not be read go to the `ERRORS` record in the run's key-value store, with the reason. They are not billed.

### Pricing

**$1.20 per 1000 products** (pay per result) - one dataset item is one product, from a search or a product page. Failed inputs are free.

### Notes

- Wish shows each country its own store (catalogue, VAT and currency). The default is the US store in USD. For another country Wish sometimes serves a different store; such items carry a `warnings` field, and `priceUsd` stays comparable.
- Powered by [ScrapeUnblocker](https://www.scrapeunblocker.com).

# Actor input Schema

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

Keywords to search on Wish (one search each), e.g. 'yoga mat'. A wish.com/search/... link works too. Each search returns up to 'Max products per search' products.

## `products` (type: `array`):

Wish product ids (24 characters, e.g. 5f96ad46b3f6480c7b9d7b52) or product links (https://www.wish.com/product/...). Each returns the full product: description, every color / size variant with price and stock, images, delivery estimate and top reviews.

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

How many products to collect for each keyword (1-300). Wish shows up to 30 per results page.

## `proxy_country` (type: `string`):

ISO-2 country whose Wish store to read (catalogue, prices, currency). Default US (USD). For another country Wish sometimes serves a different store; such items carry a 'warnings' field, and 'priceUsd' is always included.

## `concurrency` (type: `integer`):

How many searches or products to fetch at the same time (1-5).

## Actor input object example

```json
{
  "searchQueries": [
    "yoga mat"
  ],
  "products": [],
  "maxItemsPerQuery": 30,
  "proxy_country": "US",
  "concurrency": 3
}
```

# Actor output Schema

## `results` (type: `string`):

One item per product with price, rating, stock and merchant (plus variants and reviews for product pages)

## `errors` (type: `string`):

Searches or products that could not be read, with the reason (not billed)

# 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": [
        "yoga mat"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapeunblocker/wish-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": ["yoga mat"] }

# Run the Actor and wait for it to finish
run = client.actor("scrapeunblocker/wish-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": [
    "yoga mat"
  ]
}' |
apify call scrapeunblocker/wish-scraper --silent --output-dataset

```

## MCP server setup

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