{
  "openapi": "3.0.1",
  "info": {
    "title": "Shopify Store Analyzer | $10/1K | Revenue, Traffic, Tech Stack",
    "description": "Spy on any Shopify store: traffic, estimated monthly revenue, product velocity, best sellers, tech stack (Klaviyo, Judge.me, ReCharge), social links, contact info. Perfect for dropshippers and competitor research.",
    "version": "1.0",
    "x-build-id": "CcBTmya3dw2ehDsFU"
  },
  "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",
            "type": "array",
            "description": "List of Shopify store homepages. Accepts:\n• https://allbirds.com\n• allbirds.com (bare domain)\n• https://shop.company.com",
            "items": {
              "type": "string"
            }
          },
          "conversionRate": {
            "title": "Conversion rate for revenue estimate (%)",
            "minimum": 0.1,
            "maximum": 10,
            "type": "number",
            "description": "Used in estimated monthly revenue = traffic × conversionRate × AOV. Industry average for Shopify is 2.5%. Fashion/beauty 1.5-2%, electronics 1%, high-intent niches 3-4%.",
            "default": 2.5
          },
          "productSampleSize": {
            "title": "Product sample size",
            "minimum": 10,
            "maximum": 5000,
            "type": "integer",
            "description": "How many products to sample for metrics (AOV, price range, velocity). Larger = more accurate but slower. 0 = full catalog.",
            "default": 250
          },
          "extractProducts": {
            "title": "Products & AOV",
            "type": "boolean",
            "description": "Product count, AOV (average order value), price range, currency.",
            "default": true
          },
          "extractVelocity": {
            "title": "Product velocity",
            "type": "boolean",
            "description": "New products added in last 7/30/90 days. High velocity = active store, replaces inventory fast.",
            "default": true
          },
          "extractCollections": {
            "title": "Collections",
            "type": "boolean",
            "description": "Collection count and top collections by product count.",
            "default": true
          },
          "extractTraffic": {
            "title": "Traffic (via SimilarWeb public API)",
            "type": "boolean",
            "description": "Estimated monthly visits, global/country rank, bounce rate, page per visit, traffic sources, top countries, top keywords. THIS is what dropshippers pay for.",
            "default": true
          },
          "extractRevenueEstimate": {
            "title": "Revenue estimate",
            "type": "boolean",
            "description": "Compute estimated monthly revenue from traffic × conversionRate × AOV. Requires extractTraffic.",
            "default": true
          },
          "extractTechStack": {
            "title": "Tech stack",
            "type": "boolean",
            "description": "Detect Klaviyo, Judge.me, Yotpo, Loox, ReCharge, Bold apps, payment methods, pixels (FB, TikTok, Pinterest), analytics.",
            "default": true
          },
          "extractSocials": {
            "title": "Social links",
            "type": "boolean",
            "description": "Instagram, Facebook, Twitter/X, TikTok, YouTube, Pinterest, LinkedIn URLs extracted from homepage.",
            "default": true
          },
          "extractContact": {
            "title": "Contact info",
            "type": "boolean",
            "description": "Public emails and phone numbers from homepage / contact / footer.",
            "default": true
          },
          "extractShopifyMeta": {
            "title": "Shopify meta",
            "type": "boolean",
            "description": "myshopify.com handle, locale, theme name, Shopify Plus indicators.",
            "default": true
          },
          "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}