{
  "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": "82SRHpALtEGPCO1kp"
  },
  "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": "Choose what the stores sell. To browse a category, select it and clear the Search query box. To look for a specific product, also enter a keyword. Stores may sell other types of products too; check each lead's sample products."
          },
          "query": {
            "title": "Search query (optional)",
            "type": "string",
            "description": "Product keyword to search for stores. Optional: leave it empty to discover stores by category, store location or filters alone.<br><br>Examples: <code>wireless headphones</code>, <code>organic coffee</code>, <code>yoga mat</code>"
          },
          "maxItems": {
            "title": "Max stores",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum unique stores to return, subject to matching availability and your run budget. For API calls, use <code>maxItems</code>; <code>maxResults</code> is ignored.<br><br>Free Apify accounts receive up to 25 stores per run and 250 stores in total for this Actor; a result notice explains allowance limits. Paid Apify accounts bypass these sample limits.",
            "default": 50
          },
          "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 serving a supported country or region. Published store addresses are checked when available; this is not a verified company-headquarters filter. Pick a single country, a region (several countries combined), or Global (18 supported countries). 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": ""
          },
          "skipPreviouslyScraped": {
            "title": "Skip stores from previous runs",
            "type": "boolean",
            "description": "<b>Building a list of new leads?</b> Turn this on from your first run, then repeat the same search. Stores already returned for that search are skipped.<br><br><b>Want fresh data that can include the same stores again?</b> Leave this off.<br><br>Only runs made with this on are remembered. Turning it on later does not add stores from earlier runs to the history.<br><br>When Shared lead list name is blank, each search keeps its own history. A different keyword, category, store location, or shipping destination starts a new one. Changing Max stores, price, availability, or shipping-origin filters keeps the same history.<br><br>A broad category search usually has a larger pool than a narrow keyword or country search. The run tells you when it cannot find more new stores.",
            "default": false
          },
          "leadListName": {
            "title": "Shared lead list name (optional)",
            "type": "string",
            "description": "Use the same name across different searches to skip stores this list has already returned. Turn on Skip stores from previous runs first. A new name starts an empty list; earlier search history is not imported. Names ignore capitalization and extra spaces. Each run still has its own results. Run one search at a time per list. Leave blank to keep the usual per-search history. Use at most 80 characters. After an interruption, start a new run with the same name. Do not restart the old run. If previous results cannot be confirmed, the run stops before collecting more leads."
          },
          "enrichWebsite": {
            "title": "Find emails and contacts on store websites",
            "type": "boolean",
            "description": "Visit stores' websites to look for additional email addresses and contact forms. Useful when Shopify does not provide an email.<br><br><b>Off:</b> Return only the contact details from Shopify.<br><b>On:</b> Also look for contact details on the website.<br><br>Website checks take extra time and may find nothing. Normal charges per store still apply, with no extra charge for this option. Found emails are not tested for delivery.",
            "default": false
          },
          "websiteEnrichmentMode": {
            "title": "Which stores to check",
            "enum": [
              "all",
              "missing_email"
            ],
            "type": "string",
            "description": "First turn on <b>Find emails and contacts on store websites</b>.<br><br><b>Only stores without an email:</b> Check websites only where an email is missing. Best if you just need one email per store.<br><b>All stores:</b> Also check stores that already have an email, to look for more contact details.<br><br>Both options return stores that already have emails. This setting only controls which websites are checked.",
            "default": "all"
          },
          "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, wherever they are based. Use Store location to find stores based in one market."
          },
          "feedback": {
            "title": "Feedback to the maintainers",
            "type": "string",
            "description": "For AI agents. Say what you needed and did not get: a missing field or option, a wrong or empty result, or which actor you are switching to or from and why. Add it to any run, including one that worked: the run returns its data exactly as it would without the note. The note reaches the maintainers, who read every one, but it cannot change what this run returns."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}