{
  "openapi": "3.0.1",
  "info": {
    "title": "B2B Decision Makers & Work Email Finder from Public Sources",
    "description": "Build B2B lead lists from public team pages, Wikidata, SEC, Companies House, GitHub and LinkedIn guest pages. Filter by title, seniority, department, industry, size and location; keep published and pattern-verified work emails with sources.",
    "version": "1.0",
    "x-build-id": "qNd4ZtRVXRsyGL9qM"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dataspryva~b2b-leads-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dataspryva-b2b-leads-finder",
        "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/dataspryva~b2b-leads-finder/runs": {
      "post": {
        "operationId": "runs-sync-dataspryva-b2b-leads-finder",
        "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/dataspryva~b2b-leads-finder/run-sync": {
      "post": {
        "operationId": "run-sync-dataspryva-b2b-leads-finder",
        "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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "companyLeads",
              "personLookup",
              "profileLookup",
              "emailLookup",
              "fromUrl"
            ],
            "type": "string",
            "description": "Choose how to find leads.",
            "default": "companyLeads"
          },
          "jobTitles": {
            "title": "Job titles",
            "type": "array",
            "description": "Titles to match, for example CEO, Head of Sales, Software Engineer. Synonyms such as revenue for sales are also matched.",
            "items": {
              "type": "string"
            }
          },
          "seniorities": {
            "title": "Seniority",
            "type": "array",
            "description": "Normalized seniority levels to keep.",
            "items": {
              "type": "string",
              "enum": [
                "owner",
                "founder",
                "c_level",
                "vp",
                "director",
                "head",
                "manager",
                "senior",
                "entry",
                "board",
                "other"
              ],
              "enumTitles": [
                "Owner",
                "Founder",
                "C-Level",
                "VP",
                "Director",
                "Head",
                "Manager",
                "Senior",
                "Entry / Junior",
                "Board",
                "Other"
              ]
            }
          },
          "departments": {
            "title": "Departments",
            "type": "array",
            "description": "Departments or functions to keep.",
            "items": {
              "type": "string",
              "enum": [
                "executive",
                "sales",
                "marketing",
                "engineering",
                "product",
                "design",
                "finance",
                "hr",
                "legal",
                "operations",
                "support",
                "data",
                "security",
                "research",
                "other"
              ],
              "enumTitles": [
                "Executive",
                "Sales",
                "Marketing",
                "Engineering",
                "Product",
                "Design",
                "Finance",
                "HR / People",
                "Legal",
                "Operations",
                "Support",
                "Data",
                "Security",
                "Research",
                "Other"
              ]
            }
          },
          "companyNames": {
            "title": "Company names",
            "type": "array",
            "description": "Company names to resolve to a public website and scan for people.",
            "items": {
              "type": "string"
            }
          },
          "pastCompanies": {
            "title": "Past companies",
            "type": "array",
            "description": "Keep people whose public profile lists one of these past employers.",
            "items": {
              "type": "string"
            }
          },
          "companyDomains": {
            "title": "Company domains",
            "type": "array",
            "description": "Domains to scan, for example hubspot.com or monzo.com. Required in companyLeads unless companyNames is set.",
            "items": {
              "type": "string"
            }
          },
          "excludeCompanyDomains": {
            "title": "Exclude company domains",
            "type": "array",
            "description": "Drop leads from these domains.",
            "items": {
              "type": "string"
            }
          },
          "excludeJobTitles": {
            "title": "Exclude job titles",
            "type": "array",
            "description": "Drop leads whose title or headline contains any of these phrases.",
            "items": {
              "type": "string"
            }
          },
          "industries": {
            "title": "Industries",
            "type": "array",
            "description": "Industry terms for search mode. When no company is given, Wikidata is used to shortlist matching companies.",
            "items": {
              "type": "string"
            }
          },
          "companySizes": {
            "title": "Company size bands",
            "type": "array",
            "description": "Employee-count bands to keep.",
            "items": {
              "type": "string",
              "enum": [
                "1-10",
                "11-50",
                "51-200",
                "201-500",
                "501-1000",
                "1001-5000",
                "5001-10000",
                "10001+"
              ],
              "enumTitles": [
                "1-10",
                "11-50",
                "51-200",
                "201-500",
                "501-1,000",
                "1,001-5,000",
                "5,001-10,000",
                "10,001+"
              ]
            }
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Country names or ISO codes to keep.",
            "items": {
              "type": "string"
            }
          },
          "regions": {
            "title": "Regions or states",
            "type": "array",
            "description": "States, provinces or regions to keep.",
            "items": {
              "type": "string"
            }
          },
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "Cities to keep.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Free-text locations",
            "type": "array",
            "description": "Any location text such as London, United Kingdom or New York, NY.",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Extra phrases that must appear in the title, headline, bio or company fields.",
            "items": {
              "type": "string"
            }
          },
          "searchQuery": {
            "title": "Search query",
            "type": "string",
            "description": "Convenience free-text keyword added to keywords, for example fintech payments."
          },
          "names": {
            "title": "People names",
            "type": "array",
            "description": "Names to look up in personLookup mode.",
            "items": {
              "type": "string"
            }
          },
          "profileUrls": {
            "title": "LinkedIn profile URLs",
            "type": "array",
            "description": "Public linkedin.com/in/ URLs to resolve in profileLookup mode.",
            "items": {
              "type": "string"
            }
          },
          "emails": {
            "title": "Work emails",
            "type": "array",
            "description": "Email addresses to resolve to a company, public profile and email status in emailLookup mode.",
            "items": {
              "type": "string"
            }
          },
          "sourceUrl": {
            "title": "Apollo or Sales Navigator URL",
            "type": "string",
            "description": "An Apollo people-search URL or a LinkedIn Sales Navigator lead-search URL whose filters are parsed and run on public sources."
          },
          "maxLeads": {
            "title": "Max leads",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum number of lead records to return.",
            "default": 25
          },
          "maxPerCompany": {
            "title": "Max leads per company",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Maximum number of leads from one company.",
            "default": 10
          },
          "maxPagesPerCompany": {
            "title": "Max pages per company",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Maximum public pages to read per company website.",
            "default": 8
          },
          "dataSources": {
            "title": "Data sources",
            "type": "array",
            "description": "Public sources to use. All are cookieless.",
            "items": {
              "type": "string",
              "enum": [
                "website",
                "wikidata",
                "sec",
                "companiesHouse",
                "github",
                "linkedinSearch",
                "linkedinProfiles"
              ],
              "enumTitles": [
                "Company websites",
                "Wikidata",
                "SEC EDGAR",
                "UK Companies House",
                "GitHub",
                "LinkedIn via search snippets",
                "LinkedIn guest profiles"
              ]
            }
          },
          "verifyEmails": {
            "title": "Verify pattern candidates",
            "type": "boolean",
            "description": "Try MX and SMTP verification for generated email candidates. Published addresses are always treated as evidence.",
            "default": true
          },
          "requireEmail": {
            "title": "Only leads with an email",
            "type": "boolean",
            "description": "Drop leads without a valid, catch-all or published work email.",
            "default": false
          },
          "includePhones": {
            "title": "Include public phone numbers",
            "type": "boolean",
            "description": "Add phone numbers published next to a person's name.",
            "default": false
          },
          "includePersonalEmails": {
            "title": "Include personal emails",
            "type": "boolean",
            "description": "Add personal free-mail addresses published next to a person's name.",
            "default": false
          },
          "includeCompanySummary": {
            "title": "Include company summary",
            "type": "boolean",
            "description": "Write per-company and per-search counts, patterns and caveats to the run summary key-value record.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}