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

Fast and reliable Etsy product scraper. Extract product data from Etsy categories and search results including product names, prices, images, shop URLs, and more. Supports pagination and custom product limits.

- **URL**: https://apify.com/datascrapers/etsy-scraper.md
- **Developed by:** [Farhan Ali](https://apify.com/datascrapers) (community)
- **Categories:** E-commerce, Developer tools, Integrations
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

**Etsy Scraper** creates a structured dataset of product listings collected from [Etsy](https://www.etsy.com), the marketplace for handmade, vintage, and craft goods. Each dataset item represents one product and can include the product name, listing URL, primary image, price, currency, availability, shop name, and shop URL. Query the source by pasting Etsy category, search-result, or listing URLs, control the result limit with `maxProducts`, and retrieve records through the Apify Dataset API or export them as JSON, CSV, Excel, or another supported format.

### Dataset at a glance

| Property | Value |
|---|---|
| Source | etsy.com (handmade and vintage marketplace) |
| Record unit | One product listing |
| Input methods | Etsy category, search-result, or listing URLs (`startUrls`) |
| Main identifiers | `url` (listing URL) |
| Delivery | Apify Dataset and API |
| Export formats | JSON, CSV, Excel, XML, HTML (Apify dataset exports) |
| Update model | Fresh records per Actor run |
| Pricing | $10.00 per 1,000 listings |

### Coverage and available records

The Actor collects products from public Etsy pages using a URL entry point:

- **URL-based**: Pass Etsy category pages, search-result pages, or individual listing pages in `startUrls` (for example `https://www.etsy.com/c/baby/baby-clothes`). Each URL is paginated to collect the products it lists. URLs that are not Etsy pages are skipped.
- **Pagination**: Collection follows the category/search pagination, subject to Etsy's 250-page-per-category limit.

Record types and limits:

- **Product records** are collected from the page's structured product data: name, URL, image, price, currency, availability, shop name, and shop URL.
- **Result cap**: `maxProducts` limits the number of products collected per URL (`0` means unlimited, subject to Etsy's 250-page cap).

Known exclusions: reviews, shop detail pages, and product-detail-page enrichment are not collected; content Etsy only shows behind login is not collected; each run captures page state at run time (no historical snapshots).

### Data dictionary

Field names below match dataset record JSON properties exactly.

| Field | Type | Nullable | Description | Example |
|---|---:|---|---|---|
| `@type` | string | No | Schema.org type of the record | `Product` |
| `name` | string | No | Product name | `Vintage moss agate engagement ring Art deco solid 14k gold bezel promise ring...` |
| `url` | string | No | Product listing URL; best stable deduplication key | `https://www.etsy.com/listing/1707599891/vintage-moss-agate-engagement-ring-art` |
| `image` | string | Yes | Primary product image URL | `https://i.etsystatic.com/37967044/r/il/699a5c/5988382628/il_fullxfull.5988382628_b8gk.jpg` |
| `price` | string | Yes | Sale price as a string, flattened from the offer | `108.88` |
| `currency` | string | Yes | Price currency code, flattened from the offer | `USD` |
| `brand_url` | string | Yes | Shop URL derived from the shop name | `https://www.etsy.com/shop/CytheriaSHO` |
| `brand` | object | Yes | Shop identity: `{ "@type": "Brand", "name": "<shop name>" }` | `{"@type":"Brand","name":"CytheriaSHO"}` |
| `offers` | object | Yes | Offer details: `price`, `priceCurrency`, `availability`, and a nested `priceSpecification` with list price | See example record |

The `offers` object contains the raw price, currency, availability status, and (when the seller provides one) a `priceSpecification` carrying the list price and its currency.

### Example dataset record

Real record produced with the input below (`startUrls` for a category page, `maxProducts: 3`).

```json
{
  "@type": "Product",
  "name": "Vintage moss agate engagement ring Art deco solid 14k gold bezel promise ring...",
  "url": "https://www.etsy.com/listing/1707599891/vintage-moss-agate-engagement-ring-art",
  "image": "https://i.etsystatic.com/37967044/r/il/699a5c/5988382628/il_fullxfull.5988382628_b8gk.jpg",
  "brand": { "@type": "Brand", "name": "CytheriaSHO" },
  "offers": {
    "@type": "Offer",
    "price": "108.88",
    "priceCurrency": "USD",
    "availability": "https://schema.org/InStock",
    "priceSpecification": {
      "@type": "UnitPriceSpecification",
      "priceType": "https://schema.org/ListPrice",
      "price": "136.10",
      "priceCurrency": "USD"
    }
  },
  "price": "108.88",
  "currency": "USD",
  "brand_url": "https://www.etsy.com/shop/CytheriaSHO"
}
```

The record above was produced with this input:

```json
{
  "startUrls": [
    { "url": "https://www.etsy.com/c/baby/baby-clothes" }
  ],
  "maxProducts": 3,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "US"
  }
}
```

### Query and input reference

| Input | Type | Required | Default | Accepted values | Description |
|---|---|---|---|---|---|
| `startUrls` | array (requestListSources) | Yes | — | Etsy category, search-result, or listing URLs | URL-based entry point |
| `maxProducts` | integer | No | `1000` | `0` or any positive integer | Maximum products per URL; `0` = unlimited subject to Etsy's 250-page cap |
| `proxyConfiguration` | object | No | Apify proxy, `RESIDENTIAL` group, US country | Apify proxy groups or custom proxies | Residential proxies are recommended for Etsy |

Minimal request:

```json
{
  "startUrls": [
    { "url": "https://www.etsy.com/c/baby/baby-clothes" }
  ]
}
```

Advanced request with a product cap:

```json
{
  "startUrls": [
    { "url": "https://www.etsy.com/search?q=handmade%20necklace" }
  ],
  "maxProducts": 2000,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "US"
  }
}
```

### Retrieve the data through the API

The Actor runs on the Apify platform, so there is no server to host and no crawling infrastructure to maintain.

1. Start the Actor with a JSON input (console or API).
2. Wait for the run to finish, or use a synchronous endpoint if you want the response inline.
3. Retrieve items from the run's default dataset.
4. Paginate or export the dataset.

Python example:

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR-APIFY-TOKEN")

run_input = {
    "startUrls": [{"url": "https://www.etsy.com/c/baby/baby-clothes"}],
    "maxProducts": 20,
}

run = client.actor("datascrapers/etsy-scraper").call(run_input=run_input)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["name"], item["price"], item["currency"])
```

Apify generates ready-to-run Python, JavaScript, and cURL examples on the Actor's API tab. Do not put a real API token in shared code or URLs.

### Data quality and record handling

- **Structured source**: product fields are read from the structured product data each page publishes; unreadable fields are returned as null rather than fabricated.
- **Source changes**: Etsy page structure and values can change; field availability may vary by listing.
- **Deduplication**: each run appends fresh records; the Actor does not deduplicate products across runs. Use `url` as the stable key and filter repeated runs against previously stored IDs.
- **Rate limits**: Etsy rate-limits automated traffic. Residential proxies are recommended for consistent coverage.

### Export and pipeline examples

| Destination | Recommended method | Typical use |
|---|---|---|
| PostgreSQL / Supabase | Dataset API poll or webhook consumer | Store product catalogs alongside price-history tables |
| Google Sheets | Apify Google Sheets integration | Share product shortlists with teams |
| Data warehouse (BigQuery, Snowflake) | Scheduled export via Apify integration | Product and price trend analysis |
| S3 / cloud storage | Scheduled export via Apify scheduler + integration | Archival of catalog snapshots |

### Pricing and cost examples

The Actor uses pay-per-event pricing with one chargeable result event, billed per listing:

| Event | Trigger | Rate (per 1,000 listings) |
|---|---|---|
| Listing result | Every product record pushed to the dataset | $10.00 |

Example costs:

| Records | Estimated base cost |
|---:|---:|
| 1,000 | $10.00 |
| 10,000 | $100.00 |

Apify paid plans reduce the per-1,000 rate. Compute units consumed by the run are billed by your Apify plan. Estimates depend on the verified pricing model and the options selected for the run.

### Limitations and responsible data use

- The Actor collects publicly accessible data from Etsy pages only.
- Reviews, shop detail pages, and product-detail-page enrichment are not collected.
- Collection is subject to Etsy's 250-page-per-category limit.
- Field availability depends on what Etsy renders at run time; some values can be null or missing, and site changes can alter fields.
- The Actor does not provide historical snapshots unless you store them yourself.
- You are responsible for compliance with Etsy's terms of service, applicable privacy law, and any contractual obligations before using the data.

### Dataset questions

#### What does one dataset item represent?

One Etsy product listing, with its name, URL, image, price, currency, and shop information.

#### Which field should I use as a unique identifier?

`url` (the product listing URL) is the recommended deduplication key.

#### Are fields nullable or conditional?

Yes. Fields that a listing does not publish are returned as null. The `priceSpecification` inside `offers` is present only when the seller provides a list price.

#### Can I retrieve the records as CSV or JSON?

Yes. The dataset can be exported as JSON, CSV, Excel, XML, or HTML from the Apify Console, and queried through the Dataset API.

#### Does the Actor return historical data?

No. Each run captures the state of the listings at run time. To track price changes, schedule repeated runs and store the outputs yourself.

#### What counts as a billable result?

One pay-per-event charge applies for every product record pushed to the dataset ($10.00 per 1,000 listings).

### Related datasets from Data Scrapers

- **[Best Buy Product Scraper](https://apify.com/datascrapers/best-buy-scraper)** — Consumer electronics listings that can be joined with Etsy catalogs for cross-market product research.
- **[Amazon Search Scraper](https://apify.com/datascrapers/amazon-scraper)** — Product listings and pricing for e-commerce competitive analysis.
- **[HomeDepot Scraper](https://apify.com/datascrapers/homedepot-scraper)** — Home-improvement product listings for category-level retail research.

### Data Scrapers support

Need an additional field, record type, or export workflow? Contact Data Scrapers at stardustspotlight@gmail.com. Include a sample source URL, required fields, expected record volume, and preferred delivery format.

# Actor input Schema

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

Etsy category or search URLs to scrape products from. Supports category pages, search results, and listing pages. For example: https://www.etsy.com/c/jewelry/rings or https://www.etsy.com/search?q=handmade%20necklace

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

Maximum number of products to scrape per URL. Set to 0 for unlimited (subject to Etsy's 250 page limit per category).

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

Proxy settings for anti-bot protection. Residential proxies recommended for Etsy.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.etsy.com/c/baby/baby-clothes"
    }
  ],
  "maxProducts": 1000,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

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

JSON array of scraped product listings at {{links.apiDefaultDatasetUrl}}/items

## `runStats` (type: `string`):

Run statistics (records scraped, timestamps) stored in the key-value store

## `run` (type: `string`):

Apify Console link to inspect this run

# 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.etsy.com/c/baby/baby-clothes"
        }
    ],
    "maxProducts": 1000
};

// Run the Actor and wait for it to finish
const run = await client.actor("datascrapers/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 = {
    "startUrls": [{ "url": "https://www.etsy.com/c/baby/baby-clothes" }],
    "maxProducts": 1000,
}

# Run the Actor and wait for it to finish
run = client.actor("datascrapers/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 '{
  "startUrls": [
    {
      "url": "https://www.etsy.com/c/baby/baby-clothes"
    }
  ],
  "maxProducts": 1000
}' |
apify call datascrapers/etsy-scraper --silent --output-dataset

```

## MCP server setup

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