# Carousell Marketplace Scraper (`wyle/carousell-scraper`) Actor

Fast HTTP-only scraper for Carousell marketplace listings across Singapore, Malaysia, Hong Kong, Philippines, and Taiwan. Extracts product titles, asking prices, conditions, seller profiles, ratings, descriptions, timestamps, and high-resolution photo galleries.

- **URL**: https://apify.com/wyle/carousell-scraper.md
- **Developed by:** [Willy Lengkong](https://apify.com/wyle) (community)
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

## Carousell Marketplace Scraper (Singapore, Malaysia, HK, PH, TW)

A lightning-fast, production-grade **HTTP-only** Apify Actor to scrape product listings, prices, seller profiles, condition details, and high-resolution photo galleries from [Carousell](https://www.carousell.com).

Supports all major Carousell regions across Southeast Asia and East Asia:

- 🇸🇬 **Singapore** (`carousell.sg`)
- 🇲🇾 **Malaysia** (`carousell.com.my`)
- 🇭🇰 **Hong Kong** (`carousell.com.hk`)
- 🇵🇭 **Philippines** (`carousell.ph`)
- 🇹🇼 **Taiwan** (`tw.carousell.com`)

***

### ⚡ Key Features

- **100% HTTP-Only & Zero Headless Overhead**: Employs advanced TLS/HTTP2 fingerprinting (`curl_cffi`) to extract data directly from SSR state and internal JSON search APIs without slow, resource-heavy headless browsers.
- **Multi-Region Support**: Select your target country with one click (`SG`, `MY`, `HK`, `PH`, `TW`).
- **Deep Pagination Handling**: Automatically extracts dynamic session cursors and CSRF tokens to seamlessly paginate through hundreds or thousands of products per search query.
- **Rich Data Extraction**:
  - Listing ID, Title, and Direct URL
  - Numeric Price, Formatted Price, Original/Strikethrough Price, and 3-Letter Currency Code
  - Item Condition (`Brand new`, `Like new`, `Lightly used`, `Well used`, `Heavily used`)
  - Seller Details (ID, Username, Display Name, Profile URL, Avatar, Seller Badge/Type)
  - Full-Resolution Photo Galleries and Thumbnails
  - Item Descriptions, Likes Count, and Buyer Protection Badges
  - Publication / Bump timestamps in ISO 8601 format
- **Flexible Sorting**: Sort by Relevance (`best_match`), Newly Listed (`recent`), or Price (`price_low_to_high`, `price_high_to_low`).
- **Residential Proxy Ready**: Out-of-the-box integration with Apify Residential Proxies for enterprise-scale scraping.

***

### 📥 Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `country` | String (Enum) | `"SG"` | Target marketplace: `SG` (Singapore), `MY` (Malaysia), `HK` (Hong Kong), `PH` (Philippines), `TW` (Taiwan). |
| `searchQueries` | Array of Strings | `["playstation 5"]` | Search keywords or product names to extract. |
| `startUrls` | Array of Strings | `[]` | Direct listing URLs or search URLs to scrape. |
| `sortBy` | String (Enum) | `"best_match"` | Sort order: `best_match`, `recent`, `price_low_to_high`, `price_high_to_low`. |
| `maxItems` | Integer | `100` | Maximum number of items to collect per search query. |
| `proxyConfiguration` | Object | `{ "useApifyProxy": false }` | Apify Proxy settings (Apify Residential proxy recommended for high volume). |

#### Example Input

```json
{
  "country": "SG",
  "searchQueries": [
    "playstation 5",
    "iphone 15 pro",
    "hermes birkin"
  ],
  "sortBy": "recent",
  "maxItems": 150,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

***

### 📤 Output Data Format

Each item pushed to the Apify Default Dataset follows this clean JSON schema:

```json
{
  "id": "1238472598",
  "listingId": 1238472598,
  "title": "Playstation 5 Console Local Set + Warranty",
  "price": 398.0,
  "priceFormatted": "S$398",
  "originalPrice": "S$428",
  "currency": "SGD",
  "description": "[USED] Playstation 5 Console Add-on: Controller @$68... Full set with box.",
  "condition": "Like new",
  "conditionCode": 4,
  "category": null,
  "categoryId": "5727",
  "country": "Singapore",
  "countryCode": "SG",
  "url": "https://www.carousell.sg/p/1238472598",
  "thumbnailUrl": "https://media.karousell.com/media/photos/products/2026/9/20/accept_cdc_playstation_5_conso_1789901386_6df3e865_progressive_thumbnail.jpg",
  "photos": [
    "https://media.karousell.com/media/photos/products/2026/9/20/accept_cdc_playstation_5_conso_1789901386_6df3e865_progressive_thumbnail.jpg"
  ],
  "photosCount": 1,
  "likesCount": 265,
  "isCertified": false,
  "isSellerVisible": true,
  "seller": {
    "id": "354670",
    "username": "8thavemobile.sg",
    "name": "8TH AVE MOBILE",
    "profilePicture": "https://media.karousell.com/media/photos/profiles/2022/08/19/8thavemobile.sg_1660904778_26b94750.jpg",
    "sellerType": "Professional Seller",
    "profileUrl": "https://www.carousell.sg/u/8thavemobile.sg"
  },
  "tags": [
    "Buyer Protection"
  ],
  "status": "L",
  "createdTimestamp": 1793801048,
  "createdAt": "2026-11-04T12:44:08+00:00",
  "scrapedAt": "2026-11-04T14:52:00+00:00"
}
```

***

### 💡 Practical Use Cases

1. **E-Commerce & C2C Market Research**: Monitor secondhand electronics, luxury handbags, designer fashion, vehicles, and furniture trends across Southeast Asia.
2. **Competitive Pricing Intelligence**: Track resale values, price drops, and historical asking prices.
3. **Lead Generation**: Identify top merchant sellers and high-volume dealers on Carousell.
4. **Deal Alerts & Arbitrage**: Detect newly listed items priced below market rate for instant buying or flipping.

# Actor input Schema

## `country` (type: `string`):

Select the Carousell marketplace domain to target.

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

List of keywords or products to search for (e.g., 'playstation 5', 'iphone 15 pro', 'hermes birkin').

## `startUrls` (type: `array`):

Direct URLs to Carousell product listings or search result pages.

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

Order of listing results.

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

Maximum number of listing results to collect per search query.

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

Apify Proxy settings. Residential proxies are recommended for high-volume automated extraction.

## Actor input object example

```json
{
  "country": "SG",
  "searchQueries": [
    "playstation 5"
  ],
  "startUrls": [],
  "sortBy": "best_match",
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {
    "searchQueries": [
        "playstation 5"
    ],
    "startUrls": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("wyle/carousell-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": ["playstation 5"],
    "startUrls": [],
}

# Run the Actor and wait for it to finish
run = client.actor("wyle/carousell-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": [
    "playstation 5"
  ],
  "startUrls": []
}' |
apify call wyle/carousell-scraper --silent --output-dataset

```

## MCP server setup

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