{
  "openapi": "3.0.1",
  "info": {
    "title": "Etsy Scraper - Listings, Search, Shops & Reviews",
    "description": "Scrape public Etsy data without an Etsy account or API key: keyword search results, full listing details (price, description, full image gallery, variations, seller), shop pages and reviews. Built-in anti-blocking with automatic fallbacks. Pay per result plus platform usage.",
    "version": "1.0",
    "x-build-id": "n3N2KMh9gdjgSN5Cm"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/selleraim.com~etsy-fullstack-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-selleraim.com-etsy-fullstack-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/selleraim.com~etsy-fullstack-scraper/runs": {
      "post": {
        "operationId": "runs-sync-selleraim.com-etsy-fullstack-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/selleraim.com~etsy-fullstack-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-selleraim.com-etsy-fullstack-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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "full",
              "search",
              "listings",
              "shops",
              "reviews"
            ],
            "type": "string",
            "description": "Full follows all seeds to listings, seller shops and reviews. Search only uses search seeds and outputs products, including details by default; it does not crawl sellers or reviews. Listings, shops and reviews only use matching seed fields, ignoring other retained inputs.",
            "default": "full"
          },
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "Keywords for full/search modes. Ignored in listings/shops/reviews modes. At least one seed matching the selected mode is required.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Public Etsy URLs",
            "type": "array",
            "description": "Listing, shop, /shop/NAME/reviews?page=N, search, category or market URLs. Tracking parameters are removed.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "listingIds": {
            "title": "Listing IDs",
            "type": "array",
            "description": "Numeric Etsy listing IDs.",
            "items": {
              "type": "string"
            }
          },
          "shopNames": {
            "title": "Shop names",
            "type": "array",
            "description": "Public shop names, as used in /shop/ URLs.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Maximum listings (and shops)",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Global listing cap across all seeds. Discovery stops once this many listing targets are selected (or cards emitted). Failed targets may yield fewer records. Shop records are capped separately. For a short trial use 20.",
            "default": 100
          },
          "maxPages": {
            "title": "Discovery pages per seed",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum search or shop listing pages followed for each seed.",
            "default": 5
          },
          "includeDetails": {
            "title": "Listing details",
            "type": "boolean",
            "description": "In search mode, disable to output only search cards. Full and other modes always extract details.",
            "default": true
          },
          "includeShops": {
            "title": "Seller shops",
            "type": "boolean",
            "description": "Outside search mode, follow a listing's seller to its public shop. Search always outputs products only. Discovered seller shops do not recursively enumerate listings.",
            "default": true
          },
          "crawlShopListings": {
            "title": "Seed shop listings",
            "type": "boolean",
            "description": "Enumerate listings when a shop is provided as a seed.",
            "default": true
          },
          "includeReviews": {
            "title": "Reviews",
            "type": "boolean",
            "description": "Outside search mode, extract public reviews from listings and shops. Search always outputs products only. Public shop review pages work with Unblocker; AJAX pagination uses browsers.",
            "default": true
          },
          "maxReviews": {
            "title": "Reviews per target",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum reviews per listing or shop. Set 0 to disable.",
            "default": 20
          },
          "maxReviewPages": {
            "title": "Review pages per target",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Bound public-link and browser review pagination; incomplete coverage is reported in SUMMARY.",
            "default": 5
          },
          "sortBy": {
            "title": "Sort",
            "enum": [
              "relevance",
              "most_recent",
              "price_asc",
              "price_desc"
            ],
            "type": "string",
            "description": "Sort order for keyword searches.",
            "default": "relevance"
          },
          "minPrice": {
            "title": "Minimum price",
            "minimum": 0,
            "type": "number",
            "description": "Optional Etsy search price filter."
          },
          "maxPrice": {
            "title": "Maximum price",
            "minimum": 0,
            "type": "number",
            "description": "Optional Etsy search price filter."
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "ISO country for shipping search filters, residential proxies and rendered provider.",
            "default": "US"
          },
          "locale": {
            "title": "Locale",
            "type": "string",
            "description": "Browser language and HTTP Accept-Language.",
            "default": "en-US"
          },
          "currency": {
            "title": "Expected currency",
            "type": "string",
            "description": "Preference metadata only; extracted price currency always comes from Etsy and is never rewritten.",
            "default": "USD"
          },
          "transport": {
            "title": "Transport",
            "enum": [
              "auto",
              "unblocker",
              "http",
              "browser",
              "scrapingbee"
            ],
            "type": "string",
            "description": "Auto tries Unblocker, browser-like TLS, a fingerprinted browser, then optional rendered provider.",
            "default": "auto"
          },
          "proxyMode": {
            "title": "Proxy strategy",
            "enum": [
              "auto",
              "unblocker",
              "residential",
              "custom",
              "direct"
            ],
            "type": "string",
            "description": "Auto initializes Unblocker plus configured residential/custom proxies. Direct is an explicit local diagnostic option.",
            "default": "auto"
          },
          "proxyConfiguration": {
            "title": "Residential or custom proxies",
            "type": "object",
            "description": "Apify residential sessions or your own proxy URLs. Unblocker is initialized separately and never receives a session ID.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "US"
            }
          },
          "scrapingBeeApiKey": {
            "title": "Optional rendered-provider key",
            "type": "string",
            "description": "Optional ScrapingBee fallback. Can also be supplied via SCRAPINGBEE_API_KEY. This is not an Etsy credential."
          },
          "maxConcurrency": {
            "title": "Concurrency",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Maximum concurrent requests/browser tabs.",
            "default": 2
          },
          "maxRequests": {
            "title": "Total request budget",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Total queued tasks. Retries and transport attempts are separately bounded.",
            "default": 500
          },
          "maxRequestRetries": {
            "title": "Retries",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Retries after retiring blocked sessions.",
            "default": 3
          },
          "maxRequestsPerMinute": {
            "title": "Requests per minute",
            "minimum": 1,
            "maximum": 600,
            "type": "integer",
            "description": "Crawlee task rate limit.",
            "default": 30
          },
          "requestTimeoutSecs": {
            "title": "Transport timeout",
            "minimum": 10,
            "maximum": 180,
            "type": "integer",
            "description": "Per transport network timeout. Protected shop pages can require more than 30 seconds.",
            "default": 120
          },
          "maxListingWaitSecs": {
            "title": "Listing completion deadline",
            "minimum": 1,
            "maximum": 3600,
            "type": "integer",
            "description": "Total seconds from a listing's first acquisition attempt, including task retries. An expired deadline cancels network requests and prevents further retries. Discovery and queue waiting before the first listing attempt are measured separately.",
            "default": 900
          },
          "saveDiagnostics": {
            "title": "Save failures",
            "type": "boolean",
            "description": "Save sanitized FAILURE records and SUMMARY in the default key-value store.",
            "default": true
          },
          "saveHtml": {
            "title": "Save public HTML snapshots",
            "type": "boolean",
            "description": "Optional debug snapshots of successfully downloaded public pages. Increases storage usage.",
            "default": false
          },
          "failOnEmpty": {
            "title": "Fail on empty output",
            "type": "boolean",
            "description": "Mark a run failed if no real Etsy records were extracted.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}