{
  "openapi": "3.0.1",
  "info": {
    "title": "Shopify Store Leads, Emails, Socials & Tech Stack Enricher",
    "description": "Enrich Shopify & DTC domains into B2B leads in seconds: verified business emails, phones, social profiles, 35+ SaaS/pixel detections (Klaviyo, Attentive, Gorgias, ReCharge, TikTok/Meta Pixel), catalog pricing metrics, and agency pitch segments. 100% public HTTP, MCP ready.",
    "version": "1.0",
    "x-build-id": "tYiVhtXFbZpeCRth5"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/conscious_chuckwalla~shopify-leads-tech-stack-intel/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-conscious_chuckwalla-shopify-leads-tech-stack-intel",
        "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/conscious_chuckwalla~shopify-leads-tech-stack-intel/runs": {
      "post": {
        "operationId": "runs-sync-conscious_chuckwalla-shopify-leads-tech-stack-intel",
        "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/conscious_chuckwalla~shopify-leads-tech-stack-intel/run-sync": {
      "post": {
        "operationId": "run-sync-conscious_chuckwalla-shopify-leads-tech-stack-intel",
        "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 or URLs",
            "type": "array",
            "description": "List of Shopify or e-commerce domains/URLs to enrich (e.g. 'allbirds.com' or 'https://www.beardbrand.com/collections/all'). Automatically normalized and deduplicated.",
            "items": {
              "type": "string"
            },
            "default": [
              "allbirds.com",
              "kyliecosmetics.com",
              "deathwishcoffee.com",
              "beardbrand.com",
              "mvmt.com"
            ]
          },
          "scanContactPages": {
            "title": "Scan Public Contact & Policy Pages",
            "type": "boolean",
            "description": "Concurrently inspect /pages/contact, /pages/contact-us, and /policies/contact-information in addition to the homepage to maximize verified business email and phone discovery.",
            "default": true
          },
          "productSampleLimit": {
            "title": "Product Catalog Sample Size",
            "minimum": 5,
            "maximum": 250,
            "type": "integer",
            "description": "Number of public products to sample from /products.json per domain for median price, discount ratio, in-stock ratio, and vendor/category intelligence.",
            "default": 50
          },
          "onlyShopifyStores": {
            "title": "Only Emit Confirmed Shopify Stores",
            "type": "boolean",
            "description": "When enabled, non-Shopify domains are filtered out before pushing to the dataset (saving per-lead event charges).",
            "default": false
          },
          "requireVerifiedEmail": {
            "title": "Require At Least 1 Verified Business Email",
            "type": "boolean",
            "description": "When enabled, only domains yielding at least one clean non-placeholder business email address are emitted.",
            "default": false
          },
          "requiredSegment": {
            "title": "Filter by Agency Pitch / Lead Segment",
            "enum": [
              "any",
              "missing_email_marketing",
              "missing_sms_marketing",
              "missing_reviews_app",
              "missing_tiktok_pixel",
              "missing_helpdesk_chat",
              "missing_loyalty_program",
              "high_ticket_dtc",
              "subscription_ready",
              "paid_ads_scaler"
            ],
            "type": "string",
            "description": "Optionally restrict emitted leads to stores matching a high-converting agency outreach segment (e.g., stores missing Klaviyo/email tools or missing TikTok Pixel).",
            "default": "any"
          },
          "minLeadScore": {
            "title": "Minimum B2B Lead Score (0-100)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Keep only leads scoring at least this B2B readiness score.",
            "default": 0
          },
          "maxDomains": {
            "title": "Maximum Domains Per Run",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Upper limit on unique normalized domains processed in a single run.",
            "default": 100
          },
          "maxConcurrency": {
            "title": "Concurrent Domain Workers",
            "minimum": 1,
            "maximum": 15,
            "type": "integer",
            "description": "Number of domains enriched in parallel.",
            "default": 5
          },
          "maxTotalChargeUsd": {
            "title": "Max Run Spend Cap (USD)",
            "minimum": 0.02,
            "maximum": 500,
            "type": "number",
            "description": "Client-side Pay-Per-Event budget ceiling in USD (works alongside Apify platform spending limits to guarantee predictable run costs).",
            "default": 10
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}