{
  "openapi": "3.0.1",
  "info": {
    "title": "Shopify Store Leads Finder - Emails, Phones & Tech Stack",
    "description": "Find Shopify stores by product keyword. Get email, phone, Instagram/Facebook/TikTok, address, ratings, product count, prices, last product added and installed apps (Klaviyo, Judge.me, Meta Pixel...) with tech gaps for outreach. Filter by country, email and reviews. Pay only per lead.",
    "version": "0.0",
    "x-build-id": "FadJfk66WFKh8QAPK"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/cancap~shopify-store-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-cancap-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/cancap~shopify-store-leads/runs": {
      "post": {
        "operationId": "runs-sync-cancap-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/cancap~shopify-store-leads/run-sync": {
      "post": {
        "operationId": "run-sync-cancap-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": {
          "keywords": {
            "title": "Product keywords",
            "type": "array",
            "description": "What the stores sell, e.g. \"soy candles\", \"dog collar\", \"yoga mat\". Each keyword is searched on Shop (Shopify's official shopping app) and every store selling matching products becomes a lead.",
            "items": {
              "type": "string"
            }
          },
          "storeUrls": {
            "title": "Or: Shopify store URLs to analyze",
            "type": "array",
            "description": "Already have stores? Paste their websites (one per line) to get contacts, product count, prices and installed apps for each one. Non-Shopify sites are skipped and not charged.",
            "items": {
              "type": "string"
            }
          },
          "maxStores": {
            "title": "Max stores",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "How many store leads to return (after filters). You only pay for stores that are returned.",
            "default": 50
          },
          "countries": {
            "title": "Store country",
            "type": "array",
            "description": "Only return stores based in these countries. Use names or codes, e.g. \"United States\", \"US\", \"UK\", \"Canada\". Leave empty for all countries.",
            "items": {
              "type": "string"
            }
          },
          "requireEmail": {
            "title": "Only stores with an email",
            "type": "boolean",
            "description": "Skip stores that publish no email address (skipped stores are free).",
            "default": false
          },
          "requirePhone": {
            "title": "Only stores with a phone number",
            "type": "boolean",
            "description": "Skip stores that publish no phone number (skipped stores are free).",
            "default": false
          },
          "minRating": {
            "title": "Minimum rating (0-5)",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Only stores whose average product rating on Shop is at least this. 0 = no filter.",
            "default": 0
          },
          "minReviews": {
            "title": "Minimum number of reviews",
            "minimum": 0,
            "type": "integer",
            "description": "A quick way to find established brands (e.g. 50+ reviews). 0 = no filter.",
            "default": 0
          },
          "minProducts": {
            "title": "Minimum products in store",
            "minimum": 0,
            "type": "integer",
            "description": "Needs \"Analyze each store\". Leave empty for no limit."
          },
          "maxProducts": {
            "title": "Maximum products in store",
            "minimum": 0,
            "type": "integer",
            "description": "Needs \"Analyze each store\". Useful to target small stores. Leave empty for no limit."
          },
          "skipPreviouslyScraped": {
            "title": "Only new stores (skip stores from earlier runs)",
            "type": "boolean",
            "description": "Remembers stores returned in your earlier runs and skips them, so scheduled runs deliver only fresh leads.",
            "default": false
          },
          "analyzeStores": {
            "title": "Analyze each store (apps, catalog, extra emails)",
            "type": "boolean",
            "description": "Visits each store's own website to add: installed apps (Klaviyo, Judge.me, Recharge, Gorgias, Meta Pixel...), missing tools (\"tech gaps\"), theme, product count, price range, last product added, currency, and extra emails/socials from the site. Turn off for faster, contact-only results.",
            "default": true
          },
          "maxSearchPagesPerKeyword": {
            "title": "Max search pages per keyword",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Each page has 30 products. More pages = more stores per keyword.",
            "default": 20
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify Proxy is used by default. Switch to RESIDENTIAL only if you see blocking errors.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}