{
  "openapi": "3.0.1",
  "info": {
    "title": "Mailchimp Leads Database | $3/1K | Website Contacts",
    "description": "Find Mailchimp leads across compatible indexed sources. Original dataset evidence and exact saved technology matches are labelled separately. Available contacts, filters, deduplication, continuation. $3/1K plus start and resources.",
    "version": "0.2",
    "x-build-id": "q7ErL3dO7kuVB1PWq"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/apivault_labs~mailchimp-leads-database/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-apivault_labs-mailchimp-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~mailchimp-leads-database/runs": {
      "post": {
        "operationId": "runs-sync-apivault_labs-mailchimp-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~mailchimp-leads-database/run-sync": {
      "post": {
        "operationId": "run-sync-apivault_labs-mailchimp-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 reports matching source rows before domain deduplication. It delivers no paid Dataset rows. Start 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": "Stored technology fields accompany every output. Contacts can be missing; cohort membership and saved tokens do not establish current technology or deliverability.",
            "default": "contacts"
          },
          "columns": {
            "title": "Output columns",
            "maxItems": 70,
            "uniqueItems": true,
            "type": "array",
            "description": "Used with custom output preset. Stored technology evidence is always included. Historical First/Last date fields are not exported.",
            "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",
                "eCommerce Platform",
                "CMS Platform",
                "CRM Platform",
                "Marketing Automation Platform",
                "Payment Platforms",
                "CRuX Rank",
                "Cloudflare Rank",
                "Agency",
                "Has Ads",
                "Hosting Provider",
                "AI",
                "Exclusion",
                "Compliance",
                "Tech Detected Stack"
              ]
            },
            "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",
              "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": [
              "warmed"
            ],
            "type": "string",
            "description": "Select the indexed website data. To continue an export, copy the complete continuation input.",
            "default": "warmed"
          },
          "sourceSession": {
            "title": "Saved export session",
            "maxLength": 2048,
            "type": "string",
            "description": "Leave empty for a new export. To continue, copy this value from EXPORT_CONTINUATION.resumeInput unchanged.",
            "default": ""
          },
          "exportCursor": {
            "title": "Export checkpoint",
            "type": "string",
            "description": "Optional encrypted checkpoint from EXPORT_CONTINUATION.resumeInput. Copy the complete resumeInput unchanged except maxItems. Valid for 24 hours and tied to your account and filters. Live changes to indexed records can affect continuation. Omit for a fresh export."
          },
          "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"
          },
          "requireStoredTechnology": {
            "title": "Require a stored technology token",
            "type": "boolean",
            "description": "True requires an exact saved Mailchimp token in any available technology field, including Tech Detected Stack. False also includes the original Mailchimp dataset. Neither setting verifies websites live.",
            "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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}