{
  "openapi": "3.0.1",
  "info": {
    "title": "Shopify Store List & Leads — Emails, Apps, Theme & Popularity",
    "description": "Shopify store list and lead finder: find stores that sell a product keyword, or by niche, country, app, theme or brand. Emails, phones, socials, apps, theme, every product as a row. Skip domains already in your CRM; check which domains run Shopify.",
    "version": "0.1",
    "x-build-id": "7Qg6UBkLFDTRddxeL"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lergassy~shopify-store-intel/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lergassy-shopify-store-intel",
        "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/lergassy~shopify-store-intel/runs": {
      "post": {
        "operationId": "runs-sync-lergassy-shopify-store-intel",
        "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/lergassy~shopify-store-intel/run-sync": {
      "post": {
        "operationId": "run-sync-lergassy-shopify-store-intel",
        "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": {
          "searchTerms": {
            "title": "🔎 Find stores that sell…",
            "type": "array",
            "description": "Keywords for what the stores sell — <code>organic coffee</code>, <code>yoga mat</code>, <code>dog treats</code>. The Actor searches Shopify's own product catalog across all stores, collects the stores behind the matching products and profiles each one. Leave this, the niches and the addresses empty to get a <b>Shopify store list</b> across all niches.",
            "items": {
              "type": "string"
            }
          },
          "niches": {
            "title": "🗂️ Store list by niche",
            "type": "array",
            "description": "Build a <b>Shopify store list</b> without inventing keywords: each niche is searched with several broad product words in Shopify's catalog (Pets = dog toy, cat food, dog collar, pet bed, dog treats). Combine with <b>Store countries</b> for lists like \"pet stores in Germany\". Can be used together with your own keywords.",
            "items": {
              "type": "string",
              "enum": [
                "apparel",
                "shoes",
                "jewelry",
                "beauty",
                "health",
                "fitness",
                "home",
                "kitchen",
                "coffee",
                "food",
                "pets",
                "baby",
                "toys",
                "electronics",
                "outdoor",
                "automotive",
                "accessories",
                "gifts",
                "art",
                "sustainable"
              ],
              "enumTitles": [
                "Apparel & fashion",
                "Shoes",
                "Jewelry & watches",
                "Beauty & skincare",
                "Health & supplements",
                "Fitness & sports",
                "Home & decor",
                "Kitchen & dining",
                "Coffee & tea",
                "Food & drink",
                "Pets",
                "Baby & kids",
                "Toys & games",
                "Electronics & gadgets",
                "Outdoor & travel",
                "Automotive",
                "Bags & accessories",
                "Gifts & cards",
                "Art, crafts & stationery",
                "Eco & sustainable"
              ]
            }
          },
          "storeUrls": {
            "title": "🛍️ Store addresses",
            "type": "array",
            "description": "Shops to profile, one per line. A bare domain is enough — <code>gymshark.com</code>, <code>allbirds.com</code> or a <code>.myshopify.com</code> address all work. Optional when <b>Find stores that sell…</b> is filled.",
            "items": {
              "type": "string"
            }
          },
          "mode": {
            "title": "🎯 What to collect",
            "enum": [
              "store",
              "products",
              "detect"
            ],
            "type": "string",
            "description": "<b>Store profile</b> — one row per shop with contacts, tech and catalogue figures. <b>Products</b> — the store row plus every product as its own row. <b>Detect only</b> — just answer whether the address is a Shopify store, at the lowest price.",
            "default": "store"
          },
          "maxStores": {
            "title": "🏬 Maximum stores",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "How many store rows one run delivers at most — addresses from your list plus stores found by keywords or niches. Stores skipped by the filters, already delivered (Only new leads) or unreadable don't count and are not charged.",
            "default": 100
          },
          "storeCountries": {
            "title": "🌍 Store countries",
            "type": "array",
            "description": "Only stores based in these countries, as two-letter codes: <code>US</code>, <code>GB</code>, <code>DE</code>. Applied to search results and to your own list. Leave empty for any country.",
            "items": {
              "type": "string"
            }
          },
          "shipsTo": {
            "title": "📦 Ships to",
            "type": "string",
            "description": "Only stores that ship to this country (two-letter code, e.g. <code>US</code>). Used in the catalog search and checked again on each store's own shipping list."
          },
          "currencies": {
            "title": "💱 Currencies",
            "type": "array",
            "description": "Only stores whose shop currency is one of these three-letter codes: <code>USD</code>, <code>EUR</code>, <code>GBP</code>. The symbols $, €, £ work too. Leave empty for any currency.",
            "items": {
              "type": "string"
            }
          },
          "requiredApps": {
            "title": "✅ Uses any of these apps",
            "type": "array",
            "description": "Only stores where at least one of these apps is detected on the storefront: <code>Klaviyo</code>, <code>Yotpo</code>, <code>Recharge</code>, <code>Gorgias</code>… Skipped stores are not charged.",
            "items": {
              "type": "string"
            }
          },
          "appsMatch": {
            "title": "🔗 App match",
            "enum": [
              "any",
              "all"
            ],
            "type": "string",
            "description": "With several apps above: <b>any</b> = stores using at least one of them, <b>all</b> = stores using every one of them.",
            "default": "any"
          },
          "excludeApps": {
            "title": "🚫 Doesn't use these apps",
            "type": "array",
            "description": "Skip stores where any of these apps is detected — for example your own app, to find stores that don't use it yet.",
            "items": {
              "type": "string"
            }
          },
          "themes": {
            "title": "🎨 Theme",
            "type": "array",
            "description": "Only stores on these themes, e.g. <code>Dawn</code>, <code>Impulse</code>, <code>Prestige</code>, <code>Symmetry</code>. Matched on the theme name the storefront reports.",
            "items": {
              "type": "string"
            }
          },
          "brands": {
            "title": "🏷️ Sells any of these brands",
            "type": "array",
            "description": "Only stores whose catalogue sample (the products read per store) includes one of these brands (Shopify vendor names). Finds stockists and resellers of a brand — yours or a competitor's.",
            "items": {
              "type": "string"
            }
          },
          "onlyWithEmail": {
            "title": "📧 Only stores with a public e-mail",
            "type": "boolean",
            "description": "Skip stores that publish no e-mail address. Skipped stores are not written and not charged.",
            "default": false
          },
          "minProducts": {
            "title": "🔢 Minimum products",
            "minimum": 0,
            "type": "integer",
            "description": "Skip stores with fewer products in their catalogue."
          },
          "maxProducts": {
            "title": "🔢 Maximum products",
            "minimum": 0,
            "type": "integer",
            "description": "Skip stores with more products in their catalogue."
          },
          "maxRank": {
            "title": "📈 Only popular stores (top N sites)",
            "minimum": 1000,
            "maximum": 1000000,
            "type": "integer",
            "description": "Keep stores ranked within the top N websites worldwide on the free Tranco list (Chrome UX Report, Cloudflare Radar, Umbrella, Majestic and Farsight, 30-day average). <code>100000</code> = among the 100,000 most-visited sites. Stores outside the top 1,000,000 are skipped. Leave empty for any size."
          },
          "excludeKeywords": {
            "title": "🚫 Exclude keywords",
            "type": "array",
            "description": "Skip stores whose name, description or domain has a word starting with any of these, e.g. <code>wholesale</code>, <code>dropship</code>.",
            "items": {
              "type": "string"
            }
          },
          "onlyNewLeads": {
            "title": "🔁 Only new leads",
            "type": "boolean",
            "description": "Remember every store delivered to your Apify account and skip it in later runs — <b>no store is billed twice</b>. The search keeps going until it has as many new stores as <b>Maximum stores</b>. Ideal for a weekly schedule. The list lives in your own account (key-value store <code>shopify-leads-&lt;history name&gt;</code>).",
            "default": false
          },
          "historyName": {
            "title": "🗃️ History name",
            "type": "string",
            "description": "Keep separate lists, e.g. one per client or campaign. A new name starts an empty list; keep the same name to continue one.",
            "default": "default"
          },
          "excludeDomains": {
            "title": "⏭️ Skip these domains",
            "type": "array",
            "description": "Stores you already have — from your CRM or another tool. Domains or URLs. They are never read and never charged.",
            "items": {
              "type": "string"
            }
          },
          "includeContacts": {
            "title": "📧 Find contacts",
            "type": "boolean",
            "description": "Read the home page and, when nothing is there, the contact page, for email addresses, phone numbers and social profiles.",
            "default": true
          },
          "includeProducts": {
            "title": "📦 Add product rows",
            "type": "boolean",
            "description": "Also write one row per product in the store profile mode.",
            "default": false
          },
          "maxProductsPerStore": {
            "title": "💯 Products per store",
            "minimum": 0,
            "maximum": 2500,
            "type": "integer",
            "description": "How many products to read from each shop. The catalogue figures in the store row are calculated from this sample, so leave it high for an accurate price band.",
            "default": 250
          },
          "includePopularity": {
            "title": "📈 Add popularity rank",
            "type": "boolean",
            "description": "Add each store's rank among the top 1M websites (Tranco list) and its bucket (top 1k / 5k / 10k / 50k / 100k / 500k / 1M). Free; adds about 2 seconds to a run.",
            "default": true
          },
          "concurrency": {
            "title": "⚡ Parallel stores",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many shops to read at the same time.",
            "default": 5
          },
          "maxStoresChecked": {
            "title": "🧮 Max stores checked",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "With strict filters (apps, theme, brands, e-mail, popularity): stop after reading this many candidate stores even if fewer matched. Empty = 8× Maximum stores. Checked stores that don't match are free."
          },
          "proxyConfiguration": {
            "title": "🌐 Proxy",
            "type": "object",
            "description": "Shops behind Cloudflare or Vercel bot protection answer a datacentre address with a challenge instead of the page, so requests go through Apify Proxy by default. If a shop still refuses, switch this to the residential group.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}