# Etsy Scraper (`khnaami/etsy-scraper`) Actor

Etsy Scraper: Extract handmade crafts, vintage goods, print-on-demand listings, live prices, shop sales numbers, Star Seller badges, customer reviews, and listing tags. Perfect for artisan market analysis, handcrafted niche research, SEO tag optimization, and competitor shop spying online.

- **URL**: https://apify.com/khnaami/etsy-scraper.md
- **Developed by:** [khalid naami](https://apify.com/khnaami) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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 Scraper (Handmade, POD, SEO Tags, Shop Sales & Bestsellers)

Extract live Etsy handmade crafts, vintage items, print-on-demand listings, live prices, shop sales count, Star Seller badges, and product SEO tags at scale.

> **Apify Store Short Description (292 chars):**\
> `Scrape Etsy handmade crafts, vintage items, print-on-demand listings, live prices, shop sales count, Star Seller badges, and SEO tags at scale. Supports digital download filters and fast keyword search with residential proxy rotation for POD product research, SEO tags, and shop intelligence.`

***

### 🌟 Key Features

- 🏷️ **Product SEO Tags**: Extracts all hidden search tags and keyword tags used by the seller to rank on Etsy search.
- 🏪 **Shop Sales Volume**: Captures lifetime shop sales numbers (e.g. "12,450 sales") to evaluate competitor strength.
- ⭐ **Seller Credibility Badges**: Identifies Star Seller badges and Bestseller / Popular Pick tags.
- 💻 **Digital vs Physical Filter**: Filter listings specifically for instant digital downloads (planners, SVGs, 3D print files) or physical craft goods.
- 💰 **Discounts & Pricing**: Captures current sale prices, original crossed-out prices, and discount percentages.
- 🧵 **Craft Materials**: Extracts materials used (e.g. "Genuine Leather, Brass, Oak Wood").
- 🖼️ **High-Resolution Galleries**: Captures high-definition primary thumbnails and full gallery image arrays.
- 🛡️ **Anti-Bot & DataDome Resilience**: Combines TLS/HTTP2 browser impersonation (`impit`), non-headless Xvfb Chromium fallback with `UNBLOCKER` TLS support, and per-attempt proxy session rotation. Pair with Apify **RESIDENTIAL** or **UNBLOCKER** proxies for best results.

***

### 📥 Input Configuration

| Field | Type | Default | Description |
|---|---|---|---|
| `productUrls` | Array | `["https://www.etsy.com/listing/1282353531/..."]` | List of direct Etsy product URLs. |
| `searchKeywords` | Array | `[]` | Keywords to search on Etsy (e.g. `'custom leather wallet'`). |
| `sortBy` | String | `"most_relevant"` | Sort order: `most_relevant`, `top_reviews`, `price_low`, `price_high`, `recent`. |
| `listingType` | String | `"all"` | Filter by nature: `all`, `digital` (instant downloads), `physical`. |
| `maxProducts` | Integer | `40` | Maximum product records to extract per keyword. |
| `proxyConfiguration` | Object | `{ "useApifyProxy": true }` | Apify Proxy settings (`apifyProxyGroups: ["RESIDENTIAL"]` strongly recommended for DataDome). |

***

### 📤 Output Data Format

```json
{
  "listingId": "123456789",
  "title": "Personalized Men's Leather Wallet Custom Engraved Monogram Gift for Him",
  "price": 28.50,
  "originalPrice": 38.00,
  "discount": "25% off",
  "currency": "USD",
  "rating": 4.9,
  "reviewsCount": 4620,
  "shopName": "CraftedHeritageCo",
  "shopSales": "18,250 sales",
  "isStarSeller": true,
  "isBestseller": true,
  "isDigitalDownload": false,
  "tags": [
    "custom leather wallet",
    "engraved gift for men",
    "anniversary gift for husband",
    "personalized groomsmen gift",
    "slim bifold wallet"
  ],
  "materials": "Full Grain Leather, Heavy Duty Thread",
  "shippingCost": "FREE shipping",
  "thumbnail": "https://i.etsystatic.com/12345/r/il/abc/123456789/il_fullxfull.jpg",
  "images": [
    "https://i.etsystatic.com/12345/r/il/abc/123456789/il_fullxfull.jpg",
    "https://i.etsystatic.com/12345/r/il/def/987654321/il_fullxfull.jpg"
  ],
  "url": "https://www.etsy.com/listing/123456789/personalized-mens-leather-wallet",
  "scrapedAt": "2026-11-10T13:50:00.000Z"
}
```

***

### 💡 Practical Commercial Use Cases

1. **Print-on-Demand (POD) Research**: Discover trending t-shirts, mugs, and wall art designs with proven buyer demand.
2. **Etsy SEO Tag Optimization**: Reverse-engineer top-ranking competitor listings by extracting their exact 13 SEO tags.
3. **Digital Products Opportunity Scouting**: Scout profitable digital planners, Canva templates, and SVG cut files.
4. **Competitor Shop Benchmarking**: Track competitor sales volume growth, review velocity, and pricing adjustments.

***

### ⚖️ License

Apache-2.0

# Actor input Schema

## `productUrls` (type: `array`):

List of direct Etsy product URLs (e.g. https://www.etsy.com/listing/1282353531/leather-earphone-case-engraved-headphone).

## `searchKeywords` (type: `array`):

Keywords to search on Etsy (e.g. 'custom leather wallet', 'digital planner goodnotes', 'personalized wedding gift').

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

Sort order for search results.

## `listingType` (type: `string`):

Filter by item nature: All, Instant Digital Downloads (SVG, Planners, 3D files), or Physical Crafts.

## `maxProducts` (type: `integer`):

Maximum number of listing records to extract per keyword.

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

Use Apify Proxy to handle DataDome anti-bot checks and geoblocks. Apify RESIDENTIAL (apifyProxyGroups: \['RESIDENTIAL']) or UNBLOCKER proxies are strongly recommended because Etsy blocks most datacenter IPs.

## Actor input object example

```json
{
  "productUrls": [
    "https://www.etsy.com/listing/1282353531/leather-earphone-case-engraved-headphone"
  ],
  "sortBy": "most_relevant",
  "listingType": "all",
  "maxProducts": 40,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Scraped records stored in the default Apify dataset.

## `overview` (type: `string`):

High-level summary report and execution metrics stored in Key-Value store.

# 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 = {
    "productUrls": [
        "https://www.etsy.com/listing/1282353531/leather-earphone-case-engraved-headphone"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("khnaami/etsy-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 = { "productUrls": ["https://www.etsy.com/listing/1282353531/leather-earphone-case-engraved-headphone"] }

# Run the Actor and wait for it to finish
run = client.actor("khnaami/etsy-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 '{
  "productUrls": [
    "https://www.etsy.com/listing/1282353531/leather-earphone-case-engraved-headphone"
  ]
}' |
apify call khnaami/etsy-scraper --silent --output-dataset

```

## MCP server setup

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