{
  "openapi": "3.0.1",
  "info": {
    "title": "Shopify Store Leads — Find Stores by Niche, Country & Apps",
    "description": "188,000+ live Shopify stores, re-checked every 2 weeks: name, country, city, currency, product count and prices, newest products, theme, apps, and the emails, phones and socials each store publishes. Filter by niche, country, size, activity and apps, or get only new stores. $5 per 1,000.",
    "version": "0.1",
    "x-build-id": "qLytdPeJkmeTnXerx"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/viridian_layout_ea2~shopify-store-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-viridian_layout_ea2-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/viridian_layout_ea2~shopify-store-leads/runs": {
      "post": {
        "operationId": "runs-sync-viridian_layout_ea2-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/viridian_layout_ea2~shopify-store-leads/run-sync": {
      "post": {
        "operationId": "run-sync-viridian_layout_ea2-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": "Niche keywords",
            "type": "array",
            "description": "Stores whose name, description, domain, product types or brands contain one of these, e.g. \"tea\", \"pet supplies\", \"skincare\". Short keywords (3 letters or fewer) match whole words only.",
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "type": "array",
            "description": "Leave out stores matching any of these.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Two-letter country codes of the business, e.g. \"US\", \"GB\", \"AU\".",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "locationKeywords": {
            "title": "City or state",
            "type": "array",
            "description": "City or state/province contains one of these, e.g. \"Texas\", \"London\".",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "currencies": {
            "title": "Currencies",
            "type": "array",
            "description": "e.g. \"USD\", \"EUR\".",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "shipsTo": {
            "title": "Ships to",
            "type": "array",
            "description": "Stores that ship to at least one of these countries, e.g. \"CA\".",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "languages": {
            "title": "Site languages",
            "type": "array",
            "description": "Storefront language codes, e.g. \"en\", \"de\".",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minProducts": {
            "title": "Minimum products",
            "minimum": 0,
            "type": "integer",
            "description": "Only stores with at least this many published products."
          },
          "maxProducts": {
            "title": "Maximum products",
            "minimum": 0,
            "type": "integer",
            "description": "Only stores with at most this many products, e.g. 200 for small shops."
          },
          "minMedianPrice": {
            "title": "Minimum typical price",
            "minimum": 0,
            "type": "integer",
            "description": "Median product price at least this much, in the store's own currency."
          },
          "maxMedianPrice": {
            "title": "Maximum typical price",
            "minimum": 0,
            "type": "integer",
            "description": "Median product price at most this much, in the store's own currency."
          },
          "activeWithinDays": {
            "title": "Added a product within (days)",
            "minimum": 1,
            "type": "integer",
            "description": "Only active stores: published a product in the last N days."
          },
          "minProductsAddedLast30Days": {
            "title": "Minimum products added (30 days)",
            "minimum": 1,
            "type": "integer",
            "description": "Stores growing their catalog: at least this many products published in the last 30 days."
          },
          "requireEmail": {
            "title": "Has an email",
            "type": "boolean",
            "description": "Only stores that publish an email address on their homepage or contact page.",
            "default": false
          },
          "requirePhone": {
            "title": "Has a phone",
            "type": "boolean",
            "description": "Only stores that publish a phone number.",
            "default": false
          },
          "requireSocials": {
            "title": "Has these social profiles",
            "type": "array",
            "description": "Only stores linking to a profile on each selected network.",
            "items": {
              "type": "string",
              "enum": [
                "instagram",
                "facebook",
                "tiktok",
                "youtube",
                "pinterest",
                "twitter",
                "linkedin"
              ]
            },
            "default": []
          },
          "apps": {
            "title": "Uses any of these apps",
            "type": "array",
            "description": "Detected from the scripts on the store's homepage.",
            "items": {
              "type": "string",
              "enum": [
                "Klaviyo",
                "Omnisend",
                "Mailchimp",
                "Privy",
                "Attentive",
                "Postscript",
                "Judge.me",
                "Yotpo",
                "Loox",
                "Okendo",
                "Stamped",
                "ReCharge",
                "Rebuy",
                "Smile.io",
                "LoyaltyLion",
                "Gorgias",
                "Tidio",
                "Zendesk",
                "Afterpay",
                "Klarna",
                "PageFly",
                "GemPages",
                "Shogun",
                "Weglot",
                "Route",
                "AfterShip",
                "Hotjar",
                "Meta Pixel",
                "TikTok Pixel",
                "Google Analytics"
              ]
            },
            "default": []
          },
          "themes": {
            "title": "Theme",
            "type": "array",
            "description": "Theme name contains one of these, e.g. \"Dawn\", \"Impulse\".",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "foundWithinDays": {
            "title": "Found within (days)",
            "minimum": 1,
            "type": "integer",
            "description": "Only stores our index found in the last N days."
          },
          "onlyNewSinceLastRun": {
            "title": "Only stores new since this search last ran",
            "type": "boolean",
            "description": "For scheduled runs: return only stores the index found since this same search last ran. The Actor remembers each search in a key-value store named <code>shopify-stores-monitor</code> in your account; changing any filter starts a new history.",
            "default": false
          },
          "monitorName": {
            "title": "Search name (optional)",
            "type": "string",
            "description": "Only needed to keep two searches with identical filters separate, e.g. one per client."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "newestFound",
              "mostProducts",
              "mostAddedLast30Days",
              "newestProduct"
            ],
            "type": "string",
            "description": "Which stores come first. The maximum below keeps the top of this list.",
            "default": "newestFound"
          },
          "maxResults": {
            "title": "Maximum stores",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Hard cap on results, and your main cost control: you are charged per store returned.",
            "default": 500
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}