# Karrot Listings Scraper (`piotrv1001/karrot-listings-scraper`) Actor

The Karrot Listings Scraper extracts buy/sell listings from karrotmarket.com, capturing titles, prices, images, seller profiles, GPS coordinates, and engagement stats across 111 regions — ideal for resale market analysis and price tracking.

- **URL**: https://apify.com/piotrv1001/karrot-listings-scraper.md
- **Developed by:** [FalconScrape](https://apify.com/piotrv1001) (community)
- **Categories:** E-commerce, Automation, Integrations
- **Stats:** 3 total users, 0 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 product listings

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

### 🥕 Karrot Market Listings Scraper

Extract buy/sell listings from **Karrot Market** (us.karrotmarket.com) — the hyperlocal marketplace popular in Korean-American communities across the US. The **Karrot Market Listings Scraper** gives you structured product data for market research, price tracking, and inventory analysis across all 111 US regions.

### ✨ Features

- 🗺️ **Full US Coverage**: Scrape across all 111 hyperlocal regions in 6 states (New York, New Jersey, Illinois, Indiana, Connecticut, Wisconsin) — discovered automatically.
- 🗂️ **Category Sweep**: Enumerate all 16 product categories per region to maximise the number of unique listings collected.
- 🔍 **Keyword Search**: Target specific items across regions using search terms.
- 📄 **Detail Enrichment**: Optionally fetch full listing pages for description text, GPS coordinates, all images, seller profile, and engagement stats.
- ⚡ **Fast & Lightweight**: HTTP-based scraping — no browser automation needed.
- 🔁 **Deduplication**: Items appearing in multiple region/category results are stored only once, keyed by `nodeId`.

### 🛠️ How It Works

1. **Configure regions** – Provide region slugs (e.g. `manhattan-7426`) or leave blank to auto-discover all ~111 US regions from the Karrot sitemap.
2. **Choose a strategy** – Browse all listings, filter by category, or search by keyword.
3. **Enable detail enrichment** *(optional)* – Follow each listing to its detail page for the full dataset.
4. **Run** – Structured JSON results land in your dataset.

### 📥 Input

| Parameter | Type | Default | Description |
|---|---|---|---|
| `startUrls` | `URL[]` | manhattan-7426 | Karrot Market listing page URLs to scrape. Paste any URL from `us.karrotmarket.com/buy-sell` — the region, category, and search keyword are extracted automatically. Leave empty to scrape all available US regions. |
| `scrapeByCategories` | `boolean` | `true` | Fetch listings separately for each product category per region, significantly increasing the total number of unique listings collected. Has no effect when the start URL already includes a category filter. |
| `scrapeDetails` | `boolean` | `false` | Follow each listing to its detail page for description, GPS coordinates, all images, seller stats, and engagement metrics. |
| `maxItems` | `integer` | `100` | Maximum number of listings to save (0 = unlimited). |
| `proxyConfiguration` | `object` | Apify Proxy off | Proxy settings. Not required for most runs. |

### 📊 Sample Output Data

#### Shallow listing (`scrapeDetails: false`)

```json
{
    "id": 8938028,
    "nodeId": "9nai79cnbmh7",
    "title": "Universal Thread Brown Suede Ankle Boots - Size 6",
    "price": "15",
    "status": "ongoing",
    "listingType": "sell",
    "thumbnail": "https://img.ca.gcp-karroter.net/origin/article/..._0.webp",
    "countryCode": "US",
    "regionSlug": "manhattan-7426",
    "url": "https://us.karrotmarket.com/buy-sell/9nai79cnbmh7/"
}
```

#### Full detail (`scrapeDetails: true`)

```json
{
    "id": 8938159,
    "nodeId": "szanenm13gt8",
    "title": "True Religion Jennie Curvy Mid Rise Super Skinny Jeans Size 31",
    "price": 131,
    "content": "These are True Religion Jennie Curvy jeans. Mid-rise, super skinny fit. Size 31. Willing to negotiate.",
    "status": "ongoing",
    "listingType": "sell",
    "offerable": true,
    "thumbnail": "https://img.ca.gcp-karroter.net/origin/article/..._0.webp",
    "images": [
        "https://img.ca.gcp-karroter.net/origin/article/..._0.webp",
        "https://img.ca.gcp-karroter.net/origin/article/..._1.webp"
    ],
    "category": { "id": 4, "name": "Women's Fashion" },
    "user": {
        "nickname": "jane_doe",
        "locationName": "Manhattan",
        "score": 36.8,
        "reviewCount": 12
    },
    "tradingLocation": {
        "name": "Upper West Side",
        "latitude": 40.7831,
        "longitude": -73.9712,
        "isUserInput": true
    },
    "region": { "id": 7426, "name": "Manhattan", "countryCode": "US" },
    "createdAt": "2026-03-20T14:22:00.000Z",
    "publishedAt": "2026-03-20T14:22:00.000Z",
    "readsCount": 47,
    "chatRoomsCount": 3,
    "watchesCount": 8,
    "regionSlug": "manhattan-7426",
    "url": "https://us.karrotmarket.com/buy-sell/szanenm13gt8/"
}
```

### 💰 Pricing

This Actor uses **pay-per-event** billing — you are only charged for the data you actually collect.

| Event | Description | Price per 1,000 results |
|---|---|---|
| `product-listing` | Shallow listing (title, price, status, thumbnail) | $1.00 |
| `item-detail` | Full listing detail (description, GPS, all images, seller profile, engagement stats) | $4.00 |

**Example costs:**

- 10,000 shallow listings → **$10.00**
- 1,000 full detail listings → **$4.00**
- Full US coverage, shallow, all categories (~500K items) → **~$500**

# Actor input Schema

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

Karrot Market listing page URLs to scrape. Paste any URL from karrotmarket.com/buy-sell — the region, category, and search keyword are extracted automatically. Leave empty to scrape all available US regions.

## `scrapeByCategories` (type: `boolean`):

When enabled, the scraper fetches listings separately for each product category per region, significantly increasing the total number of unique listings collected. Has no effect when the start URL already includes a category filter.

## `scrapeDetails` (type: `boolean`):

When enabled, fetches full detail pages for each listing to get description, GPS coordinates, all images, seller profile, and engagement stats. Increases total requests by the number of listings found.

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

Maximum number of listings to save to the dataset (0 = unlimited).

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

Proxy settings. Not required for most runs.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.karrotmarket.com/buy-sell/all/?in=manhattan-7426&search=iphone"
    }
  ],
  "scrapeByCategories": true,
  "scrapeDetails": false,
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# 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 = {
    "startUrls": [
        {
            "url": "https://www.karrotmarket.com/buy-sell/all/?in=manhattan-7426&search=iphone"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("piotrv1001/karrot-listings-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 = { "startUrls": [{ "url": "https://www.karrotmarket.com/buy-sell/all/?in=manhattan-7426&search=iphone" }] }

# Run the Actor and wait for it to finish
run = client.actor("piotrv1001/karrot-listings-scraper").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 '{
  "startUrls": [
    {
      "url": "https://www.karrotmarket.com/buy-sell/all/?in=manhattan-7426&search=iphone"
    }
  ]
}' |
apify call piotrv1001/karrot-listings-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/iczlO4zwavtY3XpTZ/builds/nkIUUNwNnRDf17Drp/openapi.json
