# 🔍🛒 Wish Scraper (PPR) (`3x1t/wish-scraper`) Actor

Simple listings scraper. Extract product data from Wish.com to track trends, monitor pricing, and analyze customer reviews. Get fast, customizable results for valuable e-commerce insights. Fast, cheap & reliable.

- **URL**: https://apify.com/3x1t/wish-scraper.md
- **Developed by:** [3x1t](https://apify.com/3x1t) (community)
- **Categories:** E-commerce, Automation, Lead generation
- **Features:** Full permissions
- **Stats:** 11 total users, 1 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

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

## 🔍 What does Wish Scraper do?

**🔍🛒 Wish Scraper** is a tool for extracting products from Wish.com, one of the largest e-commerce marketplaces in the world. It features a simple interface for setting the search query and filters.

## ❓ Why scrape Wish?

Scraping Wish can provide valuable insights for businesses, marketers, and researchers by enabling them to track product trends, customer sentiment, and pricing strategies. The platform is known for offering a wide variety of affordable products, many of which come from overseas suppliers. By scraping Wish, you can quickly gather data on popular items, emerging market trends, and competitive pricing. This data can help businesses make informed decisions regarding inventory, marketing strategies, and product positioning, all while staying ahead of their competitors.

Another compelling reason to scrape Wish is to analyze customer reviews and ratings. Wish’s review section is a goldmine of feedback, revealing not only the quality of the products but also potential issues customers might be experiencing. By collecting and analyzing reviews, you can gain a deeper understanding of consumer preferences, pain points, and product performance. This can be especially useful for sellers looking to optimize their offerings or improve their customer service by addressing recurring issues or highlighting their strengths.

Lastly, scraping Wish can be a strategic tool for tracking the performance of specific merchants or products over time. By gathering data on merchant ratings, stock availability, and product reviews, you can monitor how these factors evolve and identify successful sellers or products. This information is invaluable for spotting emerging brands or suppliers, identifying potential collaborations, and optimizing your own product offerings. Whether you’re a competitor, researcher, or marketer, scraping Wish provides a comprehensive view of the marketplace to help you stay competitive and informed.

## 🚀 Features

1. *Search for products using __Search queries__*
2. Setup simple product filters
   1. Price filter
   2. Rating filter
3. Fast (~4 results per second)
4. Cheap
5. Export data in CSV, JSON, or Excel formats

## 📊 What is being extracted?

<table>
    <tr>
        <td>📝 Name</td>
        <td>📄 Description</td>
        <td>💰 Price</td>
    </tr>
    <tr>
        <td>🔗 Product URL</td>
        <td>🖼️ Images</td>
        <td>⭐ Rating</td>
    </tr>
    <tr>
        <td><b>🛍️ Product Variations</b></td>
        <td>📦 Items in Stock</td>
        <td>⚖️ Weight</td>
    </tr>
    <tr>
        <td>⭐ Reviews</td>
        <td>🛒 Merchant Info</td>
        <td>⚠️ Sold out status</td>
    </tr>
</table>

And more! For more detailed output, please refer to the output example section of this readme.

## 🖼️ Example output

**IMPORTANT!!** Please keep in mind that each product has variations (like size, color) that affect the price as well as other things. Therefore, the affected parameters are grouped and placed in the `productVariations` output field.

```json
[
    {
        "productId": "5ffd75bdc791c8dd263bdaa9",
        "title": "MEGA 2560 Development Board Integrated ATmega328/ATmega2560 CH340 For Arduino with Prototype Breadboard Expansion Shield ",
        "url": "https://www.wish.com/product/5ffd75bdc791c8dd263bdaa9",
        "description": "CH340 Board:\nMicrocontroller: ATmega328\nOperating Voltage: 5V\nInput Voltage (recommended): 7-12V\nInput Voltage (limits): 6-20V\nDigital IO Pins: 4 (of which 6 provide PWM output)\nAnalog Input Pins: 6\nDC Current per IO Pin: 40mA\nDC Current for 3.3V Pin: 50mA\nFlash Memory: 32 KB (ATmega328) of which 0.5 KB used by bootloader\nSRAM: 2 KB\nEEPROM: 1 KB\nClock Speed: 16 MHz\n\nMEGA 2560 Board：\nCH340G Replace ATMEGA16U2  \nMicrocontroller:ATmega2560  \nOperating Voltage:5V  \nInput Voltage (recommended):7-12V  \nInput Voltage (limits):6-20V  \nDigital I/O Pins:54 (of which 15 provide PWM output)  \nAnalog Input Pins:16  \nDC Current per I/O Pin:40 mA  \nDC Current for 3.3V Pin:50 mA  \nFlash Memory:256 KB of which 8 KB used by bootloader  \nSRAM:8 KB  \nEEPROM:4 KB  \nClock Speed:16 MHz\n\n\nPackage list：\n1 x CH340 expansion board\nor\n1 x MEGA 2560 expansion board\nor\n1 x CH340 board\nor\n1 x MEGA 2560 board\nor\n1 x CH340 expansion board+CH340 board\nor\n1 x MEGA 2560 expansion board+MEGA 2560 board ",
        "imageUrls": {
            "thumbnailImage": "https://canary.contestimg.wish.com/api/webimage/5ffd75bdc791c8dd263bdaa9-large.jpg?cache_buster=77a2e8519b1a297492e533fbb5dfe3b0",
            "allImages": [
                "https://canary.contestimg.wish.com/api/webimage/5ffd75bdc791c8dd263bdaa9-large.jpg?cache_buster=77a2e8519b1a297492e533fbb5dfe3b0",
                "https://canary.contestimg.wish.com/api/webimage/5ffd75bdc791c8dd263bdaa9-10-large.jpg?cache_buster=1631904259",
                "https://canary.contestimg.wish.com/api/webimage/5ffd75bdc791c8dd263bdaa9-11-large.jpg?cache_buster=1631904259",
                "https://canary.contestimg.wish.com/api/webimage/5ffd75bdc791c8dd263bdaa9-12-large.jpg?cache_buster=1631904259",
                "https://canary.contestimg.wish.com/api/webimage/5ffd75bdc791c8dd263bdaa9-13-large.jpg?cache_buster=1631904259",
                "https://canary.contestimg.wish.com/api/webimage/5ffd75bdc791c8dd263bdaa9-14-large.jpg?cache_buster=1631904259",
                "https://canary.contestimg.wish.com/api/webimage/5ffd75bdc791c8dd263bdaa9-15-large.jpg?cache_buster=1631904259"
            ]
        },
        "rating": {
            "value": 4.6,
            "count": 5
        },
        "productVariations": [
            {
                "variationId": "5ffd75bdc791c8dd263bdaa8",
                "size": "CH340 expansion board",
                "color": null,
                "price": {
                    "currentPrice": 6.38,
                    "originalPrice": 6.38,
                    "currency": "USD",
                    "isDiscounted": false,
                    "discountValue": 0
                },
                "itemsInStock": 978,
                "weightKgs": 0,
                "imageUrl": "https://canary.contestimg.wish.com/api/webimage/5ffd75bdc791c8dd263bdaa9-15-large.jpg?cache_buster=1631904259",
                "maxQuantityAllowed": 50
            },
            {
                "variationId": "5ffd75c03e1aeae1b2af7223",
                "size": "MEGA 2560 expansion board",
                "color": null,
                "price": {
                    "currentPrice": 7.43,
                    "originalPrice": 7.43,
                    "currency": "USD",
                    "isDiscounted": false,
                    "discountValue": 0
                },
                "itemsInStock": 983,
                "weightKgs": 0,
                "imageUrl": "https://canary.contestimg.wish.com/api/webimage/5ffd75bdc791c8dd263bdaa9-12-large.jpg?cache_buster=1631904259",
                "maxQuantityAllowed": 50
            },
            {
                "variationId": "5ffd75c272b37b119131c105",
                "size": "CH340 board",
                "color": null,
                "price": {
                    "currentPrice": 9.46,
                    "originalPrice": 9.46,
                    "currency": "USD",
                    "isDiscounted": false,
                    "discountValue": 0
                },
                "itemsInStock": 986,
                "weightKgs": null,
                "imageUrl": "https://canary.contestimg.wish.com/api/webimage/5ffd75bdc791c8dd263bdaa9-11-large.jpg?cache_buster=1631904259",
                "maxQuantityAllowed": 50
            },
            {
                "variationId": "5ffd75c57853fb10cc943fbd",
                "size": "CH340&expansion board",
                "color": null,
                "price": {
                    "currentPrice": 12.96,
                    "originalPrice": 12.96,
                    "currency": "USD",
                    "isDiscounted": false,
                    "discountValue": 0
                },
                "itemsInStock": 982,
                "weightKgs": null,
                "imageUrl": "https://canary.contestimg.wish.com/api/webimage/5ffd75bdc791c8dd263bdaa9-13-large.jpg?cache_buster=1631904259",
                "maxQuantityAllowed": 50
            },
            {
                "variationId": "5ffd75c380d9b602023c1de8",
                "size": "MEGA 2560 board",
                "color": null,
                "price": {
                    "currentPrice": 16.17,
                    "originalPrice": 16.17,
                    "currency": "USD",
                    "isDiscounted": false,
                    "discountValue": 0
                },
                "itemsInStock": 970,
                "weightKgs": 0,
                "imageUrl": "https://canary.contestimg.wish.com/api/webimage/5ffd75bdc791c8dd263bdaa9-10-large.jpg?cache_buster=1631904259",
                "maxQuantityAllowed": 50
            },
            {
                "variationId": "5ffd75c6f691310b274baf17",
                "size": "MEGA 2560&expansion board",
                "color": null,
                "price": {
                    "currentPrice": 22.05,
                    "originalPrice": 22.05,
                    "currency": "USD",
                    "isDiscounted": false,
                    "discountValue": 0
                },
                "itemsInStock": 975,
                "weightKgs": 0,
                "imageUrl": "https://canary.contestimg.wish.com/api/webimage/5ffd75bdc791c8dd263bdaa9-14-large.jpg?cache_buster=1631904259",
                "maxQuantityAllowed": 50
            }
        ],
        "topReviews": [
            {
                "comment": "",
                "rating": 3,
                "date": "2023-02-09T15:50:11+00:00",
                "user": {
                    "id": "597c83e1689ac11c4278dc92",
                    "name": "Chris",
                    "shortName": "Chris",
                    "countryCode": "US",
                    "locale": "en",
                    "signupDate": "2017-07-29T12:47:29+00:00",
                    "profileImageUrl": null
                },
                "reviewedVariationId": "5ffd75c57853fb10cc943fbd",
                "upvoteCount": 0,
                "downvoteCount": 0,
                "productPhotoUrl": "https://canary.contestimg.wish.com/api/webimage/5ffd75bdc791c8dd263bdaa9-13-large.jpg?cache_buster=1631904259"
            },
            {
                "comment": "",
                "rating": 5,
                "date": "2022-03-09T21:33:51+00:00",
                "user": {
                    "id": "56f38f0f74d3371d93308551",
                    "name": "Alan",
                    "shortName": "Alan",
                    "countryCode": "US",
                    "locale": "en",
                    "signupDate": "2016-03-24T06:54:07+00:00",
                    "profileImageUrl": null
                },
                "reviewedVariationId": "5ffd75c57853fb10cc943fbd",
                "upvoteCount": 0,
                "downvoteCount": 0,
                "productPhotoUrl": "https://canary.contestimg.wish.com/api/webimage/5ffd75bdc791c8dd263bdaa9-13-large.jpg?cache_buster=1631904259"
            },
            {
                "comment": "",
                "rating": 5,
                "date": "2021-07-14T13:51:06+00:00",
                "user": {
                    "id": "5fc63d9e9d6c6b98179abf8a",
                    "name": "Roman Jakub",
                    "shortName": "Roman Jakub",
                    "countryCode": "DK",
                    "locale": "da",
                    "signupDate": "2020-12-01T12:57:02+00:00",
                    "profileImageUrl": null
                },
                "reviewedVariationId": "5ffd75bdc791c8dd263bdaa8",
                "upvoteCount": 0,
                "downvoteCount": 0,
                "productPhotoUrl": "https://canary.contestimg.wish.com/api/webimage/5ffd75bdc791c8dd263bdaa9-15-large.jpg?cache_buster=1631904259"
            },
            {
                "comment": "",
                "rating": 5,
                "date": "2021-12-28T22:59:58+00:00",
                "user": {
                    "id": "5c461948a9146166574be75f",
                    "name": "Nicki",
                    "shortName": "Nicki",
                    "countryCode": "DK",
                    "locale": "da",
                    "signupDate": "2019-01-21T19:11:04+00:00",
                    "profileImageUrl": null
                },
                "reviewedVariationId": "5ffd75c6f691310b274baf17",
                "upvoteCount": 0,
                "downvoteCount": 0,
                "productPhotoUrl": "https://canary.contestimg.wish.com/api/webimage/5ffd75bdc791c8dd263bdaa9-14-large.jpg?cache_buster=1631904259"
            },
            {
                "comment": "",
                "rating": 5,
                "date": "2021-03-03T21:26:12+00:00",
                "user": {
                    "id": "5db4944a403f6de7d2dc656f",
                    "name": "Alain",
                    "shortName": "Alain",
                    "countryCode": "FR",
                    "locale": "fr",
                    "signupDate": "2019-10-26T18:45:30+00:00",
                    "profileImageUrl": null
                },
                "reviewedVariationId": "5ffd75c6f691310b274baf17",
                "upvoteCount": 0,
                "downvoteCount": 0,
                "productPhotoUrl": "https://canary.contestimg.wish.com/api/webimage/5ffd75bdc791c8dd263bdaa9-14-large.jpg?cache_buster=1631904259"
            }
        ],
        "isSoldOut": false,
        "merchantInfo": {
            "id": "5dcd35a956ea3e1849662f8e",
            "name": "hxstudio299",
            "nameFormatted": "HXstudio299",
            "rating": {
                "value": 4.55,
                "count": 4862
            },
            "avatarImageUrl": "https://sweeper-production-merchantimage.s3-us-west-1.amazonaws.com/dp_5dcd35a956ea3e1849662f8e.jpg"
        }
    },
    ...
]
```

## 🔗 Integrating with other platforms

**Wish Scraper** supports integrations with external services, enabling automated workflows and data exchange. Through the [Apify platform integrations](https://apify.com/integrations), it connects with tools like Make and Zapier, facilitating interactions with Slack, Airbyte, GitHub, Google Sheets, and Google Drive ([learn about integrations](https://docs.apify.com/platform/integrations)). Additionally, its API and [webhook support](https://docs.apify.com/platform/integrations/webhooks) allow real-time interactions, such as triggering automated workflows or receiving notifications when a scraping task is completed.

## 🛠️ Support

If there is a feature that you would love to see (more fields, better input, etc.), do not hesitate to **create an issue** or contact me at <contact@3x1t.dev>.

## ⚖️ Is it legal to scrape Wish?

Note that personal data is protected by GDPR in the European Union and by other regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers. We also recommend that you read our blog post: [is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

## 🔍🌍 Explore more of our actors

<table>
    <tr>
        <th style="white-space: nowrap;">Actor</th>
        <th>Description</th>
    </tr>
    <tr>
        <td style="white-space: nowrap;">
            <a href="https://apify.com/3x1t/wish-scraper">🔍🛒 Wish Scraper</a>
        </td>
        <td>Extracts product data from Wish.com, including details like price, name, reviews, and more.</td>
    </tr>
    <tr>
        <td style="white-space: nowrap;">
            <a href="https://apify.com/3x1t/mobile-de-scraper">🔍🚗 Mobile.de Scraper</a>
        </td>
        <td>Scrapes vehicle listings from Mobile.de, Europe's largest car marketplace, with detailed vehicle data like brand, model, price, and images.</td>
    </tr>
    <tr>
        <td style="white-space: nowrap;">
            <a href="https://apify.com/3x1t/mobile-de-scraper-ppr">🔍🚗 Mobile.de Scraper (PPR)</a>
        </td>
        <td>Pay-per-result version of the Mobile.de Scraper, offering a cost-effective option for smaller use cases to extract car data.</td>
    </tr>
    <tr>
        <td style="white-space: nowrap;">
            <a href="https://apify.com/3x1t/mobile-de-reviews-scraper-ppr">🔍🚗📝 Mobile.de Reviews Scraper</a>
        </td>
        <td>Extracts dealer reviews from Mobile.de, providing insights into dealer reputation, customer sentiment, and service quality.</td>
    </tr>
    <tr>
        <td style="white-space: nowrap;">
            <a href="https://apify.com/3x1t/mobile-de-listing-health-checker">🚗📝👨‍⚕️ Mobile.de Listing Health Checker</a>
        </td>
        <td>Checks listing IDs and returns only those that are not valid anymore.</td>
    </tr>
</table>

Can't find what you're looking for? No worries, we've got your back! Hit us up at <contact@3x1t.dev> or create an issue. If all else fails, you can always [visit the Apify store](https://apify.com/store) — it could have exactly what you need. 😉

# Actor input Schema

## `queries` (type: `array`):

Phrases for which to search.

## `limitPerQuery` (type: `integer`):

This limits the returned number of results per each query to the given value. For example, if you set 3 search queries and set this field to 10, your total limit will be **30**.

## `filterPriceMin` (type: `integer`):

Minimum price

## `filterPriceMax` (type: `integer`):

Maximum price

## `filterRatingMin` (type: `integer`):

Sets the minimum star rating requirement of the products. Will not return products which rating is lower than this value.

## Actor input object example

```json
{
  "queries": [
    "arduino"
  ],
  "limitPerQuery": 100,
  "filterPriceMin": 0
}
```

# 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 = {
    "queries": [
        "arduino"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("3x1t/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 = { "queries": ["arduino"] }

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,3x1t/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/GKjUauisYa6vSMbCd/builds/1u9jOljDIm4TTxLlI/openapi.json
