{
  "openapi": "3.0.1",
  "info": {
    "title": "Shopify Store Leads — Emails, Socials, Apps & Tech Stack",
    "description": "Find Shopify stores by niche, country, size and installed apps (Klaviyo, ReCharge, Judge.me, Yotpo…) — with contact emails, Instagram/TikTok/Facebook, theme and catalog stats. Pre-built, refreshed weekly, results in seconds.",
    "version": "0.1",
    "x-build-id": "taGxbfe3MZfzxNHoT"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/wleeaf~shopify-store-leads-index/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-wleeaf-shopify-store-leads-index",
        "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/wleeaf~shopify-store-leads-index/runs": {
      "post": {
        "operationId": "runs-sync-wleeaf-shopify-store-leads-index",
        "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/wleeaf~shopify-store-leads-index/run-sync": {
      "post": {
        "operationId": "run-sync-wleeaf-shopify-store-leads-index",
        "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": "Niche keywords",
            "type": "array",
            "description": "Stores whose name, domain, product categories or brands contain any of these words, e.g. skincare, coffee, pet, jewelry. Leave empty for all niches.",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Countries (ISO-2 codes)",
            "type": "array",
            "description": "Store's registered country, e.g. US, GB, AU, CA. Leave empty for all.",
            "items": {
              "type": "string"
            }
          },
          "currencies": {
            "title": "Store currencies",
            "type": "array",
            "description": "e.g. USD, EUR, GBP.",
            "items": {
              "type": "string"
            }
          },
          "usesApps": {
            "title": "Uses any of these apps",
            "type": "array",
            "description": "Only stores where at least one of these apps/integrations is detected (case-insensitive). Detected apps include: Klaviyo, Omnisend, Mailchimp, Attentive, Postscript, Judge.me, Yotpo, Loox, Okendo, Stamped, ReCharge, Skio, Smile.io, LoyaltyLion, Rebuy, Gorgias, Zendesk, Tidio, Afterpay, Klarna, Affirm, Sezzle, Shop Pay Installments, Route, AfterShip, PageFly, GemPages, Shogun, Weglot, Triple Whale, Elevar, Meta Pixel, TikTok Pixel, Google Analytics, Hotjar, Global-e.",
            "items": {
              "type": "string"
            }
          },
          "notUsingApps": {
            "title": "Does NOT use these apps",
            "type": "array",
            "description": "Exclude stores where any of these is detected — e.g. find stores without Klaviyo or without a reviews app to pitch yours.",
            "items": {
              "type": "string"
            }
          },
          "hasEmail": {
            "title": "Only stores with a contact email",
            "type": "boolean",
            "description": "Only stores that publish a contact email on their website.",
            "default": false
          },
          "hasSocials": {
            "title": "Must have these social profiles",
            "type": "array",
            "description": "Only stores linking all of the selected social profiles.",
            "items": {
              "type": "string",
              "enum": [
                "instagram",
                "facebook",
                "tiktok",
                "youtube",
                "pinterest",
                "twitter",
                "linkedin"
              ]
            }
          },
          "minProducts": {
            "title": "Min products",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum number of published products."
          },
          "maxProducts": {
            "title": "Max products",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of published products."
          },
          "minMedianPrice": {
            "title": "Min median product price",
            "minimum": 0,
            "type": "integer",
            "description": "In the store's currency."
          },
          "maxMedianPrice": {
            "title": "Max median product price",
            "minimum": 0,
            "type": "integer",
            "description": "In the store's currency."
          },
          "themes": {
            "title": "Themes",
            "type": "array",
            "description": "Theme family, e.g. Dawn, Impulse, Prestige.",
            "items": {
              "type": "string"
            }
          },
          "activeWithinDays": {
            "title": "Catalog updated within (days)",
            "minimum": 1,
            "type": "integer",
            "description": "Only stores that updated a product in the last N days (filters out abandoned stores)."
          },
          "shipsWorldwideOnly": {
            "title": "Ships worldwide only",
            "type": "boolean",
            "description": "Only stores with a rest-of-world shipping zone.",
            "default": false
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum number of stores to return. You are charged per store returned.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}