{
  "openapi": "3.0.1",
  "info": {
    "title": "Etsy Scraper — Products, Reviews & Shop Data",
    "description": "Scrape Etsy product listings, prices, ratings, seller info, Star Seller & Bestseller badges, materials, tags, shop catalogs & customer reviews. MCP/API-ready.",
    "version": "1.7",
    "x-build-id": "kTPVdArgKwHActdGo"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/khadinakbar~etsy-all-in-one-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-khadinakbar-etsy-all-in-one-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/khadinakbar~etsy-all-in-one-scraper/runs": {
      "post": {
        "operationId": "runs-sync-khadinakbar-etsy-all-in-one-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/khadinakbar~etsy-all-in-one-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-khadinakbar-etsy-all-in-one-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": "Use this field when the user provides keywords or product names to search (e.g. 'handmade necklace', 'vintage lamp'). Each keyword becomes a separate Etsy search. Do NOT use this when the user provides a specific Etsy URL — use startUrls instead.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Etsy URLs",
            "type": "array",
            "description": "Use this field when the user provides specific Etsy URLs. Supports search result pages (etsy.com/search?q=...), product pages (etsy.com/listing/ID/...), and shop pages (etsy.com/shop/ShopName). Do NOT use this for keyword searches — use searchQueries instead.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxResults": {
            "title": "Max Results",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum number of results to extract total. For search queries, this is split across all queries. Default: 50.",
            "default": 50
          },
          "country": {
            "title": "Etsy Country",
            "enum": [
              "US",
              "GB",
              "CA",
              "AU",
              "IE",
              "DE"
            ],
            "type": "string",
            "description": "Which Etsy country to read: prices, currency and shipping follow this market. US is the default. Choose GB, CA, AU or IE for English pages; DE returns German pages with prices in EUR (badge words such as Star Seller are read in German; labels the Actor cannot read in a language are returned as null, never as false).",
            "default": "US"
          },
          "category": {
            "title": "Category Filter",
            "enum": [
              "",
              "jewelry-and-accessories",
              "clothing-and-shoes",
              "home-and-living",
              "wedding-and-party",
              "toys-and-entertainment",
              "art-and-collectibles",
              "craft-supplies-and-tools",
              "vintage",
              "gifts",
              "electronics-and-accessories",
              "bags-and-purses",
              "bath-and-beauty"
            ],
            "type": "string",
            "description": "Filter search results to a specific Etsy category. Leave empty to search all categories.",
            "default": ""
          },
          "sortOrder": {
            "title": "Sort Order",
            "enum": [
              "most_relevant",
              "lowest_price",
              "highest_price",
              "recently_listed"
            ],
            "type": "string",
            "description": "Order Etsy uses for search results: most relevant, lowest or highest price, or most recently listed. Pair it with a category and price range to focus on one market slice.",
            "default": "most_relevant"
          },
          "minPrice": {
            "title": "Min Price",
            "pattern": "^\\d+(\\.\\d{1,2})?$",
            "type": "string",
            "description": "Only return products priced at or above this value, in the currency of the chosen Etsy country (USD for the US, GBP for the UK, EUR for Germany). Leave empty for no minimum."
          },
          "maxPrice": {
            "title": "Max Price",
            "pattern": "^\\d+(\\.\\d{1,2})?$",
            "type": "string",
            "description": "Only return products priced at or below this value, in the currency of the chosen Etsy country (USD for the US, GBP for the UK, EUR for Germany). Leave empty for no maximum."
          },
          "freeShippingOnly": {
            "title": "Free Shipping Only",
            "type": "boolean",
            "description": "When enabled, only returns products that offer free shipping.",
            "default": false
          },
          "onSaleOnly": {
            "title": "On Sale Only",
            "type": "boolean",
            "description": "When enabled, only returns products currently on sale with a discounted price.",
            "default": false
          },
          "includeProductDetails": {
            "title": "Include Full Product Details",
            "type": "boolean",
            "description": "When enabled, visits each product page to extract full description, materials list, tags, all images, variations (size/color options), shipping origin, and processing time. Slower but much richer data. Recommended for product research and competitor analysis.",
            "default": false
          },
          "includeReviews": {
            "title": "Include Product Reviews",
            "type": "boolean",
            "description": "When enabled, scrapes customer reviews for each product. Requires includeProductDetails to be enabled. Use this for sentiment analysis, customer feedback research, and quality assessment.",
            "default": false
          },
          "maxReviewsPerProduct": {
            "title": "Max Reviews Per Product",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum number of reviews to scrape per product listing. Only applies when includeReviews is enabled.",
            "default": 10
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Only used if the Actor has to fall back to its own browser (rare). Pages are normally loaded through a managed rendering service that does not use this proxy. Leave the default unless you have your own proxy."
          },
          "includeShopSummary": {
            "title": "Add Shop Summary Row",
            "type": "boolean",
            "description": "When a start URL is a shop page (etsy.com/shop/ShopName), also save one summary row about the shop: owner, location, rating, review count, exact sales, admirers, years on Etsy, number of listings and latest activity. It is charged like one normal result row and does not count toward Max Results. Turn off to get only the shop's listings.",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}