# Carousell Singapore Listings Scraper (real SG mobile IPs) (`xavierfok/carousell-sg-listings`) Actor

Carousell Singapore listings fetched through a real Singapore mobile line: title, SGD price, condition, seller and images. Optional enrichment adds each listing's full description, Carousell's own deal rating, the meet-up location and the seller's review count. Every row carries the IP it came from.

- **URL**: https://apify.com/xavierfok/carousell-sg-listings.md
- **Developed by:** [Xavier Fok](https://apify.com/xavierfok) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 carousell sg listings

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Carousell Singapore Listings Scraper (real SG mobile IPs)

Carousell Singapore listings as a Singapore buyer sees them: title, price in SGD, condition,
seller, images, likes. Every page is fetched through a Singtel mobile line in Singapore, so
you get the country-correct view, and every row carries the IP it was fetched from.

The part most Carousell scrapers stop short of is the listing page itself. A search card
gives you a price and a title. Turn on `enrichListings` and each listing also returns its
full description, Carousell's own deal rating, the meet-up location, and the seller's type
and review count. None of that exists on the card.

### What you get

- Listings with title, URL, price + price text, condition (Brand new … Heavily used), description, seller (id, username, name, profile pic), all image URLs, likes, listing time, bumped flag, badges
- Per-listing enrichment via `enrichListings`: full description, Carousell's deal rating, meet-up location, seller type, seller review count
- `total_count` for the search term (market-size signal)
- `egress_ip` + `egress_geo` on every row, proving the data came from a Singapore mobile IP
- Optional screenshot of the rendered mobile listing page

### Example output

```json
{ "record_type": "listing", "search_term": "iphone 15", "egress_geo": "Singapore",
  "listing_id": "1452635858", "title": "iPhone 15 · 128GB · Black", "price": 626.0,
  "price_text": "S$626", "currency": "SGD", "condition": "Like new",
  "seller_username": "carousellmobile", "likes_count": 12, "is_bumped": false,
  "url": "https://www.carousell.sg/p/iphone-15-128gb-black-1452635858" }
```

### How it works

A headless Chromium with mobile emulation renders Carousell SG through our Singapore mobile
proxy network and reads the page's own structured listing data. Best for **SG price and
market research, reseller/dropship sourcing, seller intelligence, and second-hand market
tracking from an authentic Singapore buyer's vantage point.** Singapore-only by design.

### Pricing

Pay-per-event: **$0.005 per listing returned**, plus **$0.01 per enriched listing detail**
(only when `enrichListings` is on). You are never charged for a blocked, non-SG, or empty
fetch.

### The lines this runs on

Every row came off a Singtel SIM in a dongle on a rack in Singapore. That is what makes the
view country-correct rather than a guess from a datacenter range.

We sell those lines. If you're building your own scraper and the Singapore part is what
keeps breaking, dedicated SG mobile proxies are at **singaporemobileproxy.com**. Code
**APIFY15** takes 15% off your first payment.

One honest caveat: Carousell is not a hard target. A mobile line is what gets you the
correct Singapore view here, not what gets you past a wall.

# Actor input Schema

## `searchTerms` (type: `array`):

One Carousell SG search keyword per line, e.g. 'iphone 15'.

## `searchUrls` (type: `array`):

Full carousell.sg search or category URLs to scrape instead of / in addition to searchTerms.

## `maxListingsPerTerm` (type: `integer`):

Maximum listings to return per search term or URL (1-240).

## `maxPages` (type: `integer`):

How many infinite-scroll pages (~49 listings each) to walk per term. Raise to collect more than one page.

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

How Carousell should sort listings before scraping.

## `maxRetriesPerPage` (type: `integer`):

How many times to retry a page on a fresh SG mobile IP if the fetch is blocked.

## `enrichListings` (type: `boolean`):

Open each listing's page from a real Singapore mobile IP to capture the full description, Carousell's own price/deal rating, meet-up location, and seller type + review count. Slower, and billed per detail record.

## `maxDetailsPerTerm` (type: `integer`):

How many listings per search term to enrich with full detail data.

## `captureScreenshot` (type: `boolean`):

Capture a screenshot of the rendered mobile listing page as proof it came from a real Singapore mobile view.

## Actor input object example

```json
{
  "searchTerms": [
    "iphone 15"
  ],
  "searchUrls": [],
  "maxListingsPerTerm": 40,
  "maxPages": 1,
  "sortBy": "recent",
  "maxRetriesPerPage": 3,
  "enrichListings": false,
  "maxDetailsPerTerm": 5,
  "captureScreenshot": true
}
```

# 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 = {
    "searchTerms": [
        "iphone 15"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("xavierfok/carousell-sg-listings").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 = { "searchTerms": ["iphone 15"] }

# Run the Actor and wait for it to finish
run = client.actor("xavierfok/carousell-sg-listings").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchTerms": [
    "iphone 15"
  ]
}' |
apify call xavierfok/carousell-sg-listings --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=xavierfok/carousell-sg-listings",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/1LazHwTlNJ1E2ClSw/builds/9xQras9tewaM6x6yV/openapi.json
