{
  "openapi": "3.0.1",
  "info": {
    "title": "Etsy Scraper: Listings, Prices, Shops & Reviews",
    "description": "Etsy listings from keywords or market, listing and shop links: price, discount, shop sales, star seller, bestseller badges, tags, materials, variations, plus shop rows and reviews. Only-price-changes mode returns just new or re-priced listings. Public pages, no login.",
    "version": "0.1",
    "x-build-id": "WPqJmX8M07CfDuOwQ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/locaihost~etsy-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-locaihost-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/locaihost~etsy-scraper/runs": {
      "post": {
        "operationId": "runs-sync-locaihost-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/locaihost~etsy-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-locaihost-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": {
          "keywords": {
            "title": "Search terms",
            "type": "array",
            "description": "What to search for on Etsy, for example personalized necklace or wedding guest book. Each term becomes one search with its own free summary row.",
            "items": {
              "type": "string"
            }
          },
          "urls": {
            "title": "Etsy links",
            "type": "array",
            "description": "Etsy search, market or category links (listings), listing links (one listing with every detail) and shop links (a free shop row plus the shop's listings). Locale links like etsy.com/uk/... work too.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Listings per search or shop",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "How many listings to return from each search term, search link and shop link. Listing links always give one listing.",
            "default": 40
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "relevance",
              "newest",
              "price_asc",
              "price_desc",
              "top_reviews"
            ],
            "type": "string",
            "description": "Order of the listings. Shops have no review order, so top_reviews keeps the shop's own order there. A link that already carries its own order keeps it.",
            "default": "relevance"
          },
          "shipTo": {
            "title": "Ship to country",
            "enum": [
              "US",
              "GB",
              "CA",
              "AU",
              "DE",
              "FR",
              "NL",
              "IE",
              "IT",
              "ES",
              "SE",
              "NZ",
              "SG",
              "JP",
              "IN"
            ],
            "type": "string",
            "description": "Only listings that ship to this country, with prices as shown there. Leave empty for every listing, with prices as shown in the United States."
          },
          "onlyPriceChanges": {
            "title": "Only new or re-priced listings",
            "type": "boolean",
            "description": "Return a listing only when no earlier run returned it, or its price has changed since (previousPrice and priceChange say by how much). Unchanged listings are skipped and not charged. Good for daily price-watch schedules.",
            "default": false
          },
          "minPrice": {
            "title": "Minimum price",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings at or above this price, in the ship-to country's currency. Search and market pages only."
          },
          "maxPrice": {
            "title": "Maximum price",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings at or below this price, in the ship-to country's currency. Search and market pages only."
          },
          "includeDetails": {
            "title": "Read each listing's own page",
            "type": "boolean",
            "description": "Adds shop location and sales, favourites, tags, materials, category path, all images, variations, description and listed date to every search row. One extra page per listing, so runs take longer.",
            "default": false
          },
          "includeReviews": {
            "title": "Include reviews",
            "type": "boolean",
            "description": "Adds review rows (rating, text, date, item reviewed, reviewer's public display name) for listing and shop links. Shop links page through the shop's reviews; a listing link gives the reviews its page shows.",
            "default": false
          },
          "maxReviews": {
            "title": "Reviews per listing or shop",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Most review rows per listing link or shop link, when reviews are switched on.",
            "default": 20
          },
          "onSaleOnly": {
            "title": "On sale only",
            "type": "boolean",
            "description": "Only listings Etsy shows with a discount. Cards left out are never charged.",
            "default": false
          },
          "freeShippingOnly": {
            "title": "Free shipping only",
            "type": "boolean",
            "description": "Only listings Etsy marks with free shipping (to the ship-to country, when one is set).",
            "default": false
          },
          "excludeDigitalDownloads": {
            "title": "Leave out digital downloads",
            "type": "boolean",
            "description": "Skip printables and other digital downloads.",
            "default": false
          },
          "excludeAds": {
            "title": "Leave out ads",
            "type": "boolean",
            "description": "Skip sponsored cards (isAd). By default they are returned and marked.",
            "default": false
          },
          "includeKeywords": {
            "title": "Title must contain",
            "type": "array",
            "description": "Every word here must be in the listing title (case and accents ignored).",
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Title must not contain",
            "type": "array",
            "description": "Skip listings whose title has any of these words, such as \"silver\" or \"kids\".",
            "items": {
              "type": "string"
            }
          },
          "dedupeAcrossKeywords": {
            "title": "Skip repeats across keywords",
            "type": "boolean",
            "description": "A listing already returned for an earlier keyword or shop is not returned, or charged, again in the same run.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}