{
  "openapi": "3.0.1",
  "info": {
    "title": "Shopify Store & Plus Leads, Emails & Klaviyo Scraper [$2.5/1K]",
    "description": "[$2.50/1K] Discover 1,000+ live Shopify & Shopify Plus stores by niche keyword or enrich up to 50,000 domains over HTTP/2 with verified emails, phones, legal entity, Klaviyo & 45+ apps/ad pixels, and SKU pricing.",
    "version": "1.3",
    "x-build-id": "hISgHB33KTwQv3wMh"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/appropriate_ideal_ksi~shopify-store-leads-email-pro/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-appropriate_ideal_ksi-shopify-store-leads-email-pro",
        "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/appropriate_ideal_ksi~shopify-store-leads-email-pro/runs": {
      "post": {
        "operationId": "runs-sync-appropriate_ideal_ksi-shopify-store-leads-email-pro",
        "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/appropriate_ideal_ksi~shopify-store-leads-email-pro/run-sync": {
      "post": {
        "operationId": "run-sync-appropriate_ideal_ksi-shopify-store-leads-email-pro",
        "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": "Niche / Product Keywords (Discovery Mode)",
            "type": "array",
            "description": "Discover live Shopify stores matching niche keywords such as 'skincare', 'coffee', 'jewelry', 'pet', 'supplement', 'fitness', 'candle', or 'swimwear'.",
            "default": [
              "coffee"
            ],
            "items": {
              "type": "string"
            }
          },
          "domains": {
            "title": "Direct Shopify Store Domains or URLs (Bulk Enrichment Mode)",
            "type": "array",
            "description": "Optional list of custom store domains or *.myshopify.com URLs (e.g. 'rhodeskin.com', 'volcanicacoffee.com', 'beardbrand.com') to enrich directly.",
            "items": {
              "type": "string"
            }
          },
          "bulkDomainsText": {
            "title": "Bulk Store Domains / CSV Paste (Up to 50,000)",
            "type": "string",
            "description": "Paste newline- or comma-separated Shopify domains/URLs directly from Clay, Apollo, CSV, or Google Sheets."
          },
          "countries": {
            "title": "Filter by Merchant Country (ISO-2)",
            "type": "array",
            "description": "Keep only Shopify stores registered in specific ISO-2 countries (e.g. ['US', 'GB', 'CA', 'AU']). Leave empty for all countries.",
            "items": {
              "type": "string"
            }
          },
          "onlyWithEmail": {
            "title": "Only Stores With Verified Email",
            "type": "boolean",
            "description": "Only output and charge for Shopify stores where at least one verified merchant email is extracted.",
            "default": false
          },
          "onlyWithPhone": {
            "title": "Only Stores With Phone Number",
            "type": "boolean",
            "description": "Only output and charge for Shopify stores with an extracted merchant phone number.",
            "default": false
          },
          "onlyShopifyPlus": {
            "title": "Only Shopify Plus Enterprise Stores",
            "type": "boolean",
            "description": "Keep only high-GMV Shopify Plus merchants.",
            "default": false
          },
          "mustHaveAppsOrPixels": {
            "title": "Must Have Installed Apps / Ad Pixels",
            "type": "array",
            "description": "Require at least one matching app or pixel (e.g. ['Meta Pixel', 'TikTok Pixel', 'Klaviyo', 'ReCharge', 'Gorgias']).",
            "items": {
              "type": "string"
            }
          },
          "excludeAppsOrPixels": {
            "title": "Exclude Stores Already Using Apps / Pixels (Agency Gap Filter)",
            "type": "array",
            "description": "Exclude stores that already have specific tools installed (e.g. ['Klaviyo', 'Attentive'] to find stores missing email/SMS automation).",
            "items": {
              "type": "string"
            }
          },
          "minProducts": {
            "title": "Minimum Published Products",
            "minimum": 0,
            "type": "integer",
            "description": "Skip empty/parked stores below this published product count.",
            "default": 3
          },
          "minAvgPrice": {
            "title": "Minimum Average Product Price",
            "minimum": 0,
            "type": "integer",
            "description": "Optional minimum average catalog price (e.g. 30 for high-AOV DTC brands)."
          },
          "maxAvgPrice": {
            "title": "Maximum Average Product Price",
            "minimum": 1,
            "type": "integer",
            "description": "Optional maximum average catalog price."
          },
          "maxLeadsPerQuery": {
            "title": "Max Qualified Stores Per Keyword",
            "minimum": 1,
            "maximum": 2500,
            "type": "integer",
            "description": "Maximum qualified Shopify stores to collect per search keyword (up to 2,500).",
            "default": 5
          },
          "maxTotalLeads": {
            "title": "Max Total Stores Across Run",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Optional overall cap across all keywords and domains."
          },
          "maxDiscoveryShards": {
            "title": "Discovery Sitemap Shards to Scan (1–32)",
            "minimum": 1,
            "maximum": 32,
            "type": "integer",
            "description": "Number of official 50,000-storefront Shopify CDN shards to scan when discovering stores by keyword (increase for 500–2,500+ leads per niche).",
            "default": 1
          },
          "includeProductSamples": {
            "title": "Include Sample Catalog Products & Pricing",
            "type": "boolean",
            "description": "Fetch /products.json to compute min/max/avg/median prices, in-stock count, latest launch recency, and top product samples.",
            "default": true
          },
          "onlyNewStores": {
            "title": "Only New Stores (Stateful Deduplication)",
            "type": "boolean",
            "description": "Skip stores already emitted in previous runs using a named Apify Key-Value Store.",
            "default": false
          },
          "monitorStoreName": {
            "title": "Deduplication Store Name",
            "type": "string",
            "description": "Named Key-Value Store used when 'Only New Stores' is enabled.",
            "default": "shopify-stores-seen-ids"
          },
          "concurrency": {
            "title": "HTTP/2 Worker Concurrency",
            "minimum": 1,
            "maximum": 16,
            "type": "integer",
            "description": "Parallel HTTP/2 store enrichment workers (auto-tuned for 256 MB RAM).",
            "default": 4
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration (Optional)",
            "type": "object",
            "description": "Optional proxy settings. Not required for normal runs (works cleanly on zero-proxy HTTP/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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}