{
  "openapi": "3.0.1",
  "info": {
    "title": "Squarespace Leads Database | 3.0M+ Records, Emails & Phones",
    "description": "Find Squarespace website leads with available business emails, phones and social profiles. Filter by country, company keyword and technologies. Preview counts and export deduplicated contacts to CSV, Excel, JSON or API.",
    "version": "0.2",
    "x-build-id": "bJmbtxsQpdwYlHWoC"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/apivault_labs~squarespace-leads-database/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-apivault_labs-squarespace-leads-database",
        "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~squarespace-leads-database/runs": {
      "post": {
        "operationId": "runs-sync-apivault_labs-squarespace-leads-database",
        "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~squarespace-leads-database/run-sync": {
      "post": {
        "operationId": "run-sync-apivault_labs-squarespace-leads-database",
        "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": {
          "workflow": {
            "title": "Workflow",
            "enum": [
              "export",
              "count"
            ],
            "type": "string",
            "description": "Count writes diagnostics only; no paid Dataset rows. Startup and resource costs still apply.",
            "default": "export"
          },
          "country": {
            "title": "Countries (ISO-2)",
            "maxItems": 30,
            "uniqueItems": true,
            "type": "array",
            "description": "ISO-2 country codes. Empty means no country filter.",
            "items": {
              "type": "string",
              "pattern": "^[A-Za-z]{2}$"
            }
          },
          "keyword": {
            "title": "Keyword",
            "maxLength": 100,
            "type": "string",
            "description": "Literal substring in domain or company name; not a category classifier."
          },
          "hasEmail": {
            "title": "Only with email",
            "type": "boolean",
            "description": "Keep only sites where the Emails column is not empty.",
            "default": true
          },
          "hasPhone": {
            "title": "Only with phone",
            "type": "boolean",
            "description": "Keep only sites where the Telephones column is not empty.",
            "default": false
          },
          "phoneCode": {
            "title": "Phone country code",
            "pattern": "^\\+?[0-9]{1,4}$",
            "type": "string",
            "description": "Require at least one stored phone with this country prefix, such as +44."
          },
          "maxItems": {
            "title": "Max rows",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum unique domains delivered in this run, 1 to 10000. Default is 10,000. Fewer can match or fit the event budget.",
            "default": 10000
          },
          "offset": {
            "title": "Offset (skip first N)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Skip this many eligible deduplicated domains. Prefer returned continuation input. Ordering can change as the index changes.",
            "default": 0
          },
          "outputPreset": {
            "title": "Output preset",
            "enum": [
              "contacts",
              "sales",
              "full",
              "custom"
            ],
            "type": "string",
            "description": "Platform evidence and source dates always accompany results. Optional fields can be empty.",
            "default": "contacts"
          },
          "columns": {
            "title": "Output columns",
            "maxItems": 70,
            "uniqueItems": true,
            "type": "array",
            "description": "Used only with custom output preset. Platform evidence and source dates are always included; use full to return all indexed columns. Historical First/Last date selections are accepted for compatibility but are omitted from every exported row.",
            "items": {
              "type": "string",
              "enum": [
                "Root Domain",
                "Location on Site",
                "Primary Domain",
                "Technology Spend",
                "Sales Revenue",
                "Social",
                "Employees",
                "SKU",
                "Company",
                "Vertical",
                "Tranco",
                "Page Rank",
                "Majestic",
                "Umbrella",
                "Overall Score",
                "Performance",
                "Accessibility",
                "SEO",
                "Best Practices",
                "Telephones",
                "Emails",
                "X",
                "Twitter",
                "TikTok",
                "Weibo",
                "Threads",
                "Facebook",
                "LinkedIn",
                "Google",
                "Pinterest",
                "GitHub",
                "Instagram",
                "Vk",
                "Vimeo",
                "YouTube",
                "People",
                "Ticker",
                "Verified Profiles",
                "City",
                "State",
                "Zip",
                "Country",
                "First Detected",
                "Last Found",
                "First Indexed",
                "Last Indexed",
                "eCommerce Platform",
                "CMS Platform",
                "CRM Platform",
                "Marketing Automation Platform",
                "Payment Platforms",
                "CRuX Rank",
                "Cloudflare Rank",
                "Agency",
                "Has Ads",
                "Hosting Provider",
                "AI",
                "Exclusion",
                "Compliance"
              ]
            },
            "default": [
              "Root Domain",
              "Location on Site",
              "Primary Domain",
              "Technology Spend",
              "Sales Revenue",
              "Social",
              "Employees",
              "SKU",
              "Company",
              "Vertical",
              "Tranco",
              "Page Rank",
              "Majestic",
              "Umbrella",
              "Overall Score",
              "Performance",
              "Accessibility",
              "SEO",
              "Best Practices",
              "Telephones",
              "Emails",
              "X",
              "Twitter",
              "TikTok",
              "Weibo",
              "Threads",
              "Facebook",
              "LinkedIn",
              "Google",
              "Pinterest",
              "GitHub",
              "Instagram",
              "Vk",
              "Vimeo",
              "YouTube",
              "People",
              "Ticker",
              "Verified Profiles",
              "City",
              "State",
              "Zip",
              "Country",
              "First Detected",
              "Last Found",
              "First Indexed",
              "Last Indexed",
              "eCommerce Platform",
              "CMS Platform",
              "CRM Platform",
              "Marketing Automation Platform",
              "Payment Platforms",
              "CRuX Rank",
              "Cloudflare Rank",
              "Agency",
              "Has Ads",
              "Hosting Provider",
              "AI",
              "Exclusion",
              "Compliance"
            ]
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "Root Domain",
              "Overall Score",
              "Tranco",
              "Page Rank",
              "Sales Revenue",
              "Employees",
              "Technology Spend",
              "SKU",
              "Performance",
              "SEO",
              "Last Found"
            ],
            "type": "string",
            "description": "Order matching rows before applying the limit. Empty disables explicit ordering.",
            "default": "Root Domain"
          },
          "sortDesc": {
            "title": "Sort descending",
            "type": "boolean",
            "description": "Highest values first (recommended for scores/traffic/revenue).",
            "default": false
          },
          "filters": {
            "title": "Extra filters (any columns)",
            "maxItems": 12,
            "type": "array",
            "description": "Array of conditions on ANY of the 59 columns. Each item: {\"column\": \"City\", \"operator\": \"contains\", \"value\": \"Milano\"}. Operators: equals, not_equals, contains, not_contains, starts_with, ends_with, in_list (comma-separated), not_empty, empty. Conditions are combined with AND.",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "column",
                "operator"
              ],
              "properties": {
                "column": {
                  "title": "Column",
                  "type": "string",
                  "description": "Exact case-sensitive name of one of the 59 output columns.",
                  "enum": [
                    "Root Domain",
                    "Location on Site",
                    "Primary Domain",
                    "Technology Spend",
                    "Sales Revenue",
                    "Social",
                    "Employees",
                    "SKU",
                    "Company",
                    "Vertical",
                    "Tranco",
                    "Page Rank",
                    "Majestic",
                    "Umbrella",
                    "Overall Score",
                    "Performance",
                    "Accessibility",
                    "SEO",
                    "Best Practices",
                    "Telephones",
                    "Emails",
                    "X",
                    "Twitter",
                    "TikTok",
                    "Weibo",
                    "Threads",
                    "Facebook",
                    "LinkedIn",
                    "Google",
                    "Pinterest",
                    "GitHub",
                    "Instagram",
                    "Vk",
                    "Vimeo",
                    "YouTube",
                    "People",
                    "Ticker",
                    "Verified Profiles",
                    "City",
                    "State",
                    "Zip",
                    "Country",
                    "First Detected",
                    "Last Found",
                    "First Indexed",
                    "Last Indexed",
                    "eCommerce Platform",
                    "CMS Platform",
                    "CRM Platform",
                    "Marketing Automation Platform",
                    "Payment Platforms",
                    "CRuX Rank",
                    "Cloudflare Rank",
                    "Agency",
                    "Has Ads",
                    "Hosting Provider",
                    "AI",
                    "Exclusion",
                    "Compliance"
                  ]
                },
                "operator": {
                  "title": "Operator",
                  "type": "string",
                  "description": "Allowed comparison operator. Conditions are combined with AND.",
                  "enum": [
                    "equals",
                    "not_equals",
                    "contains",
                    "not_contains",
                    "starts_with",
                    "ends_with",
                    "in_list",
                    "not_empty",
                    "empty"
                  ]
                },
                "value": {
                  "title": "Value",
                  "type": "string",
                  "description": "Comparison value. Omit or use an empty string for not_empty and empty. For in_list, pass a comma-separated string."
                }
              }
            }
          },
          "dataSource": {
            "title": "Data source",
            "enum": [
              "standard",
              "warmed"
            ],
            "type": "string",
            "description": "Fresh exports use the warmed source pool when this field is omitted. Older offset-only inputs without sourceSession use the standard index. Keep the sourceSession from the complete continuation input to stay on the same live copy. Platform eligibility and stored field availability are enforced separately; source records can overlap."
          },
          "sourceSession": {
            "title": "Saved export session",
            "maxLength": 2048,
            "type": "string",
            "description": "Leave empty for a new export. Keep the opaque value from EXPORT_CONTINUATION.resumeInput unchanged to continue the same source copy. A warmed continuation may reconnect to an older copy that is no longer kept warm.",
            "default": ""
          },
          "exportCursor": {
            "title": "Export checkpoint",
            "type": "string",
            "description": "Optional signed checkpoint from EXPORT_CONTINUATION.resumeInput. Copy the complete resumeInput unchanged except maxItems. Valid for 24 hours, tied to your account, source and filters. Reads saved segment positions without replaying the prefix; live source changes can still affect positions. Omit for a fresh export or legacy offset. Traffic filtering/sorting uses legacy offset."
          },
          "parallelReaders": {
            "title": "Export speed",
            "enum": [
              "7",
              "1"
            ],
            "type": "string",
            "description": "Large exports read more source segments at the same time inside this single run. Results go to one Dataset and each accepted result is charged once. Your spending limit still applies. Small exports keep standard reading; available memory and source performance affect speed. You may switch this setting when continuing an export.",
            "default": "7"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}