{
  "openapi": "3.0.1",
  "info": {
    "title": "Store Leads Scraper: Shopify and WooCommerce | $1/1K",
    "description": "Store name, platform, product count, prices, contacts and social links for Shopify and WooCommerce sites from a domain list. $1 per 1,000 results, platform usage included.",
    "version": "0.1",
    "x-build-id": "6u0dqo1VEuilbefjS"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/one_dollar_store~shopify-woocommerce-store-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-one_dollar_store-shopify-woocommerce-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/one_dollar_store~shopify-woocommerce-store-leads/runs": {
      "post": {
        "operationId": "runs-sync-one_dollar_store-shopify-woocommerce-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/one_dollar_store~shopify-woocommerce-store-leads/run-sync": {
      "post": {
        "operationId": "run-sync-one_dollar_store-shopify-woocommerce-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": {
          "domains": {
            "title": "Store domains",
            "type": "array",
            "description": "The stores to look up, one per line: a bare domain (allbirds.com) or any store address. The actor finds out whether each one is a Shopify or WooCommerce store and reads what the store publishes. Local and private addresses are refused.",
            "items": {
              "type": "string"
            }
          },
          "discoverFrom": {
            "title": "Find more stores",
            "enum": [
              "none",
              "commoncrawl"
            ],
            "type": "string",
            "description": "Optional. Common Crawl adds a random sample of Shopify store addresses (hosts that end in .myshopify.com) to your list. It does not search by niche. Host names only, no page content.",
            "default": "none"
          },
          "discoverHostsMax": {
            "title": "Stores to add from Common Crawl",
            "minimum": 10,
            "maximum": 5000,
            "type": "integer",
            "description": "How many store addresses to take from Common Crawl when the option above is on. Common Crawl is read slowly, one request every 5 seconds.",
            "default": 100
          },
          "platform": {
            "title": "Platform",
            "enum": [
              "any",
              "shopify",
              "woocommerce"
            ],
            "type": "string",
            "description": "Keep only Shopify stores, only WooCommerce stores, or both.",
            "default": "any"
          },
          "includeOtherSites": {
            "title": "Include other sites",
            "type": "boolean",
            "description": "Off by default: a domain that is neither a Shopify nor a WooCommerce store returns no row and costs nothing. Turn on to get a row with contacts and socials for those sites too.",
            "default": false
          },
          "skipPasswordProtected": {
            "title": "Skip password protected stores",
            "type": "boolean",
            "description": "Shopify stores that are not open yet (they show a password page) are left out. Turn off to keep them.",
            "default": true
          },
          "countryCodes": {
            "title": "Store country",
            "type": "array",
            "description": "Optional. Two letter country codes such as US, GB or IN. Only stores whose published country matches are returned. Shopify stores publish a country; WooCommerce stores only when their page data states one.",
            "items": {
              "type": "string"
            }
          },
          "minProducts": {
            "title": "Minimum products",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Keep stores with at least this many published products. 0 means no minimum.",
            "default": 0
          },
          "maxProducts": {
            "title": "Maximum products",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Keep stores with at most this many published products. 0 means no maximum.",
            "default": 0
          },
          "requireEmail": {
            "title": "Only stores with an email",
            "type": "boolean",
            "description": "Return a store only when at least one email address was found on its pages.",
            "default": false
          },
          "requirePhone": {
            "title": "Only stores with a phone",
            "type": "boolean",
            "description": "Return a store only when at least one valid phone number was found on its pages.",
            "default": false
          },
          "usesAnyApp": {
            "title": "Uses any of these apps",
            "type": "array",
            "description": "Optional. App or theme names such as Klaviyo, Yotpo or Recharge. Only stores where at least one is detected are returned. Names are matched as text.",
            "items": {
              "type": "string"
            }
          },
          "productPages": {
            "title": "Product pages to read",
            "minimum": 0,
            "maximum": 6,
            "type": "integer",
            "description": "How many pages of the product feed to read for prices and vendors: 250 products per page on Shopify, 100 on WooCommerce. 0 skips the feed and reads only the store record and product count.",
            "default": 1
          },
          "contactPages": {
            "title": "Contact pages to read",
            "minimum": 0,
            "maximum": 3,
            "type": "integer",
            "description": "How many contact or about pages to read besides the home page. They are read only when the home page did not already give an email and a phone number. 0 reads only the home page.",
            "default": 2
          },
          "maxItems": {
            "title": "Maximum stores",
            "minimum": 10,
            "maximum": 100000,
            "type": "integer",
            "description": "The run stops after this many results (one per store). Minimum 10.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}