{
  "openapi": "3.0.1",
  "info": {
    "title": "Shopify Store Leads Scraper - Emails, Phones & Ratings",
    "description": "Scrape Shopify store leads by keyword or category. Extract emails, phone numbers, addresses, ratings, and social links. Find storeleads for B2B outreach, supplier discovery, and market research.",
    "version": "0.0",
    "x-build-id": "hIuSvq2mIk845Z6Q1"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/clearpath~shopify-store-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-clearpath-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/clearpath~shopify-store-leads/runs": {
      "post": {
        "operationId": "runs-sync-clearpath-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/clearpath~shopify-store-leads/run-sync": {
      "post": {
        "operationId": "run-sync-clearpath-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": {
          "category": {
            "title": "Category",
            "enum": [
              "",
              "gid://shopify/ProductCategory/1",
              "gid://shopify/ProductCategory/2",
              "gid://shopify/ProductCategory/3",
              "gid://shopify/ProductCategory/5",
              "gid://shopify/ProductCategory/6",
              "gid://shopify/ProductCategory/7",
              "gid://shopify/ProductCategory/9",
              "gid://shopify/ProductCategory/10",
              "gid://shopify/ProductCategory/15",
              "gid://shopify/ProductCategory/69",
              "gid://shopify/ProductCategory/209",
              "gid://shopify/ProductCategory/251",
              "gid://shopify/ProductCategory/267",
              "gid://shopify/ProductCategory/285"
            ],
            "type": "string",
            "description": "Select a category to discover stores. Works on its own (discovers all stores in the category) or combined with a search query to narrow results."
          },
          "query": {
            "title": "Search query (optional)",
            "type": "string",
            "description": "Product keyword to search for stores. Optional if a category is selected above.<br><br>Examples: <code>wireless headphones</code>, <code>organic coffee</code>, <code>yoga mat</code>"
          },
          "storeLocation": {
            "title": "Store location",
            "enum": [
              "",
              "GLOBAL",
              "ENGLISH_SPEAKING",
              "EUROPE",
              "NORTH_AMERICA",
              "UK_IRELAND",
              "NORDICS",
              "OCEANIA",
              "US",
              "GB",
              "CA",
              "AU",
              "NZ",
              "IE",
              "DE",
              "FR",
              "IT",
              "ES",
              "NL",
              "PL",
              "AT",
              "CH",
              "PT",
              "SE",
              "DK",
              "FI"
            ],
            "type": "string",
            "description": "Find stores <b>based in</b> a specific country or region. Pick a single country, a region (several countries combined), or Global. Leave as <b>Any location</b> for no location targeting.<br><br><b>For non-English markets</b> (Germany, France, Italy, etc.), search using local-language terms (e.g. <code>kerzen</code> instead of <code>candles</code>) for the best results.<br><br>Stores that don't publish a business address are included as likely matches.",
            "default": ""
          },
          "maxItems": {
            "title": "Max stores",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum number of unique stores to return.",
            "default": 50
          },
          "skipPreviouslyScraped": {
            "title": "Skip stores from previous runs",
            "type": "boolean",
            "description": "Continue where your last run stopped. Stores already returned for this same search are skipped, so each run brings new stores instead of repeating earlier results. Turn this on from your first run: only runs made with it on are counted.<br><br>Each search keeps its own history. A different keyword, category, store location, or shipping destination starts a new one; price, availability, and shipping-origin filters do not, so you can narrow a search you already started.<br><br>A broad category scrape stays productive across many runs. A single keyword, or a search narrowed to one country, runs out sooner, and the run tells you when a search has no new stores left.",
            "default": false
          },
          "priceMin": {
            "title": "Min price",
            "minimum": 0,
            "type": "integer",
            "description": "Only discover stores selling products above this price."
          },
          "priceMax": {
            "title": "Max price",
            "minimum": 0,
            "type": "integer",
            "description": "Only discover stores selling products below this price."
          },
          "onSale": {
            "title": "On sale only",
            "type": "boolean",
            "description": "Only discover stores with products currently on sale.",
            "default": false
          },
          "inStock": {
            "title": "In stock only",
            "type": "boolean",
            "description": "Only discover stores with products currently in stock.",
            "default": false
          },
          "shipsFrom": {
            "title": "Ships from store location",
            "type": "boolean",
            "description": "Only discover stores that ship from the selected store location. Applied automatically when a Store location is set above.",
            "default": false
          },
          "shipsTo": {
            "title": "Ships to country",
            "enum": [
              "",
              "US",
              "CA",
              "GB",
              "AU",
              "DE",
              "FR",
              "IT",
              "ES",
              "NL",
              "BE",
              "AT",
              "CH",
              "SE",
              "DK",
              "NO",
              "FI",
              "IE",
              "PT",
              "PL",
              "CZ",
              "RO",
              "HU",
              "GR",
              "HR",
              "BG",
              "SK",
              "SI",
              "LT",
              "LV",
              "EE",
              "IS",
              "LU",
              "NZ",
              "JP",
              "KR",
              "SG",
              "HK",
              "TW",
              "MY",
              "PH",
              "TH",
              "ID",
              "VN",
              "IN",
              "BR",
              "MX",
              "CO",
              "AR",
              "CL",
              "ZA",
              "AE",
              "SA",
              "IL",
              "TR",
              "NG",
              "EG",
              "KE"
            ],
            "type": "string",
            "description": "Only discover stores that ship to a specific country."
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}