{
  "openapi": "3.0.1",
  "info": {
    "title": "Shopify Store Leads - Store Finder, Emails & Apps",
    "description": "Find Shopify stores by niche and country, or check any list of domains. One clean row per store: emails, phones, socials, product count, price range, theme, apps, pixels, currency, country and plan hint. HTTP-only, fast and cheap. WooCommerce optional.",
    "version": "1.0",
    "x-build-id": "YGbwxJKRkqx20rDnJ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/worshipful_knife~shopify-store-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-worshipful_knife-shopify-store-leads",
        "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/worshipful_knife~shopify-store-leads/runs": {
      "post": {
        "operationId": "runs-sync-worshipful_knife-shopify-store-leads",
        "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/worshipful_knife~shopify-store-leads/run-sync": {
      "post": {
        "operationId": "run-sync-worshipful_knife-shopify-store-leads",
        "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": {
          "searchKeywords": {
            "title": "Find stores by niche (keywords)",
            "type": "array",
            "description": "Discover stores selling these products, e.g. \"soy candles\", \"dog collars\", \"streetwear\". Each keyword is searched on Google (through Apify's Google Search proxy) with several Shopify-specific queries; every result is then verified live, so only real stores are returned. Leave empty if you only want to check your own domain list.",
            "items": {
              "type": "string"
            }
          },
          "domains": {
            "title": "Check & enrich these domains",
            "type": "array",
            "description": "Your own list of websites or domains (e.g. allbirds.com, https://www.gymshark.com), up to 20,000 per run. Each one is checked: is it a Shopify store? Shopify stores are returned with full lead data. Non-store sites are skipped and not charged (see \"Include non-store sites\").",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Target countries",
            "type": "array",
            "description": "Search in these markets (local Google + language). With \"Only stores from these countries\" on, stores whose registered country is different are skipped (not charged). Leave empty for worldwide.",
            "items": {
              "type": "string",
              "enum": [
                "US",
                "GB",
                "CA",
                "AU",
                "NZ",
                "IE",
                "FR",
                "DE",
                "ES",
                "IT",
                "NL",
                "BE",
                "CH",
                "AT",
                "SE",
                "NO",
                "DK",
                "FI",
                "PT",
                "PL",
                "BR",
                "MX",
                "IN",
                "SG",
                "AE",
                "ZA",
                "JP",
                "MA"
              ],
              "enumTitles": [
                "United States",
                "United Kingdom",
                "Canada",
                "Australia",
                "New Zealand",
                "Ireland",
                "France",
                "Germany",
                "Spain",
                "Italy",
                "Netherlands",
                "Belgium",
                "Switzerland",
                "Austria",
                "Sweden",
                "Norway",
                "Denmark",
                "Finland",
                "Portugal",
                "Poland",
                "Brazil",
                "Mexico",
                "India",
                "Singapore",
                "United Arab Emirates",
                "South Africa",
                "Japan",
                "Morocco"
              ]
            }
          },
          "onlyMatchingCountry": {
            "title": "Only stores from these countries",
            "type": "boolean",
            "description": "For keyword discovery: keep only stores whose country (from the store's own Shopify settings) is one of the target countries. Stores with an unknown country are kept.",
            "default": true
          },
          "platform": {
            "title": "Platform",
            "enum": [
              "shopify",
              "woocommerce",
              "both"
            ],
            "type": "string",
            "description": "Which ecommerce platform to look for. WooCommerce stores get the same contact data plus product count and prices from the public WooCommerce Store API.",
            "default": "shopify"
          },
          "maxStores": {
            "title": "Max stores",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many store rows. You only pay per store row delivered (plus a small start fee per run). The run also stops at the maximum cost per run you set in Apify.",
            "default": 100
          },
          "onlyWithEmail": {
            "title": "Only stores with an email",
            "type": "boolean",
            "description": "Skip stores where no public email was found (skipped stores are not charged).",
            "default": false
          },
          "skipPasswordProtected": {
            "title": "Skip password-protected stores",
            "type": "boolean",
            "description": "Skip stores that show a password page (not launched yet or paused). Skipped stores are not charged. Turn off to include them (planHint = password-protected).",
            "default": true
          },
          "minProducts": {
            "title": "Min products",
            "minimum": 0,
            "type": "integer",
            "description": "Skip stores with fewer published products (e.g. 10 to skip empty/test stores). 0 = no limit."
          },
          "maxProducts": {
            "title": "Max products",
            "minimum": 0,
            "type": "integer",
            "description": "Skip stores with more published products (e.g. 500 to focus on small and mid-size merchants). 0 = no limit."
          },
          "excludeDomains": {
            "title": "Exclude domains",
            "type": "array",
            "description": "Never return these domains (e.g. stores already in your CRM).",
            "items": {
              "type": "string"
            }
          },
          "includeNonStores": {
            "title": "Include non-store sites",
            "type": "boolean",
            "description": "Also return a row (platform = other/wix/bigcommerce...) for domains that are not the selected platform. Useful to classify a whole domain list. These rows are charged like store rows.",
            "default": false
          },
          "sampleProducts": {
            "title": "Sample products (price range, product types, vendors)",
            "type": "boolean",
            "description": "Read up to 250 products from the public product feed to compute price range, top product types, top vendors and product dates.",
            "default": true
          },
          "maxContactPages": {
            "title": "Contact pages per store",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Besides the homepage, read up to this many contact pages (contact, contact-information policy, about) to find emails and phones. 0 = homepage only (faster, fewer emails).",
            "default": 2
          },
          "addPopularityRank": {
            "title": "Add popularity rank",
            "type": "boolean",
            "description": "Add the store's rank in the free Tranco top-1M list of most visited websites (a traffic hint; empty for smaller stores).",
            "default": true
          },
          "maxSearchPagesPerQuery": {
            "title": "Search pages per query",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "How many Google result pages (10 results each) to read per search query. More pages = more stores per keyword.",
            "default": 10
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Stores checked in parallel.",
            "default": 20
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy for visiting stores. Apify datacenter proxy works well for Shopify stores. Keyword discovery always uses the Apify Google Search proxy.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}