{
  "openapi": "3.0.1",
  "info": {
    "title": "B2B Leads Finder: Companies Hiring Now, With Contact Details",
    "description": "Companies that are hiring right now, each with the contact details their own website publishes. A prospect list with a buying signal attached.",
    "version": "0.1",
    "x-build-id": "aNaavRWVP53Ze6MAF"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/glitchbound~b2b-leads-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-glitchbound-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/glitchbound~b2b-leads-finder/runs": {
      "post": {
        "operationId": "runs-sync-glitchbound-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/glitchbound~b2b-leads-finder/run-sync": {
      "post": {
        "operationId": "run-sync-glitchbound-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": {
          "minOpenedLast30": {
            "title": "Minimum roles opened in the last 30 days",
            "type": "integer",
            "description": "The buying signal. A company that opened 20+ roles this month is expanding, and expansion is when budget appears. Leave empty for all."
          },
          "minOpenedLast7": {
            "title": "Minimum roles opened in the last 7 days",
            "type": "integer",
            "description": "Tighter and fresher than the 30-day figure. Use it when you want this week's movers rather than this month's."
          },
          "growingOnly": {
            "title": "Only companies that are growing",
            "type": "boolean",
            "description": "Opened more roles than they closed over 30 days. Needs closure history, so companies we cannot judge yet are excluded rather than assumed.",
            "default": false
          },
          "shrinkingOnly": {
            "title": "Only companies that are shrinking",
            "type": "boolean",
            "description": "Closed more than they opened. A churn warning, and the signal no one-off scrape can compute: you cannot see a job close if you were not there when it opened.",
            "default": false
          },
          "withContactOnly": {
            "title": "Only companies we can reach",
            "type": "boolean",
            "description": "Only companies whose own website publishes a role address, a phone number in a tel: link, or their own social profiles.",
            "default": true
          },
          "withEmailOnly": {
            "title": "Only companies with a published email",
            "type": "boolean",
            "description": "Stricter than the above: a role address such as info@ or sales@ must be present. Never a named individual's address, and never guessed.",
            "default": false
          },
          "hiringLabels": {
            "title": "Hiring pace",
            "type": "array",
            "description": "surging (top 1%), growing (top 10%), steady, slow, quiet.",
            "items": {
              "type": "string"
            }
          },
          "minOpenRoles": {
            "title": "Minimum open roles",
            "type": "integer",
            "description": "Company size proxy. Filters out one-role boards."
          },
          "company": {
            "title": "Company name contains",
            "type": "array",
            "description": "Match specific accounts by name.",
            "items": {
              "type": "string"
            }
          },
          "department": {
            "title": "Hiring for these functions",
            "type": "array",
            "description": "Match the departments a company is hiring into: Sales, Engineering, Finance. A company opening its first roles in a function has just changed strategy.",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "Location contains",
            "type": "array",
            "description": "Match where the company is hiring.",
            "items": {
              "type": "string"
            }
          },
          "enteringNewDepartments": {
            "title": "Only companies entering a new function",
            "type": "boolean",
            "description": "Companies hiring into a department they were not in before. The strongest strategy-change signal in the dataset.",
            "default": false
          },
          "includeStaffingAgencies": {
            "title": "Include staffing agencies",
            "type": "boolean",
            "description": "Off by default. Agencies post on behalf of others and otherwise dominate every ranking.",
            "default": false
          },
          "platforms": {
            "title": "Applicant tracking system",
            "type": "array",
            "description": "Restrict to certain applicant tracking systems, one per line, e.g. greenhouse or workday. Leave empty to search every platform in the index.",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Maximum companies to return",
            "type": "integer",
            "description": "Ceiling on rows returned and charged. 1,000 default, 10,000 max."
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}