{
  "openapi": "3.0.1",
  "info": {
    "title": "Shopify Store Scraper · Qualified Leads from Any Domain List",
    "description": "Paste store domains, get one qualified row per Shopify store: exact product count, price band, newest product date, theme, location, currency, public e-mails, phones, socials and lead signals. Non-Shopify, password and duplicate domains are never charged.",
    "version": "0.1",
    "x-build-id": "ALzYNqCt7Onu4qN5A"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/thequietstack~shopify-store-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-thequietstack-shopify-store-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/thequietstack~shopify-store-scraper/runs": {
      "post": {
        "operationId": "runs-sync-thequietstack-shopify-store-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/thequietstack~shopify-store-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-thequietstack-shopify-store-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",
        "required": [
          "domains"
        ],
        "properties": {
          "domains": {
            "title": "Store domains or URLs",
            "type": "array",
            "description": "One per line: allbirds.com, https://www.example.com/collections/x or shop.myshopify.com. Duplicates (www / no-www / myshopify alias of the same store) are detected and charged once.",
            "items": {
              "type": "string"
            }
          },
          "productPagesPerStore": {
            "title": "Product pages to read per store (250 products each)",
            "minimum": 1,
            "maximum": 40,
            "type": "integer",
            "description": "Price band, freshness and the product count come from these products. Shopify lists newest products first, so the newest-product date is always exact. productCount is exact (counted by us) when the whole catalog fits into these pages — otherwise productCountAtLeast is set and productCount stays empty. Shopify's own figure is in productCountShopifyMeta; it depends on the market and can differ.",
            "default": 4
          },
          "checkContactPages": {
            "title": "Check contact page + contact-information policy",
            "type": "boolean",
            "description": "Reads /pages/contact and Shopify's /policies/contact-information in addition to the homepage. Only contact details the store shows publicly are returned — nothing is guessed or enriched.",
            "default": true
          },
          "countries": {
            "title": "Only stores in these countries",
            "type": "array",
            "description": "Two-letter codes from the store's own address (US, GB, CA, AU, DE ...). Empty = all. Filtered stores are not charged.",
            "items": {
              "type": "string"
            }
          },
          "minProductCount": {
            "title": "Min products",
            "minimum": 0,
            "type": "integer",
            "description": "Counted products (lower bound if the catalog was not read to the end)."
          },
          "maxProductCount": {
            "title": "Max products",
            "minimum": 0,
            "type": "integer",
            "description": "Use e.g. 50 to find small stores."
          },
          "newProductWithinDays": {
            "title": "Only active: newest product within N days",
            "minimum": 1,
            "type": "integer",
            "description": "Keeps stores that published a product recently."
          },
          "noNewProductForDays": {
            "title": "Only dormant: no new product for N days",
            "minimum": 1,
            "type": "integer",
            "description": "Keeps stores whose newest product is at least this old — typical re-design / re-activation leads."
          },
          "onlyWithEmail": {
            "title": "Only stores that show an e-mail",
            "type": "boolean",
            "description": "Stores without a public e-mail are dropped and not charged.",
            "default": false
          },
          "onlyWithPhone": {
            "title": "Only stores that show a phone number",
            "type": "boolean",
            "description": "Stores without a public phone number are dropped and not charged.",
            "default": false
          },
          "requiredLeadSignals": {
            "title": "Only stores with at least one of these lead signals",
            "type": "array",
            "description": "Any of: no-new-product-90d, no-new-product-365d, small-catalog-under-20, no-products, mostly-sold-out, no-email-shown, no-phone-shown, no-contact-page-found, no-social-links, outdated-copyright-year, no-custom-domain.",
            "items": {
              "type": "string"
            }
          },
          "includeProducts": {
            "title": "Also output product rows",
            "type": "boolean",
            "description": "Adds one row per product (title, URL, type, vendor, tags, price, compare-at price, availability, image, published date), newest first. Charged per product.",
            "default": false
          },
          "maxProductsPerStore": {
            "title": "Max product rows per store",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Only used with product rows. Limited by the product pages read per store.",
            "default": 100
          },
          "maxStores": {
            "title": "Hard limit: stores in this run",
            "minimum": 1,
            "type": "integer",
            "description": "The run stops cleanly at this number. You are never charged for more.",
            "default": 500
          },
          "maxProducts": {
            "title": "Hard limit: product rows in this run",
            "minimum": 1,
            "type": "integer",
            "description": "Only used with product rows. You are never charged for more.",
            "default": 5000
          },
          "concurrency": {
            "title": "Stores checked in parallel",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Requests to one store are always spaced out; this only sets how many different stores run at once.",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Default: Apify datacenter proxy, fresh IP per store.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}