# Etsy listings search (`data_dino/etsy-listings-scraper`) Actor

Collect structured Etsy product listings by keyword with prices, shop details, ratings, and direct listing URLs.

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

## Pricing

from $3.00 / 1,000 results

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

Collect ready-to-use Etsy product listings in one Apify run. Enter your search
keywords, choose ordering and filter options, and receive structured records with
prices, shop details, ratings, and direct listing URLs — ready for export to JSON,
CSV, or Excel.

### Why use this actor?

- **Keyword search** — enter one or more Etsy search terms and get matching listings.
- **Practical filters** — sort by relevance or price, set a price band, and restrict
  to free-shipping or digital-download items.
- **Structured records** — every listing follows the same flat shape, so you can
  analyze, compare, and join data without cleaning.
- **Shop intelligence** — each record includes shop name, rating, sales, tenure, and
  seller location alongside the listing details.
- **Traceable sources** — every item keeps its Etsy listing URL and the keyword/page it
  was found under.
- **Resilient collection** — stealth extraction with automatic retries and a
  configurable delay keeps runs stable.

### Input

All fields except keywords have sensible defaults, so a run with no changes returns
matching results for `linen apron`.

| Field | Type | Default | Description |
|---|---|---:|---|
| `queries` | string array | `["linen apron"]` | Etsy search keywords (1–50). |
| `maxPages` | integer | `3` | Pages of results per keyword (48 organic listings/page). |
| `sort` | enum | `relevance` | `relevance`, `price-asc`, `price-desc`, or `recent`. |
| `country` | string | `US` | Ship-to market code (US, GB, DE, FR, JP, AU, CA, …). |
| `minPrice` / `maxPrice` | number | *(empty)* | Optional price band. |
| `freeShippingOnly` | boolean | `false` | Only free-shipping listings. |
| `digitalOnly` | boolean | `false` | Only digital downloads. |
| `onSaleOnly` | boolean | `false` | Only listings on sale. |
| `includeAds` | boolean | `true` | Include sponsored listings. |
| `dedupeAcrossQueries` | boolean | `true` | Drop duplicates across keywords. |
| `includeDetails` | boolean | `false` | Add per-listing detail fields (description, category, photos, reviews). |
| `maxListings` | integer | `0` | Hard cap per keyword (0 = page limit). |
| `delay` | number | `0.6` | Seconds between requests. |

#### Example input

```json
{
  "queries": ["linen apron"],
  "maxPages": 3,
  "sort": "price-asc",
  "country": "US",
  "includeAds": true
}
```

### Output

The actor pushes one dataset item per listing. Each item includes the listing ID,
title, URL, image, list price and discounted price, currency, on-sale and badge
flags, shop name and rating, seller location, and the keyword/page/position that
found it. With `includeDetails` enabled, the description, category, material,
inventory, photos, and recent reviews are added.

A representative result:

```json
{
  "listingId": 1784624821,
  "title": "Linen Apron — Handmade Cooking Apron",
  "listingUrl": "https://www.etsy.com/listing/1784624821/linen-apron-handmade-cooking-apron",
  "price": 34.5,
  "currencyCode": "USD",
  "shopName": "ExampleShop",
  "shopRating": 4.9,
  "shopSales": 1580,
  "free": "US",
  "sourceQuery": "linen apron",
  "page": 1,
  "position": 2
}
```

### Practical limitations

- Results reflect the live Etsy search grid at run time and may change as listings are
  added or removed.
- Some Etsy fields (in-cart counts, last-sale dates, handmade filters) are not exposed
  to anonymous visitors and are omitted.
- Etsy may challenge automated requests; automatic retries and a delay help, but no
  result is guaranteed.
- Use collected information in accordance with Etsy's terms and applicable privacy and
  data-use requirements.

# Actor input Schema

## `queries` (type: `array`):

One or more Etsy search keywords. Results are returned per keyword.

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

Pages of results fetched per keyword (48 organic listings per page). Etsy runs out around page 21.

## `sort` (type: `string`):

How results are ordered.

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

Two-letter ship-to country code (US, GB, DE, FR, JP, AU, CA, ...).

## `minPrice` (type: `number`):

Optional server-side minimum price band.

## `maxPrice` (type: `number`):

Optional server-side maximum price band.

## `freeShippingOnly` (type: `boolean`):

Return only listings with free shipping.

## `digitalOnly` (type: `boolean`):

Return only instant-download digital listings.

## `onSaleOnly` (type: `boolean`):

Return only listings currently on sale.

## `includeAds` (type: `boolean`):

Include sponsored (ad) listings in the results.

## `dedupeAcrossQueries` (type: `boolean`):

Drop duplicate listings that appear under multiple keywords.

## `includeDetails` (type: `boolean`):

Fetch each listing's detail page for description, category, inventory, photos, and reviews (1 extra request per listing).

## `maxListings` (type: `integer`):

Hard cap on listings per keyword (0 = use the page limit).

## `delay` (type: `number`):

Minimum seconds between requests to the Etsy API.

## Actor input object example

```json
{
  "queries": [
    "linen apron"
  ],
  "maxPages": 3,
  "sort": "relevance",
  "country": "US",
  "freeShippingOnly": false,
  "digitalOnly": false,
  "onSaleOnly": false,
  "includeAds": true,
  "dedupeAcrossQueries": true,
  "includeDetails": false,
  "maxListings": 0,
  "delay": 0.6
}
```

# Actor output Schema

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

All scraped Etsy listings, one item per row. Row shape: listingId, title, listingUrl, image, shopId, shopName, shopUrl, shopRating, shopRatingCount, shopSales, shopTenure, sellerName, sellerLocation, price, discountedPrice, discountPct, currencyCode, onSale, isFreeShipping, isBestseller, isStarSeller, isDigital, runningAds, adSlot, sourceQuery, page, position, scrapedAt. With includeDetails, description, category, material, brand, shopAvatar, photoCount, images, rating, reviewCount, quantity, availability, enrichedPrice, shipsFromCountry, recentReviews are added.

# 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("data_dino/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("data_dino/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 data_dino/etsy-listings-scraper --silent --output-dataset

```

## MCP server setup

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