{
  "openapi": "3.0.1",
  "info": {
    "title": "Shopify Store Analyzer | $10/1K | Revenue, Traffic, Tech Stack",
    "description": "Spy on any Shopify store: revenue estimate, monthly visits, brand age, tech stack (60+ apps including Klaviyo, Yotpo, ReCharge, Gorgias), dropshipper risk score, customer segment, international expansion, social links, founders. Alternative to StoreLeads. $10/1K stores.",
    "version": "1.0",
    "x-build-id": "MXYiUbf2TZjpazxFn"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/apivault_labs~shopify-store-analyzer/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-apivault_labs-shopify-store-analyzer",
        "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/apivault_labs~shopify-store-analyzer/runs": {
      "post": {
        "operationId": "runs-sync-apivault_labs-shopify-store-analyzer",
        "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/apivault_labs~shopify-store-analyzer/run-sync": {
      "post": {
        "operationId": "run-sync-apivault_labs-shopify-store-analyzer",
        "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": [
          "storeUrls"
        ],
        "properties": {
          "storeUrls": {
            "title": "Shopify Store URLs",
            "maxItems": 100,
            "type": "array",
            "description": "Shopify store homepages (max 100 per run). Bare domains or full URLs accepted.",
            "items": {
              "type": "string"
            }
          },
          "conversionRate": {
            "title": "Conversion rate for revenue estimate (%)",
            "minimum": 0.1,
            "maximum": 10,
            "type": "number",
            "description": "Used in revenue formula: visits × CR × AOV. Industry default 2.5%. Fashion 1.5-2%, electronics 1%, impulse-buy 3-4%.",
            "default": 2.5
          },
          "productSampleSize": {
            "title": "Product sample size",
            "minimum": 0,
            "maximum": 2000,
            "type": "integer",
            "description": "How many products to sample for metrics. 0 = full catalog (hard-capped at 2000 to protect run memory). Default 250.",
            "default": 250
          },
          "extractProducts": {
            "title": "Products & AOV",
            "type": "boolean",
            "description": "Product count, AOV, price range, vendors, types, image counts, top tags (niche detection), duplicate description ratio (generic-catalog signal).",
            "default": true
          },
          "extractVelocity": {
            "title": "Product velocity",
            "type": "boolean",
            "description": "New products in last 7/30/90 days, oldest product date.",
            "default": true
          },
          "extractCollections": {
            "title": "Collections",
            "type": "boolean",
            "description": "Collection count and top collections.",
            "default": true
          },
          "extractSitemap": {
            "title": "Sitemap counts",
            "type": "boolean",
            "description": "Real total pages/products/collections/blogs from sitemap.xml.",
            "default": true
          },
          "extractTraffic": {
            "title": "Traffic (SimilarWeb)",
            "type": "boolean",
            "description": "Monthly visits, ranks, bounce rate, sources, top countries, keywords.",
            "default": true
          },
          "extractRevenueEstimate": {
            "title": "Revenue estimate",
            "type": "boolean",
            "description": "Monthly orders + revenue + annualized estimate. Requires extractTraffic.",
            "default": true
          },
          "extractTechStack": {
            "title": "Tech stack & tracking IDs",
            "type": "boolean",
            "description": "Detect 60+ Shopify apps (Klaviyo, Judge.me, ReCharge, Gorgias, dropshipping, payments) plus extract advertising IDs (GTM, GA4, Facebook Pixel, TikTok, Klaviyo public key, Hotjar) for brand-network mapping.",
            "default": true
          },
          "extractSocials": {
            "title": "Social links",
            "type": "boolean",
            "description": "Instagram, Facebook, Twitter, TikTok, YouTube, Pinterest, LinkedIn handles.",
            "default": true
          },
          "extractContact": {
            "title": "Contact info",
            "type": "boolean",
            "description": "Public emails and phones from homepage.",
            "default": true
          },
          "extractShopifyMeta": {
            "title": "Shopify meta",
            "type": "boolean",
            "description": "myshopify handle, currency, locale, theme, Shopify Plus indicators, CDN store ID (sequential, lower = older store).",
            "default": true
          },
          "extractInternational": {
            "title": "International expansion",
            "type": "boolean",
            "description": "hreflang languages, currency switcher, country selector, expansion score 0-100.",
            "default": true
          },
          "extractReviewsAggregate": {
            "title": "Reviews aggregate",
            "type": "boolean",
            "description": "Schema.org aggregateRating from homepage (review widget output).",
            "default": true
          },
          "extractPromo": {
            "title": "Active promo / announcement bar",
            "type": "boolean",
            "description": "Free shipping threshold, active promo codes, announcement bar text, current discount %.",
            "default": true
          },
          "extractBrandAge": {
            "title": "Brand age (slower)",
            "type": "boolean",
            "description": "Earliest Wayback snapshot + earliest SSL cert → brand age in years and founding year. Off by default: these external lookups (archive.org, crt.sh) are the slowest part of a run and only a secondary signal. Turn on if you specifically need founding year. Note: the CDN store ID already gives a free backup age signal.",
            "default": false
          },
          "extractDerivedSignals": {
            "title": "Derived signals",
            "type": "boolean",
            "description": "Customer segment, marketing channel mix, dropshipper risk score with reasons.",
            "default": true
          },
          "generateComparison": {
            "title": "⭐ Competitor comparison report (premium add-on)",
            "type": "boolean",
            "description": "Premium: when analyzing 2+ stores, add a single cross-store benchmarking report — rankings by traffic, revenue, AOV, discounting, international expansion and tech stack, plus shared-tech analysis and the cohort leader in each category. Billed once per run as a separate event, only when a report is produced.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Max Concurrency",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Parallel stores to analyze.",
            "default": 3
          },
          "timeout": {
            "title": "Timeout (seconds)",
            "minimum": 10,
            "maximum": 180,
            "type": "integer",
            "description": "HTTP timeout per request.",
            "default": 30
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}