{
  "openapi": "3.0.1",
  "info": {
    "title": "Etsy Listings Scraper: Etsy Search & Product Scraper",
    "description": "Etsy listings by keyword, search or category URL, shop or listing id: title, price and sale in 22 currencies, shop rating, sales and location, badges, ad slot, organic rank, image, video. Every slot of a page, past Etsy's 1,000 by price. Listing details on request. No login. Misses free.",
    "version": "0.1",
    "x-build-id": "JCjY2hVBRuenczB20"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/hyperbach~etsy-listings-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-hyperbach-etsy-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/hyperbach~etsy-listings-scraper/runs": {
      "post": {
        "operationId": "runs-sync-hyperbach-etsy-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/hyperbach~etsy-listings-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-hyperbach-etsy-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": {
          "queries": {
            "title": "Search words",
            "maxItems": 500,
            "type": "array",
            "description": "Etsy searches, one a line (for example linen apron). An etsy.com search, category or market link pasted here is read as what it is. Each search is read page by page, every slot of each page (the rendered cards and the rest of Etsy's grid), up to 'Max listings per search'.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Etsy links",
            "maxItems": 500,
            "type": "array",
            "description": "Etsy links, one a line: a search (etsy.com/search?q=…, with its filters), a category (etsy.com/c/accessories/aprons), a market page (etsy.com/market/linen_apron), a shop or a listing. A link's own filters are kept; the parameters Etsy's search does not take are named on its row.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "shops": {
            "title": "Shops",
            "maxItems": 500,
            "type": "array",
            "description": "Shops, one a line: a shop link (etsy.com/shop/<name>, any /de/, /uk/ … form), a shop name or a numeric shop id. Each shop's listings are read in 'Shop order', with the search card's fields on every row.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "listings": {
            "title": "Listings",
            "maxItems": 10000,
            "type": "array",
            "description": "Listing links (etsy.com/listing/<id>/<name>, any country form) or bare listing ids, one a line: one row each, 100 read in one call. A listing Etsy no longer serves gets a free not_found row.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxItemsPerSearch": {
            "title": "Max listings per search",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "The most listings delivered from each search, category or shop; 0 = to the end of Etsy's list (about 1,000 for one search; set 'Deep search' to read past it).",
            "default": 100
          },
          "deepSearch": {
            "title": "Deep search (past Etsy's ~1,000 a search)",
            "type": "boolean",
            "description": "Read past the about 1,000 listings Etsy serves for one search: the list is read by price, low to high, in blocks of up to 12,000, each block starting at the last price of the one before. The sort is then price, low to high.",
            "default": false
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "relevance",
              "newest",
              "price_low",
              "price_high",
              "top_reviews",
              "score",
              "created",
              "price-asc",
              "price-desc",
              "carts",
              "lastsale"
            ],
            "type": "string",
            "description": "The order Etsy lists the search in. A sorted list serves no ad slots. The last six names are other Actors' sort names, read as the order named (so their input runs as it is).",
            "default": "relevance"
          },
          "country": {
            "title": "Country (view and currency)",
            "enum": [
              "US",
              "GB",
              "CA",
              "AU",
              "NZ",
              "DE",
              "FR",
              "IT",
              "ES",
              "NL",
              "IE",
              "BE",
              "AT",
              "PT",
              "JP",
              "BR",
              "MX",
              "CH",
              "SE",
              "NO",
              "DK",
              "PL"
            ],
            "type": "string",
            "description": "Etsy's view of the search for shoppers in this country: its list, its prices in the country's currency, the listings that ship there. Every row names the country and the currency.",
            "default": "US"
          },
          "language": {
            "title": "Language",
            "enum": [
              "en",
              "de",
              "fr",
              "es",
              "it",
              "nl",
              "pt",
              "ja",
              "pl"
            ],
            "type": "string",
            "description": "The language of the titles: Etsy's own translation of each title, at no extra cost. With another language than English, a search whose page 1 names none of its words is checked once more in the English view before it is called a free no_match.",
            "default": "en"
          },
          "minPrice": {
            "title": "Min price",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings at this price or more, in the country's currency."
          },
          "maxPrice": {
            "title": "Max price",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings at this price or less, in the country's currency."
          },
          "onSaleOnly": {
            "title": "On sale only",
            "type": "boolean",
            "description": "Only discounted listings (Etsy's own filter).",
            "default": false
          },
          "freeShippingOnly": {
            "title": "Free shipping only",
            "type": "boolean",
            "description": "Only listings that ship free to the country (Etsy's own filter).",
            "default": false
          },
          "starSellerOnly": {
            "title": "Star Sellers only",
            "type": "boolean",
            "description": "Only listings of Star Seller shops (Etsy's own filter).",
            "default": false
          },
          "digitalOnly": {
            "title": "Digital downloads only",
            "type": "boolean",
            "description": "Only instant downloads: patterns, printables, files (Etsy's own filter).",
            "default": false
          },
          "personalizableOnly": {
            "title": "Personalizable only",
            "type": "boolean",
            "description": "Only listings that can be personalized (Etsy's own filter).",
            "default": false
          },
          "customizableOnly": {
            "title": "Customizable only",
            "type": "boolean",
            "description": "Only listings that can be customized (Etsy's own filter).",
            "default": false
          },
          "itemType": {
            "title": "Item type",
            "enum": [
              "all",
              "handmade",
              "vintage",
              "supplies"
            ],
            "type": "string",
            "description": "Etsy's item scope: handmade, vintage or craft supplies.",
            "default": "all"
          },
          "shopLocation": {
            "title": "Shop location",
            "enum": [
              "",
              "US",
              "GB",
              "CA",
              "AU",
              "NZ",
              "DE",
              "FR",
              "IT",
              "ES",
              "NL",
              "IE",
              "BE",
              "AT",
              "PT",
              "JP",
              "BR",
              "MX",
              "CH",
              "SE",
              "NO",
              "DK",
              "PL",
              "TR",
              "IN",
              "UA",
              "LT",
              "CN",
              "VN",
              "GR",
              "TH",
              "ID"
            ],
            "type": "string",
            "description": "Only listings of shops in this country (Etsy's own filter). Empty = shops anywhere.",
            "default": ""
          },
          "includeAds": {
            "title": "Include ad slots",
            "type": "boolean",
            "description": "Keep Etsy's ad slots in a relevance search, each with is_ad true and no organic rank. Off: organic listings only.",
            "default": true
          },
          "titleIncludes": {
            "title": "Title must include",
            "type": "array",
            "description": "Keep only listings whose title has every one of these words (any case). Listings left out are free.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "titleExcludes": {
            "title": "Title must not include",
            "type": "array",
            "description": "Leave out listings whose title has any of these words. Listings left out are free.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minShopRating": {
            "title": "Min shop rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Keep only listings whose shop's star rating is at least this (for example 4.8); empty = any. The card's stars are the shop's; a shop with no rating yet is left out at any value."
          },
          "minShopReviews": {
            "title": "Min shop reviews",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only listings whose shop has at least this many reviews; 0 = any.",
            "default": 0
          },
          "badge": {
            "title": "Badge",
            "enum": [
              "any",
              "bestseller",
              "etsys_pick",
              "popular_now",
              "star_seller"
            ],
            "type": "string",
            "description": "Keep only listings with this badge on Etsy's card.",
            "default": "any"
          },
          "dedupeAcrossQueries": {
            "title": "One row per listing for the whole run",
            "type": "boolean",
            "description": "A listing two searches find is delivered (and charged) once, under the first. Off: once under each search, shop or link that finds it.",
            "default": true
          },
          "shopSort": {
            "title": "Shop order",
            "enum": [
              "newest",
              "price_low",
              "price_high",
              "shop_order",
              "relevance"
            ],
            "type": "string",
            "description": "The order a shop's listings are read in.",
            "default": "newest"
          },
          "shopSearch": {
            "title": "Search inside the shops",
            "type": "string",
            "description": "Only a shop's listings that match these words (Etsy's search inside a shop).",
            "default": ""
          },
          "shopSection": {
            "title": "Shop section id",
            "type": "string",
            "description": "Only one section of the shop: its numeric section id (the number in the shop's section link, section_id=…).",
            "default": ""
          },
          "includeDetails": {
            "title": "Listing details",
            "type": "boolean",
            "description": "Read each delivered listing's own page: the description, variations and their prices, materials, the category, the listing's own rating, review count and newest reviews, the urgency signal Etsy shows (in carts, bought in 24 hours, views, low stock), favorites, the listed date, the sale's end, delivery, shipping cost and returns, FAQs. A second event per listing; a page Etsy does not serve is free and says so.",
            "default": false
          },
          "maxItems": {
            "title": "Max results (whole run)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "The most charged listings of the whole run; 0 = no cap beyond your charge limit. The search, shop and listing rows are free and not counted.",
            "default": 0
          },
          "feedback": {
            "title": "Feedback to the maintainers",
            "maxLength": 2000,
            "type": "string",
            "description": "A note to the people who maintain this Actor: what you needed and did not get. For example a missing field, a wrong or empty result, or the Actor you switch from or to, and why. The run does not read it: the rows and the charges stay the same. A person reads every note."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}