{
  "openapi": "3.0.1",
  "info": {
    "title": "Etsy Scraper: Listings, Prices, Sales, Ads, Shops",
    "description": "Scrape Etsy without login: search, category, shop and listing pages with prices, sale prices, ratings, Etsy Ads flags, shop sales, favorites and 24-hour demand. Many pages per search, full listing details and shop profiles. Monitor price drops and new listings on a schedule, or call it as an API.",
    "version": "1.0",
    "x-build-id": "dDDlcF1ouyUu6v7c9"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/panix~etsy-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-panix-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/panix~etsy-scraper/runs": {
      "post": {
        "operationId": "runs-sync-panix-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/panix~etsy-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-panix-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 words",
            "type": "array",
            "description": "What to search for on Etsy, one per line (for example: leather wallet, boho wall art, personalized mug). Each word is a separate search.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Etsy links",
            "type": "array",
            "description": "Paste Etsy links: a search page with your filters already set, a category page (/c/...), a market page (/market/...), a shop page (/shop/...) or a single listing (/listing/...).",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "listingIds": {
            "title": "Listing IDs",
            "type": "array",
            "description": "Etsy listing numbers (the digits after /listing/ in a product link). Each one returns the full listing details.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Listings per search or link",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "How many listings to collect for each search word or link. Etsy shows about 50 per page. Default 48, maximum 5,000.",
            "default": 48
          },
          "includeListingDetails": {
            "title": "Add full listing details",
            "type": "boolean",
            "description": "Open every listing to add the description, all photos, category, stock, favorites, listing date, how many people bought it in the last 24 hours, shipping cost and origin, and recent reviews. Costs the extra 'Listing details' price per listing.",
            "default": false
          },
          "includeShopInfo": {
            "title": "Add shop profile data",
            "type": "boolean",
            "description": "Open each shop once to add its total sales, rating, review count, location, admirers and the year it joined Etsy. Costs the 'Shop profile' price once per shop.",
            "default": false
          },
          "monitorChanges": {
            "title": "Monitor changes (only new or changed)",
            "type": "boolean",
            "description": "Remember every listing between runs and return only what is new or changed since the last run: price drops, price increases, sales that start or end, and new listings. Unchanged listings are skipped and not charged. Schedule the Actor daily to get a price and new-listing alert feed. 'Listings per search or link' becomes how many listings to check each run.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Optional. Runs with the same name share one memory. Leave empty and the same searches and filters automatically share it. Use different names to keep two monitors on the same search apart."
          },
          "monitorMinChangePercent": {
            "title": "Smallest price change to report (%)",
            "minimum": 0,
            "type": "number",
            "description": "Ignore price moves smaller than this percentage (Etsy prices can wobble by a few cents). Default 1.",
            "default": 1
          },
          "monitorIncludeNew": {
            "title": "Also return new listings",
            "type": "boolean",
            "description": "Return listings never seen in earlier runs. Turn off to get price changes only.",
            "default": true
          },
          "monitorSkipFirstRun": {
            "title": "First run only remembers (returns nothing)",
            "type": "boolean",
            "description": "On the very first run, store the current listings as the starting point and return nothing, so you only pay for later changes.",
            "default": false
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "lowestPrice",
              "highestPrice",
              "newest",
              "topReviews"
            ],
            "type": "string",
            "description": "Order of the search results.",
            "default": "relevance"
          },
          "minPrice": {
            "title": "Minimum price",
            "minimum": 0,
            "type": "number",
            "description": "Only listings priced at or above this amount (in the currency Etsy shows for your proxy country)."
          },
          "maxPrice": {
            "title": "Maximum price",
            "minimum": 0,
            "type": "number",
            "description": "Only listings priced at or below this amount."
          },
          "freeShippingOnly": {
            "title": "Free shipping only",
            "type": "boolean",
            "description": "Keep only listings that ship for free.",
            "default": false
          },
          "onSaleOnly": {
            "title": "On sale only",
            "type": "boolean",
            "description": "Keep only listings with a sale price (a crossed-out original price). Listings left out are not charged.",
            "default": false
          },
          "includeAds": {
            "title": "Include Etsy Ads listings",
            "type": "boolean",
            "description": "Etsy mixes paid ad slots into results. Each row says if it is an ad (isAd). Turn off to get organic results only.",
            "default": true
          },
          "shipTo": {
            "title": "Ship to country (code)",
            "type": "string",
            "description": "Two-letter country code (US, GB, DE, ...) to show listings that ship there. Leave empty for Etsy's default."
          },
          "proxyCountry": {
            "title": "Proxy country",
            "enum": [
              "US",
              "GB",
              "CA",
              "AU",
              "DE",
              "FR",
              "NL",
              "IT",
              "ES"
            ],
            "type": "string",
            "description": "Country of the residential proxy Etsy sees. It decides the currency and local results. Default US.",
            "default": "US"
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Leave as is: the Actor uses Apify residential proxies, which Etsy needs. Only change this if you bring your own residential proxy."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}