{
  "openapi": "3.0.1",
  "info": {
    "title": "B2B Leads Finder: People Search with Emails & Phones",
    "description": "B2B leads finder and Apollo alternative: decision-makers by title, seniority, location, industry, size, tech stack, plus new in role, alumni and LinkedIn engagement. Work emails, personal emails and phones, with why each person matched.",
    "version": "0.1",
    "x-build-id": "fk8mzMgIge6rlRKm9"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/aidenix~people-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-aidenix-people-search",
        "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/aidenix~people-search/runs": {
      "post": {
        "operationId": "runs-sync-aidenix-people-search",
        "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/aidenix~people-search/run-sync": {
      "post": {
        "operationId": "run-sync-aidenix-people-search",
        "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": {
          "titles": {
            "title": "Job title contains",
            "type": "array",
            "description": "Words in the current job title, any of. Example: vp sales, head of growth, cto.",
            "items": {
              "type": "string"
            }
          },
          "levels": {
            "title": "Seniority",
            "type": "array",
            "description": "Management level.",
            "items": {
              "type": "string",
              "enum": [
                "c-level",
                "vp",
                "owner",
                "partner",
                "director",
                "head",
                "manager",
                "senior",
                "specialist"
              ]
            }
          },
          "departments": {
            "title": "Department",
            "type": "array",
            "description": "Department of the current role, any of.",
            "items": {
              "type": "string",
              "enum": [
                "Sales",
                "Marketing",
                "Engineering and Technical",
                "Product",
                "Finance & Accounting",
                "Human Resources",
                "Operations",
                "Customer Service",
                "Legal",
                "Design",
                "Research",
                "Consulting",
                "Project Management",
                "Administrative",
                "Education",
                "Medical",
                "Real Estate",
                "Trades",
                "General Management",
                "C-Suite"
              ]
            }
          },
          "decision_makers": {
            "title": "Decision-makers only",
            "type": "boolean",
            "description": "Only people flagged as decision-makers in their company.",
            "default": false
          },
          "countries": {
            "title": "Person's country",
            "type": "array",
            "description": "Full English country names. Example: United States, Germany, United Kingdom.",
            "items": {
              "type": "string"
            }
          },
          "states": {
            "title": "State / region",
            "type": "array",
            "description": "Example: California, Texas.",
            "items": {
              "type": "string"
            }
          },
          "cities": {
            "title": "City",
            "type": "array",
            "description": "City where the person lives. Example: Austin, London.",
            "items": {
              "type": "string"
            }
          },
          "skills": {
            "title": "Profile skills",
            "type": "array",
            "description": "Any of. Example: salesforce, python.",
            "items": {
              "type": "string"
            }
          },
          "programming_languages": {
            "title": "Writes code in (GitHub)",
            "type": "array",
            "description": "Languages of the person's public GitHub code. Example: Rust, Go, TypeScript.",
            "items": {
              "type": "string"
            }
          },
          "industries": {
            "title": "Company industry",
            "type": "array",
            "description": "LinkedIn industry names. Example: Software Development, Financial Services, Hospitals and Health Care.",
            "items": {
              "type": "string"
            }
          },
          "company_size_min": {
            "title": "Company size, from (employees)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum employees at the current company."
          },
          "company_size_max": {
            "title": "Company size, to (employees)",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum employees at the current company."
          },
          "company_countries": {
            "title": "Company HQ country",
            "type": "array",
            "description": "Country of the company headquarters. Example: United States.",
            "items": {
              "type": "string"
            }
          },
          "technologies": {
            "title": "Company website uses",
            "type": "array",
            "description": "Technologies detected on the company website, any of. Example: HubSpot, Salesforce, Shopify.",
            "items": {
              "type": "string"
            }
          },
          "company_hiring": {
            "title": "Company is hiring now",
            "type": "boolean",
            "description": "Only companies with open job postings.",
            "default": false
          },
          "funded_since": {
            "title": "Last funding round on or after",
            "pattern": "^$|^\\d{4}(-\\d{2})?(-\\d{2})?$",
            "type": "string",
            "description": "YYYY or YYYY-MM. Example: 2025-06."
          },
          "founded_after": {
            "title": "Company founded in or after",
            "minimum": 1800,
            "maximum": 2100,
            "type": "integer",
            "description": "Only companies founded in this year or later. Example: 2018."
          },
          "domains": {
            "title": "Works at (domains)",
            "type": "array",
            "description": "Current employer website. Example: stripe.com.",
            "items": {
              "type": "string"
            }
          },
          "companies": {
            "title": "Works at (LinkedIn company)",
            "type": "array",
            "description": "Company page slug or URL. Example: stripe or https://www.linkedin.com/company/stripe.",
            "items": {
              "type": "string"
            }
          },
          "exclude_domains": {
            "title": "Exclude employers (domains)",
            "type": "array",
            "description": "Skip people at these companies — your customers, your own team.",
            "items": {
              "type": "string"
            }
          },
          "new_in_role_days": {
            "title": "Started current role within N days",
            "minimum": 30,
            "maximum": 730,
            "type": "integer",
            "description": "New leaders re-pick vendors in their first 90 days. Counted from the profile snapshot date."
          },
          "past_companies": {
            "title": "Used to work at",
            "type": "array",
            "description": "Alumni of a company (LinkedIn slug or URL) who have left — e.g. ex-customers of a competitor. Current staff are excluded.",
            "items": {
              "type": "string"
            }
          },
          "overdue_only": {
            "title": "Ready to move",
            "type": "boolean",
            "description": "Only people in their role 30%+ longer than their usual tenure.",
            "default": false
          },
          "likes_posts_of": {
            "title": "Engaged with LinkedIn posts of",
            "type": "array",
            "description": "Company or person slug. People who liked, shared or commented on their posts. Example: hubspot.",
            "items": {
              "type": "string"
            }
          },
          "engages_with_topics": {
            "title": "Talks about",
            "type": "array",
            "description": "Their LinkedIn likes, comments and posts mention the topic. Example: kubernetes, revops.",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Max people",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "How many people to return. Each person is one paid result.",
            "default": 100
          },
          "onlyWithContacts": {
            "title": "Only people with an email or phone",
            "type": "boolean",
            "description": "Skip people with no work email, personal email or phone.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}