{
  "openapi": "3.0.1",
  "info": {
    "title": "Etsy Scraper - Products, Prices, Shops & Reviews",
    "description": "Scrape Etsy, no login or API key: keyword searches with Etsy filters, search and category links, listing IDs and whole shops. Get title, price, sale price, discount, shop name and rating, ad flag, badges, free shipping, photos, plus shop reviews. Export JSON, CSV, Excel. $1.00 per 1,000 listings.",
    "version": "0.1",
    "x-build-id": "kevJQdUktXEEWVdj9"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/socialscrapers~etsy-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-socialscrapers-etsy-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/socialscrapers~etsy-scraper/runs": {
      "post": {
        "operationId": "runs-sync-socialscrapers-etsy-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/socialscrapers~etsy-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-socialscrapers-etsy-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "searchQueries": {
            "title": "Search keywords",
            "type": "array",
            "description": "What you would type into Etsy's search box, one search per line, e.g. <code>ceramic mug</code>. Each keyword is searched with the sort and filters below.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Etsy URLs",
            "type": "array",
            "description": "Etsy links copied from your browser: a search (<code>https://www.etsy.com/search?q=ceramic+mug</code>), a category (<code>https://www.etsy.com/c/jewelry/necklaces</code>, searched by its name), a listing or a shop. A search link keeps its own filters and sort.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "listingUrls": {
            "title": "Listing URLs or IDs",
            "type": "array",
            "description": "Listings to read directly: listing links (<code>https://www.etsy.com/listing/1702915637/...</code>) or listing IDs such as <code>1702915637</code>. Each gives one item, or a clear status when the listing is gone.",
            "items": {
              "type": "string"
            }
          },
          "shopUrls": {
            "title": "Shop URLs or names",
            "type": "array",
            "description": "Shops to read: shop links (<code>https://www.etsy.com/shop/ShopName</code>) or shop names. Each shop gives one shop item (name, ID, rating, review count), its listings, and its reviews when <b>Include shop reviews</b> is on.",
            "items": {
              "type": "string"
            }
          },
          "maxItemsPerSearch": {
            "title": "Max listings per search",
            "minimum": 0,
            "type": "integer",
            "description": "How many listings to collect from each keyword and each search or category link. <b>0 means all of them</b>: every page, and past Etsy's page limit by price range (see <b>Go past the page limit</b>).",
            "default": 100
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "price_asc",
              "price_desc",
              "newest",
              "top_reviews"
            ],
            "type": "string",
            "description": "The order of keyword search results, as Etsy's own sort menu offers it.",
            "default": "relevance"
          },
          "minPrice": {
            "title": "Min price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings from this price on, in whole US dollars. Applies to keyword searches."
          },
          "maxPrice": {
            "title": "Max price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings up to this price, in whole US dollars. Applies to keyword searches."
          },
          "freeShippingOnly": {
            "title": "Free shipping only",
            "type": "boolean",
            "description": "Only listings that ship free.",
            "default": false
          },
          "onSaleOnly": {
            "title": "On sale only",
            "type": "boolean",
            "description": "Only listings with a sale price.",
            "default": false
          },
          "starSellerOnly": {
            "title": "Star Sellers only",
            "type": "boolean",
            "description": "Only listings from shops with Etsy's Star Seller badge.",
            "default": false
          },
          "personalizableOnly": {
            "title": "Personalizable only",
            "type": "boolean",
            "description": "Only listings that can be personalized.",
            "default": false
          },
          "itemType": {
            "title": "Item type",
            "enum": [
              "all",
              "physical",
              "digital"
            ],
            "type": "string",
            "description": "All items, physical items only, or digital downloads only.",
            "default": "all"
          },
          "shipsTo": {
            "title": "Ships to (country code)",
            "pattern": "^\\s*([A-Za-z]{2})?\\s*$",
            "type": "string",
            "description": "Only listings that ship to this country: a two-letter code such as <code>US</code>, <code>GB</code> or <code>DE</code>."
          },
          "shopLocation": {
            "title": "Shop location",
            "enum": [
              "US",
              "GB",
              "CA",
              "AU",
              "DE",
              "FR",
              "IT",
              "ES",
              "NL",
              "IE",
              "BE",
              "AT",
              "CH",
              "SE",
              "DK",
              "NO",
              "FI",
              "PL",
              "PT",
              "GR",
              "LT",
              "UA",
              "TR",
              "IL",
              "IN",
              "CN",
              "JP",
              "KR",
              "HK",
              "SG",
              "TH",
              "VN",
              "PH",
              "ID",
              "NZ",
              "MX",
              "BR",
              "ZA"
            ],
            "type": "string",
            "description": "Only listings from shops in this country."
          },
          "includeShopNames": {
            "title": "Shop name for every listing",
            "type": "boolean",
            "description": "Etsy's result grid shows the shop's name on only a few cards. With this on, the scraper looks up the name of every other shop too (once per shop), so each listing has <code>shopName</code> and <code>shopUrl</code>. Turn it off for faster runs with the shop ID only.",
            "default": true
          },
          "maxItemsPerShop": {
            "title": "Max listings per shop",
            "minimum": 0,
            "type": "integer",
            "description": "How many listings to collect from each shop, newest first. 0 means all of them.",
            "default": 100
          },
          "includeShopListings": {
            "title": "Include shop listings",
            "type": "boolean",
            "description": "Collect each shop's listings. Turn it off to get only the shop item (and its reviews when asked).",
            "default": true
          },
          "includeShopReviews": {
            "title": "Include shop reviews",
            "type": "boolean",
            "description": "Also collect each shop's reviews: rating, text, date, reviewer, the listing reviewed and the seller's reply. Each review is one item (charged as a review).",
            "default": false
          },
          "maxReviewsPerShop": {
            "title": "Max reviews per shop",
            "minimum": 0,
            "type": "integer",
            "description": "How many reviews to collect from each shop, most relevant first. 0 means all of them.",
            "default": 20
          },
          "splitByPrice": {
            "title": "Go past the page limit",
            "type": "boolean",
            "description": "Etsy stops after about 20 result pages, whatever the result count says. When you want more listings than that, the scraper reads the same search again price range by price range, each with its own pages, and never returns a listing twice.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy (the default) is recommended: the scraper picks the proxy type itself and its traffic is included in the price. Your own proxy URLs are used as given.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}