{
  "openapi": "3.0.1",
  "info": {
    "title": "🔥 Etsy Listings Scraper – Live Carts & Ads",
    "description": "Scrape Etsy listings by keyword with data no other scraper exposes — live cart counts, \"X people bought in 24h\" signals, Etsy Ads slot positions, bestseller and star-seller badges, seller velocity. Up to 1,080 per keyword, any country. No proxy or captcha needed.",
    "version": "0.1",
    "x-build-id": "Uog5llXy3vqtbQIOs"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/yumitori~etsy-listings-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-yumitori-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/yumitori~etsy-listings-scraper/runs": {
      "post": {
        "operationId": "runs-sync-yumitori-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/yumitori~etsy-listings-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-yumitori-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 keywords",
            "minItems": 1,
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "One or more Etsy search keywords. Add a single term for a focused run, or paste many for bulk research — each keyword runs independently and its rows are tagged with `sourceQuery`.",
            "items": {
              "type": "string"
            }
          },
          "maxPages": {
            "title": "Pages to fetch",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "How many search-result pages to scrape. Etsy returns ~36 listings per page, so this is the simplest knob: 1 = 36, 10 = 360, 30 = 1080. If both `maxPages` and `maxResults` are set, the smaller wins.",
            "default": 3
          },
          "maxResults": {
            "title": "Max results (cap)",
            "minimum": 1,
            "maximum": 1080,
            "type": "integer",
            "description": "Optional hard cap on listings returned. Useful when you want exactly N rows (e.g. \"first 50\"). If unset, you get every listing across the chosen `maxPages`."
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "score",
              "carts",
              "lastsale",
              "created",
              "price-asc",
              "price-desc"
            ],
            "type": "string",
            "description": "How to rank results. \"score\" = Etsy's relevance algorithm. \"carts\" = re-ranked client-side by in-cart count (best for hot products).",
            "default": "score"
          },
          "country": {
            "title": "Ship-to country",
            "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": "Two-letter ISO code. Localizes results to listings shipping to that country. Default US.",
            "default": "US"
          },
          "minPrice": {
            "title": "Minimum price",
            "minimum": 0,
            "type": "integer",
            "description": "Filter listings cheaper than this (in the country's local currency)."
          },
          "maxPrice": {
            "title": "Maximum price",
            "minimum": 0,
            "type": "integer",
            "description": "Filter listings more expensive than this."
          },
          "onSaleOnly": {
            "title": "On-sale listings only",
            "type": "boolean",
            "description": "Only return listings that are currently discounted.",
            "default": false
          },
          "freeShippingOnly": {
            "title": "Free-shipping listings only",
            "type": "boolean",
            "description": "Only return listings that ship free to the chosen country.",
            "default": false
          },
          "digitalOnly": {
            "title": "Digital downloads only",
            "type": "boolean",
            "description": "Restrict to digital downloads (PDFs, SVGs, etc.).",
            "default": false
          },
          "handmadeOnly": {
            "title": "Handmade only",
            "type": "boolean",
            "description": "Restrict to listings flagged handmade by Etsy.",
            "default": false
          },
          "includeAds": {
            "title": "Include sponsored (ad) listings",
            "type": "boolean",
            "description": "If true, ad placements appear in results with `runningAds: true`. If false, ads are stripped.",
            "default": true
          },
          "dedupeAcrossQueries": {
            "title": "Dedupe across queries",
            "type": "boolean",
            "description": "When running multiple keywords, drop a listing on subsequent queries if its `listingId` was already seen on an earlier one. The first row keeps its `sourceQuery`.",
            "default": true
          },
          "concurrentQueries": {
            "title": "Concurrent queries",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "How many keywords to scrape in parallel. 1 = strictly sequential. Higher = faster but risks Etsy rate-limiting on shared bursts.",
            "default": 2
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}