# Etsy Listings Scraper - Live Carts & Ads (`w3crawler/etsy-listings-scraper`) Actor

Extract public Etsy listing details, cart and purchase-velocity signals, ads, and seller badges.

- **URL**: https://apify.com/w3crawler/etsy-listings-scraper.md
- **Developed by:** [w3crawler](https://apify.com/w3crawler) (community)
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 3.6% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 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/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

## Etsy Listings Scraper

Extract source-backed listing cards from public Etsy search, market, and category pages. Each row captures the listing identity and URL, title, displayed price and currency, image, shop, rating, review count, visible ad slot, seller badges, free-shipping state, and optional cart or recent-purchase signals when Etsy renders them. Use it for product research, assortment checks, and marketplace monitoring.

### Get started

1. Open the [Actor Store page](https://apify.com/w3crawler/etsy-listings-scraper) and select **Try for free**, or open the **Input** tab.
2. Add one or more `keywords`, or supply full Etsy search, market, or category `startUrls`. `startUrls` take precedence over keywords.
3. Keep `maxItemsPerKeyword` and `maxItems` small for the first run, and leave `includeBadges` on if you need seller and merchandising flags.
4. Start the Actor, open the dataset, and check **Run summary** (`OUTPUT`) for pages verified, rows stored, access status, and failure codes.

### Input

All fields are optional, and the defaults below are ready to use. Unsupported field names and out-of-range values are rejected before requests start.

| Field | Type | Required? | Default | Meaning |
| --- | --- | --- | --- | --- |
| `keywords` | string array | Optional | Not supplied | Search phrases used to build Etsy search URLs when `startUrls` is empty, up to 50 entries of 1 to 500 characters each. |
| `country` | string | Optional | `US` | Two-letter country code inserted as the ship-to country in generated search URLs. |
| `startUrls` | string array | Optional | Not supplied | Public HTTPS Etsy search, market, or category URLs, up to 50 entries. These replace generated keyword searches. |
| `maxItemsPerKeyword` | integer | Optional | `48` | Maximum listing records read from each public search page, from 1 to 1,080. |
| `maxItems` | integer | Optional | `500` | Maximum unique listing records stored across all searches, from 1 to 5,000. |
| `includeBadges` | boolean | Optional | `true` | Keep bestseller, Star Seller, and production-partner flags when the card shows them. |
| `includeDiagnostics` | boolean | Optional | `true` | Keep up to 100 structured failure records in `OUTPUT_SUMMARY` and `OUTPUT`. Failure codes and counts are retained regardless, and diagnostics never enter the listing dataset. |
| `maxRequestRetries` | integer | Optional | `2` | Retry budget per public query: `0` allows 6 attempts, `1` allows 19, and `2` allows 32, all within a 190-second run budget and spaced by a 2.5–5 second pause. A challenge, access denial, rate limit, or unverifiable page is never solved or spoofed. |
| `proxyConfiguration` | object | Optional | `{"useApifyProxy":false}` | Standard Apify Proxy configuration for public requests. |

Example input used for the saved run:

```json
{
  "keywords": [
    "handmade mug"
  ],
  "country": "US",
  "maxItemsPerKeyword": 3,
  "maxItems": 3,
  "includeBadges": true,
  "maxRequestRetries": 2,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

The saved run capped the result at three rows and used proxy routing; the schema defaults are 48 cards per page, 500 rows total, and direct access. `includeDiagnostics` was left at its default of `true` and is not shown. The Actor loads public search and category pages over HTTPS, using browser navigation where the page requires it, and makes no more than the bounded attempts allowed by `maxRequestRetries`. It does not sign in, call private endpoints, solve CAPTCHAs, rotate fingerprints to evade a block, or treat a challenge page as listing data.

### Output

The dataset contains one row per listing card read from a verified public page, limited by `maxItemsPerKeyword` per page and `maxItems` overall. Rows follow the order of the source page and the order in which cards were extracted. Optional signals are omitted or `null` when Etsy does not render them; no diagnostic or placeholder rows are written.

| Field | Type | Availability | Meaning |
| --- | --- | --- | --- |
| `source` | string | null | Always | Source platform; `Etsy`. |
| `sourceHost` | string | null | Always | Hostname of the public source. |
| `pageType` | string | null | Always | Page kind that produced the row, such as `search_results` or `category`. |
| `sourceUrl` | string | null | Always | Exact public search or category URL requested. |
| `pageUrl` | string | null | Always | Final public URL after redirects, often a regional or market page. |
| `position` | integer | null | Always | One-based card position on the source page. |
| `listingId` | string | null | Always | Etsy listing identifier. |
| `listingUrl` | string | null | Always | Canonical public listing URL, including any tracking parameters the page supplied. |
| `title` | string | null | Always | Listing title as displayed on the card. |
| `price` | number | null | When a price is displayed | Parsed numeric price in the displayed currency. |
| `currency` | string | null | When a price is displayed | Currency code of the displayed price, such as `USD` or `INR`. |
| `imageUrl` | string | null | Always | Primary listing image URL. |
| `shopName` | string | null | When the card displays a shop | Public Etsy shop name. |
| `shopUrl` | string | null | When the card displays a shop | Public Etsy shop URL. |
| `rating` | number | null | When a rating is displayed | Displayed public rating. |
| `reviewCount` | integer | null | When reviews are displayed | Displayed public review count. |
| `cartCount` | integer | null | When Etsy displays the signal | Number of shoppers shown with the item in their cart. |
| `boughtIn24h` | integer | null | When Etsy displays the signal | Purchases shown for the last 24 hours. |
| `isAd` | boolean | null | When ad state is observable | Whether the card is visibly marked as a promoted listing. |
| `adPosition` | integer | null | When the card is promoted | One-based promoted slot position on the page. |
| `isBestseller` | boolean | null | When a badge is visible | Whether a bestseller badge is present. |
| `isStarSeller` | boolean | null | When a badge is visible | Whether a Star Seller badge is present. |
| `hasProductionPartner` | boolean | null | When a marker is visible | Whether a production-partner marker is present. |
| `tags` | string array | null | When tags are visible | Visible listing tags. |
| `category` | string | null | When a category is visible | Visible listing category. |
| `freeShipping` | boolean | null | When shipping is displayed | Whether free shipping is shown for the listing. |
| `searchQuery` | string | null | When the source URL contains a query | Search phrase parsed from the public source URL. |
| `scrapedAt` | string | null | Always | Time the row was saved, in ISO UTC. |

`tags` is a string array. `isAd`, `isBestseller`, `isStarSeller`, `hasProductionPartner`, and `freeShipping` are tri-state in practice: `true` or `false` when the card exposes the signal, and absent or `null` when it does not. `adPosition` applies only to promoted cards; `cartCount` and `boughtIn24h` are intermittent merchandising signals that Etsy may omit entirely.

The example below is a real saved row from the 2026-10-25 run.

```json
{
  "source": "Etsy",
  "sourceHost": "www.etsy.com",
  "pageType": "category",
  "sourceUrl": "https://www.etsy.com/search?q=handmade+mug&ship_to=US",
  "pageUrl": "https://www.etsy.com/in-en/market/handmade_mug",
  "position": 1,
  "searchQuery": "handmade mug",
  "listingId": "4448501401",
  "title": "Vintage Stoneware Coffee Mug, Handmade Japandi Pottery Cup, Rustic Ceramic Tea Mug, Wabi-Sabi Boho Home Decor",
  "listingUrl": "https://www.etsy.com/in-en/listing/4448501401/vintage-stoneware-coffee-mug-handmade?click_key=EuJwC7U_k9-Zc1VnD97bnlqqAHfa%3ALTce9ddf6e0a7856949f353ab2cbb9f4ae28d2caad&click_sum=16ad5849&ls=a&ga_order=most_relevant&ga_search_type=all&ga_view_type=gallery&ga_search_query=handmade+mug&ref=search_grid-903357-1-1&sr_prefetch=1&pf_from=market&pro=1",
  "price": 1286,
  "currency": "INR",
  "imageUrl": "https://i.etsystatic.com/63629787/r/il/443478/7843843799/il_300x300.7843843799_te2q.jpg",
  "shopName": "OceanAndLake",
  "shopUrl": "https://www.etsy.com/shop/OceanAndLake",
  "rating": 4.74,
  "reviewCount": 99,
  "isAd": true,
  "adPosition": 1,
  "isBestseller": false,
  "isStarSeller": false,
  "hasProductionPartner": false,
  "freeShipping": false,
  "scrapedAt": "2026-10-25T20:41:57.336Z"
}
```

This row came from a `handmade mug` search that redirected to the regional `/in-en/market/handmade_mug` page, and Etsy displayed the price in INR even though the request asked for `ship_to=US`. `cartCount`, `boughtIn24h`, `tags`, and `category` were not rendered for this card and are absent from the saved object. The remaining rows in the same run are positions 2 and 3, both promoted cards with the same fields; none of the three exposed cart or 24-hour purchase counts.

### Run summary

**Run summary** is stored separately from the dataset in the run's key-value store under `OUTPUT`.

| Field | Meaning |
| --- | --- |
| `status` | Actor process outcome: `SUCCEEDED` or `FAILED`. |
| `runStatus` | Canonical run status; matches `status`. |
| `dataStatus` | Completeness of the saved listing rows: `COMPLETE`, `PARTIAL`, `NO_RESULTS`, or `FAILED`. |
| `pagesRequested` | Source pages planned for the run. |
| `pagesAttempted` | Page loads attempted, including retries. |
| `pagesVerified` | Pages that produced verified listing data. |
| `pagesFailed` | Pages that ended in a block, transport error, or unverifiable response. |
| `datasetItems` | Listing rows present in the dataset. |
| `normalRowsWritten` | Source-backed listing rows written; equals `datasetItems`. |
| `diagnosticCount` | Operational issues recorded for the run. |
| `diagnosticItems` | Diagnostic dataset rows; always `0`. |
| `diagnosticRowsWritten` | Diagnostic rows written; always `0`. |
| `itemsStored` | Listing rows stored across verified pages. |
| `includeDiagnostics` | Whether bounded diagnostic records were retained in the summary. |
| `accessStatus` | Access outcome for the public pages, such as `OK` or a blocked state. |
| `failureCodes` | Short codes for the failures recorded during the run. |
| `diagnostics` | Bounded operational records with page context; excluded from the dataset and empty when diagnostics are disabled. |
| `completedAt` | Time the summary was written, in ISO UTC. |

| Status | Data status | Meaning |
| --- | --- | --- |
| `SUCCEEDED` | `COMPLETE` | Listing rows were saved and every planned page was verified without an operational issue. |
| `SUCCEEDED` | `PARTIAL` | Listing rows were saved, but at least one page failed or another issue was recorded. Saved rows remain available. |
| `SUCCEEDED` | `NO_RESULTS` | Pages were verified but no listing card was extracted. |
| `FAILED` | `FAILED` | No usable listing row was saved because the run hit a fatal access or request problem. |

Example `OUTPUT` from the 2026-10-25 run:

```json
{
  "status": "SUCCEEDED",
  "runStatus": "SUCCEEDED",
  "dataStatus": "COMPLETE",
  "pagesRequested": 1,
  "pagesAttempted": 1,
  "pagesVerified": 1,
  "pagesFailed": 0,
  "datasetItems": 3,
  "normalRowsWritten": 3,
  "diagnosticCount": 0,
  "diagnosticItems": 0,
  "diagnosticRowsWritten": 0,
  "itemsStored": 3,
  "includeDiagnostics": true,
  "accessStatus": "OK",
  "failureCodes": [],
  "diagnostics": [],
  "completedAt": "2026-10-25T20:41:59.299Z"
}
```

### Coverage and limitations

The Actor reads only the search, market, or category pages you target, one page per source, and extracts the cards that page renders. It does not open every listing detail page, crawl a shop, or follow pagination beyond the supplied URLs. Promoted cards may be mixed into the result and often carry different fields than organic cards, so shop, rating, review count, and badge values can be absent even when the listing has them elsewhere.

`price` and `currency` reflect the currency Etsy displayed for the session, not necessarily the `country` used to build the URL. The saved run asked for `US` shipping and received INR prices after a regional redirect. Treat the pair as a display snapshot and normalize currencies yourself if you compare across runs. `cartCount` and `boughtIn24h` are intermittent social-proof signals and appear only when Etsy chooses to render them.

Badges are returned only when `includeBadges` is `true`; turning it off omits bestseller, Star Seller, and production-partner flags. A challenge, access denial, rate limit, non-HTML response, or unverifiable page is never converted into data: the retry budget is consumed, the page is counted as failed, and the run reports `PARTIAL` or `FAILED` with failure codes. The Actor does not sign in, solve CAPTCHAs, spoof a device, or bypass an Etsy access decision. Result sets, prices, and badges change over time.

### Usage and support

Cost depends on the number of source pages, browser page loads, the retry budget, timeouts, response size, and proxy routing. Start with one keyword, `maxItemsPerKeyword` between 3 and 10, and a matching `maxItems`; increase them only after checking that pages verify and rows look correct. See the Actor's Pricing tab for current account rates.

Use the [Actor Issues page](https://apify.com/w3crawler/etsy-listings-scraper/issues) to report a problem. Include the run ID, the input used, and the run summary; do not include tokens, cookies, or private data. This Actor is an independent community tool and is not affiliated with, endorsed by, or sponsored by Etsy, Inc. Use it only for public data and in accordance with Etsy's terms, robots guidance, and applicable law.

# Actor input Schema

## `keywords` (type: `array`):

Keywords used to build Etsy search URLs when startUrls is empty.

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

Two-letter country code used in generated Etsy search URLs.

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

Optional public Etsy search, market, or category URLs. These take precedence over keywords.

## `maxItemsPerKeyword` (type: `integer`):

Maximum listing records read from each public search page.

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

Maximum unique listing records stored across all searches.

## `includeBadges` (type: `boolean`):

Keep bestseller, Star Seller, and production-partner flags when visible.

## `includeDiagnostics` (type: `boolean`):

Keep up to 100 structured failure records in OUTPUT_SUMMARY and OUTPUT. Failure codes and counts are always retained; diagnostics never enter the listing dataset.

## `maxRequestRetries` (type: `integer`):

Bounded retry budget for one public query, counted in extra proxy sessions on the same public route, URL, transport and User-Agent. 0 allows 6 attempts, 1 allows 19 and 2 allows 32, always capped by a 190 s run budget and spaced by a 2.5-5 s pause. A challenge, access denial, rate limit or unverifiable page is never treated as data and is never solved or spoofed; it only consumes the remaining budget.

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

Optional standard Apify Proxy configuration for the public request.

## Actor input object example

```json
{
  "country": "US",
  "maxItemsPerKeyword": 48,
  "maxItems": 500,
  "includeBadges": true,
  "includeDiagnostics": true,
  "maxRequestRetries": 2,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `runSummary` (type: `string`):

Run status and counters stored by the Actor.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("w3crawler/etsy-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("w3crawler/etsy-listings-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 '{}' |
apify call w3crawler/etsy-listings-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,w3crawler/etsy-listings-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/HvvZgv6orhAs3i5HY/builds/oldqrfltsEu8taj4N/openapi.json
