{
  "openapi": "3.0.1",
  "info": {
    "title": "Hiring Leads with Contacts & Intent Signals",
    "description": "Find companies that are actively hiring and enrich them with public business contacts, evidence and sales intent scores.",
    "version": "0.1",
    "x-build-id": "LE2TtOsHUZbCtaFje"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/xavier_rx~hiring-leads-with-contacts/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-xavier_rx-hiring-leads-with-contacts",
        "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/xavier_rx~hiring-leads-with-contacts/runs": {
      "post": {
        "operationId": "runs-sync-xavier_rx-hiring-leads-with-contacts",
        "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/xavier_rx~hiring-leads-with-contacts/run-sync": {
      "post": {
        "operationId": "run-sync-xavier_rx-hiring-leads-with-contacts",
        "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",
        "required": [
          "startUrls",
          "targetRoles",
          "targetLocations",
          "recentDays",
          "minimumOpenJobs",
          "onlyMatchingCompanies",
          "onlyWithContact",
          "includeJobDetails",
          "maxJobsPerCompany",
          "maxPagesPerWebsite",
          "maxConcurrency"
        ],
        "properties": {
          "startUrls": {
            "title": "Company websites or job boards",
            "type": "array",
            "description": "Company websites or public Greenhouse, Lever and Ashby board URLs. Company websites are inspected for supported job-board links.",
            "default": [
              {
                "url": "https://jobs.ashbyhq.com/openai"
              }
            ],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "websiteMappings": {
            "title": "Optional board-to-website mappings",
            "type": "array",
            "description": "Optional mappings when a company website cannot be discovered from its board. Example: [{\"jobBoardUrl\":\"https://jobs.ashbyhq.com/openai\",\"websiteUrl\":\"https://openai.com\"}].",
            "items": {
              "type": "object",
              "properties": {
                "jobBoardUrl": {
                  "title": "Job board URL",
                  "type": "string",
                  "description": "Public Greenhouse, Lever or Ashby board URL."
                },
                "websiteUrl": {
                  "title": "Company website URL",
                  "type": "string",
                  "description": "Official public company website URL."
                },
                "companyName": {
                  "title": "Company name override",
                  "type": "string",
                  "description": "Optional display name for this company."
                }
              },
              "required": [
                "jobBoardUrl",
                "websiteUrl"
              ]
            },
            "default": []
          },
          "targetRoles": {
            "title": "Target role keywords",
            "type": "array",
            "description": "Keywords used to identify commercially relevant open roles. Leave empty to match every role.",
            "default": [
              "sales",
              "marketing",
              "growth",
              "customer success",
              "software engineer",
              "data engineer"
            ],
            "items": {
              "type": "string"
            }
          },
          "targetLocations": {
            "title": "Target location keywords",
            "type": "array",
            "description": "Optional locations such as United States, London, Brazil or Remote.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "recentDays": {
            "title": "Recent hiring window",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Jobs published or updated within this number of days count as recent.",
            "default": 30
          },
          "minimumOpenJobs": {
            "title": "Minimum open jobs",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Skip companies with fewer open jobs.",
            "default": 1
          },
          "onlyMatchingCompanies": {
            "title": "Require a target match",
            "type": "boolean",
            "description": "Output only companies with at least one role matching both role and location filters.",
            "default": false
          },
          "onlyWithContact": {
            "title": "Require public contact details",
            "type": "boolean",
            "description": "Output only companies with at least one public business email or phone number.",
            "default": false
          },
          "includeJobDetails": {
            "title": "Include job details",
            "type": "boolean",
            "description": "Include normalized individual job records in each lead.",
            "default": false
          },
          "offerContext": {
            "title": "Your offer context",
            "type": "string",
            "description": "Optional short description used to make the suggested outreach more relevant.",
            "default": ""
          },
          "maxJobsPerCompany": {
            "title": "Maximum jobs per company",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum number of public jobs fetched and analyzed for each company.",
            "default": 500
          },
          "maxPagesPerWebsite": {
            "title": "Maximum website pages",
            "minimum": 1,
            "maximum": 15,
            "type": "integer",
            "description": "Maximum homepage, contact, about, team and careers pages inspected per company.",
            "default": 5
          },
          "maxConcurrency": {
            "title": "Maximum concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum number of company sources analyzed simultaneously.",
            "default": 5
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}