{
  "openapi": "3.0.1",
  "info": {
    "title": "Shopify Store Discovery - Apps, Revenue Estimate, Tech Stack",
    "description": "Find Shopify stores by domain list with full intel: 30+ app detection (Klaviyo/Recharge/Yotpo/Gorgias/etc), product count, revenue estimate range, theme, social links. Server-side filter by required/excluded apps + revenue range. For D2C SaaS sales teams.",
    "version": "0.3",
    "x-build-id": "ZXKf0GmaH7e4EAg9e"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/seibs.co~shopify-store-discovery/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-seibs.co-shopify-store-discovery",
        "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/seibs.co~shopify-store-discovery/runs": {
      "post": {
        "operationId": "runs-sync-seibs.co-shopify-store-discovery",
        "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/seibs.co~shopify-store-discovery/run-sync": {
      "post": {
        "operationId": "run-sync-seibs.co-shopify-store-discovery",
        "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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "discover_by_domain_list",
              "detect_shopify_only",
              "deep_analyze"
            ],
            "type": "string",
            "description": "discover_by_domain_list = check each provided domain. detect_shopify_only = cheapest path, just verify Shopify and return basic metadata. deep_analyze = full /products.json walk + revenue estimate + collections + apps (most expensive, most thorough).",
            "default": "discover_by_domain_list"
          },
          "domains": {
            "title": "Domains to check",
            "type": "array",
            "description": "List of root domains or URLs to check (e.g. 'allbirds.com', 'https://www.warbyparker.com', 'fashionnova.com'). Strip 'www.' / scheme / paths — the actor will normalize.",
            "items": {
              "type": "string"
            }
          },
          "discovery_seed_urls": {
            "title": "Discovery seed URLs (optional)",
            "type": "array",
            "description": "URLs to crawl for outbound links — e.g. 'powered by Shopify' directory pages, niche listicles, awards lists. Outbound links become candidate domains.",
            "items": {
              "type": "string"
            }
          },
          "required_apps": {
            "title": "Required apps (AND filter)",
            "uniqueItems": true,
            "type": "array",
            "description": "Only emit stores that have ALL of these apps detected. Leave empty to skip. Allowed values: klaviyo, recharge, yotpo, gorgias, postscript, loop, smile_io, bold, stamped, judge_me, okendo, octane_ai, tidio, drift, klevu, searchanise, algolia, shogun, pagefly, replo, loox, reviews_io, fomo, privy, justuno, nosto, rebuy, limespot, wiser, reconvert, zipify, gempages.",
            "items": {
              "type": "string"
            }
          },
          "excluded_apps": {
            "title": "Excluded apps (NOT filter)",
            "uniqueItems": true,
            "type": "array",
            "description": "Drop stores that have ANY of these apps installed. Useful to find non-customers (e.g. exclude 'klaviyo' to surface non-Klaviyo Shopify stores). Allowed values: same enum as required_apps.",
            "items": {
              "type": "string"
            }
          },
          "min_product_count": {
            "title": "Minimum product count",
            "minimum": 0,
            "type": "integer",
            "description": "Drop stores with fewer than N products. Set to 0 to disable.",
            "default": 0
          },
          "max_product_count": {
            "title": "Maximum product count",
            "minimum": 0,
            "type": "integer",
            "description": "Drop stores with more than N products. Set to 0 to disable.",
            "default": 0
          },
          "min_estimated_monthly_revenue_usd": {
            "title": "Minimum estimated monthly revenue (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Drop stores whose estimated monthly revenue midpoint is below this. Rough heuristic - see README. Set to 0 to disable.",
            "default": 0
          },
          "max_estimated_monthly_revenue_usd": {
            "title": "Maximum estimated monthly revenue (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Drop stores whose estimated monthly revenue midpoint is above this. Set to 0 to disable.",
            "default": 0
          },
          "country_codes": {
            "title": "Country codes (ISO 2-letter)",
            "type": "array",
            "description": "Restrict to stores whose detected primary country (from currency / shipping signals) is in this list. Empty = no filter. Example: ['US', 'CA', 'GB'].",
            "items": {
              "type": "string"
            }
          },
          "category_keywords": {
            "title": "Category keywords",
            "type": "array",
            "description": "Keyword filter on store homepage title + description. Case-insensitive substring match. Example: ['beauty', 'skincare', 'fashion'].",
            "items": {
              "type": "string"
            }
          },
          "concurrency": {
            "title": "Max concurrent fetches",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Parallel domain fetches. Shopify rate-limits aggressively; 6 is the recommended sweet spot.",
            "default": 6
          },
          "use_apify_proxy": {
            "title": "Use Apify Proxy",
            "type": "boolean",
            "description": "Route requests through Apify Proxy. RESIDENTIAL is strongly recommended - many Shopify stores sit behind Cloudflare.",
            "default": true
          },
          "apify_proxy_groups": {
            "title": "Proxy groups",
            "type": "array",
            "description": "Apify Proxy groups. RESIDENTIAL is the most reliable for Shopify.",
            "default": [
              "RESIDENTIAL"
            ],
            "items": {
              "type": "string"
            }
          },
          "apify_proxy_country": {
            "title": "Proxy country (optional)",
            "type": "string",
            "description": "Two-letter country code for proxy egress. 'US' is a safe default since most Shopify stores ship to US.",
            "default": "US"
          },
          "max_results": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Cap on emitted records. Default 200. Increase for larger discovery runs.",
            "default": 200
          },
          "include_contact_enrichment": {
            "title": "Include contact enrichment (emails + phones)",
            "type": "boolean",
            "description": "Scrape /contact /pages/contact /about for email addresses (founder@, support@, hello@, sales@) and phone numbers. Adds the highest-impact field for D2C SaaS sales outreach. Charged $0.005 per store ONLY when at least one email or phone is actually extracted.",
            "default": true
          },
          "include_founder_intel": {
            "title": "Include founder + brand-story intel (slower)",
            "type": "boolean",
            "description": "Scrape /about /pages/our-story for founder names, founding year, and brand-story keywords (vegan, sustainable, made in USA, woman-owned, etc). Useful for sales-outreach personalization. Slower because of extra page fetches; opt-in.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}