{
  "openapi": "3.0.1",
  "info": {
    "title": "Etsy Product Listings Scraper",
    "description": "Etsy Product Listings Scraper SD - Etsy Product Listings Scraper is a fast Etsy search tool that extracts listings by keyword or category: title, price, sale price, discount, shop, shop rating, free shipping, ads, bestseller badges and images. No login, no cookies.",
    "version": "1.0",
    "x-build-id": "zwbJJU4HcFCr876ra"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/neuro-scraper~etsy-product-listings-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-neuro-scraper-etsy-product-listings-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/neuro-scraper~etsy-product-listings-scraper/runs": {
      "post": {
        "operationId": "runs-sync-neuro-scraper-etsy-product-listings-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/neuro-scraper~etsy-product-listings-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-neuro-scraper-etsy-product-listings-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": {
          "searchTerms": {
            "title": "Search terms",
            "type": "array",
            "description": "Keywords to search on Etsy, one per line (e.g. handmade mug, leather wallet). Each search returns up to Max listings per search.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Etsy URLs",
            "type": "array",
            "description": "Etsy search or category URLs, e.g. https://www.etsy.com/market/leather_wallet, https://www.etsy.com/search?q=ceramic+vase&order=price_asc or https://www.etsy.com/c/home-and-living. The filters inside a URL are kept. Single listing and shop pages are not supported.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxItems": {
            "title": "Max listings per search",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "How many listings to collect for EACH search term or URL (2 terms x 40 = up to 80). The Actor follows Etsy's pages (about 40 organic listings + ads per page) until this number or the last page (Etsy stops at about 1,000 listings per search).",
            "default": 40
          },
          "sort": {
            "title": "Sort by",
            "enum": [
              "most_relevant",
              "date_desc",
              "price_asc",
              "price_desc",
              "highest_reviews"
            ],
            "type": "string",
            "description": "Order of the results (search terms only; a URL keeps its own order).",
            "default": "most_relevant"
          },
          "minPrice": {
            "title": "Minimum price",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings at or above this price, in the currency of the selected country (USD for United States). Leave empty for no minimum."
          },
          "maxPrice": {
            "title": "Maximum price",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings at or below this price, in the currency of the selected country. Leave empty for no maximum."
          },
          "freeShipping": {
            "title": "Free shipping only",
            "type": "boolean",
            "description": "Only listings that ship for free.",
            "default": false
          },
          "onSale": {
            "title": "On sale only",
            "type": "boolean",
            "description": "Only discounted listings (a sale price with the original price struck through).",
            "default": false
          },
          "starSellerOnly": {
            "title": "Star Sellers only",
            "type": "boolean",
            "description": "Only listings from shops with Etsy's Star Seller status.",
            "default": false
          },
          "personalizableOnly": {
            "title": "Personalizable only",
            "type": "boolean",
            "description": "Only listings that can be personalized (names, engraving, custom text).",
            "default": false
          },
          "itemFormat": {
            "title": "Item format",
            "enum": [
              "all",
              "physical",
              "digital"
            ],
            "type": "string",
            "description": "All items, physical items only (excludes digital downloads), or digital downloads only.",
            "default": "all"
          },
          "itemType": {
            "title": "Item type (handmade / vintage)",
            "enum": [
              "all",
              "handmade",
              "vintage"
            ],
            "type": "string",
            "description": "All items, handmade items only, or vintage items only (Etsy's own item-type filter).",
            "default": "all"
          },
          "shopLocation": {
            "title": "Shop location (country)",
            "type": "string",
            "description": "Only listings from shops in this country. Two-letter country code (US, GB, DE, FR, CA, AU, IT, ES, NL...) or the English country name. Empty = any country."
          },
          "includeKeywords": {
            "title": "Title must contain",
            "type": "array",
            "description": "Keep only listings whose title contains at least one of these words (checked on the results, case-insensitive). Skipped listings do not count towards the limit.",
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Title must not contain",
            "type": "array",
            "description": "Drop listings whose title contains any of these words (checked on the results, case-insensitive), e.g. sticker, svg.",
            "items": {
              "type": "string"
            }
          },
          "includeAds": {
            "title": "Include ads",
            "type": "boolean",
            "description": "Etsy mixes sponsored listings (ads) into every results page. On: keep them (flagged isAd = true). Off: organic listings only.",
            "default": true
          },
          "dedupeAcrossSearches": {
            "title": "Skip listings already found by an earlier search",
            "type": "boolean",
            "description": "With several search terms, a listing found by an earlier term is not output again.",
            "default": true
          },
          "includeDetails": {
            "title": "Include listing details (description, all photos, favorites, listing date)",
            "type": "boolean",
            "description": "Adds the listing-page details to every row: description, all photos, category path, favorites count, listing date and age, ships-from place, Star Seller and Bestseller badges, the listing's own rating and review count, maker, plus the shop name / stock status when the results card lacks them. The values are as of the date in detailsAsOf. Slower (a few seconds per listing, run in parallel).",
            "default": false
          },
          "minFavorers": {
            "title": "Min favorites",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only listings with at least this many favorites (needs listing details - switched on automatically). Listings whose favorites count is unknown are skipped."
          },
          "createdAfter": {
            "title": "Listed on or after (YYYY-MM-DD)",
            "type": "string",
            "description": "Keep only listings whose listing date (Etsy's 'Listed on') is on or after this day. Needs listing details (switched on automatically)."
          },
          "createdBefore": {
            "title": "Listed on or before (YYYY-MM-DD)",
            "type": "string",
            "description": "Keep only listings whose listing date is on or before this day. Needs listing details (switched on automatically)."
          },
          "includeImages": {
            "title": "Include photos",
            "type": "boolean",
            "description": "On: rows carry the photo URLs (image, imageUrl, images). Off: photo columns are left empty for a smaller dataset.",
            "default": true
          },
          "raw": {
            "title": "Raw output",
            "type": "boolean",
            "description": "Adds a `raw` column with the unprocessed listing record (results card values and the listing's structured data) next to the clean columns.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Max parallel detail requests",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many listings are enriched with details at the same time (only used with includeDetails).",
            "default": 8
          },
          "country": {
            "title": "Country (prices and currency)",
            "enum": [
              "US",
              "GB",
              "CA",
              "AU",
              "DE",
              "FR"
            ],
            "type": "string",
            "description": "Etsy shows prices in the currency of the visitor's country. The Actor browses from this country. Ignored when you pick a country in the proxy settings below.",
            "default": "US"
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Residential proxies are required for Etsy (other IPs are blocked). The Actor switches to a new IP when a request is blocked.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}