How to scrape Etsy listings, prices and shops to CSV or JSON

· All my Apify Actors

How to scrape Etsy listings, prices and shops to CSV or JSON

If you sell on Etsy, or are thinking about it, the questions are always the same. What sells in this niche, at what price, from which shops, and with how many reviews? Etsy's search page answers that one listing at a time. Copying it into a spreadsheet by hand stops being fun after the first page.

Etsy has no public export for search results, so I built a scraper that turns a search into rows. Here's what I learned about what Etsy actually serves, and how to get the data out.

What to watch for

Getting the data

I packaged this as an Apify Actor, Etsy Scraper. A search row looks like this (trimmed):

{
  "listingId": "4575689601",
  "title": "Custom Handmade Face Mug From Photo, Underglaze Painting, Couple Mug, Gift for Her",
  "price": 46.51,
  "currency": "USD",
  "originalPrice": 75.02,
  "discountPct": 38,
  "shopName": "CeraLumi",
  "rating": 5,
  "reviewCount": 96,
  "isBestseller": false,
  "isStarSeller": false,
  "isAd": false,
  "freeShipping": true,
  "badge": "Popular now",
  "position": 2,
  "searchQuery": "ceramic mug"
}

rating and reviewCount here are the shop's. Turn on Include listing details and each row also gets the description, category, materials, favorites, the shop's sales count, the listing's own rating and review count, ships-from, delivery estimate, stock, variations and all images. A leather wallet in my test came back with 35,800 shop sales, 425 listing reviews and 112 in stock.

One call from the command line:

curl -X POST "https://api.apify.com/v2/acts/rjmacarthy~etsy-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "keywords": ["handmade ceramic mug"],
    "sortBy": "relevance",
    "maxPrice": 40,
    "maxItems": 48,
    "includeDetails": false
  }'

sortBy also takes most_recent, price_asc, price_desc and top_reviews. minPrice and maxPrice are in US dollars and apply to keyword searches.

Watching a niche for new listings and price changes

Set monitorMode to new for only new listings, or changes for new listings plus price drops and increases with the previous price.

  1. Run once with a stateKey, for example dog-collars. The first run outputs everything and sets the baseline.
  2. Schedule it in Apify, daily or hourly.
  3. Later runs check the same window (the pages maxItems needs) and output only what is new or changed, with changeType and previousPrice.
  4. Use a different stateKey for each search you watch.

Ads are skipped in monitor modes, because ad slots rotate on every visit.

Pricing

It is pay per event, with no run fee beyond Apify's $0.00005 start event:

On the free Apify plan a run is limited to 5 page requests, which is about 60 listings, or 1 search page plus 4 listing details. Any paid plan removes the limit. You can also set a maximum cost per run and the Actor stops cleanly when it is reached.

It reads public pages only, with no login. Seller first names and reviewer names are never output.