{
  "openapi": "3.0.1",
  "info": {
    "title": "Company Job Openings API - Hiring Signals by Company",
    "description": "Get job openings for any company by domain, or discover companies hiring for a profession. Returns title, category, seniority, location, salary, first and last seen dates and apply links. Filter by category, recency and status. Pay per result. Bring your own API key.",
    "version": "0.1",
    "x-build-id": "n2ni8W4aJ45FeC2Nu"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nabeelbaghoor~company-job-openings-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nabeelbaghoor-company-job-openings-api",
        "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/nabeelbaghoor~company-job-openings-api/runs": {
      "post": {
        "operationId": "runs-sync-nabeelbaghoor-company-job-openings-api",
        "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/nabeelbaghoor~company-job-openings-api/run-sync": {
      "post": {
        "operationId": "run-sync-nabeelbaghoor-company-job-openings-api",
        "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": {
          "companyDomains": {
            "title": "Company domains",
            "type": "array",
            "description": "Look up job openings for these companies by domain, e.g. `stripe.com`, `datadoghq.com`. Provide these OR use the Discover fields below.",
            "items": {
              "type": "string"
            }
          },
          "onetCodes": {
            "title": "Discover: O*NET occupation codes",
            "type": "array",
            "description": "Discover companies hiring for these O*NET codes, e.g. `15-1252.00` (software developers), `13-1161.00` (marketing analysts). Used only when no company domains are given.",
            "items": {
              "type": "string"
            }
          },
          "discoverLocation": {
            "title": "Discover: location",
            "type": "string",
            "description": "Country name or US state name/abbreviation to scope discovery, e.g. `United States`, `California`, `CA`."
          },
          "seniority": {
            "title": "Discover: seniority",
            "enum": [
              "",
              "founder",
              "c_level",
              "partner",
              "president",
              "vice_president",
              "head",
              "director",
              "manager",
              "mid_senior",
              "junior"
            ],
            "type": "string",
            "description": "Seniority to scope discovery (discover mode only).",
            "default": ""
          },
          "categories": {
            "title": "Job categories",
            "type": "array",
            "description": "Limit openings to these job categories.",
            "items": {
              "type": "string",
              "enum": [
                "administration",
                "consulting",
                "data_analysis",
                "design",
                "directors",
                "education",
                "engineering",
                "finance",
                "healthcare_services",
                "human_resources",
                "information_technology",
                "internship",
                "legal",
                "management",
                "marketing",
                "military_and_protective_services",
                "operations",
                "purchasing",
                "product_management",
                "quality_assurance",
                "real_estate",
                "research",
                "sales",
                "software_development",
                "support",
                "manual_work",
                "food"
              ]
            }
          },
          "activeOnly": {
            "title": "Active openings only",
            "type": "boolean",
            "description": "Only openings that are still open and recently seen.",
            "default": true
          },
          "notClosed": {
            "title": "Not closed",
            "type": "boolean",
            "description": "Exclude openings detected as closed (ignores last-seen recency).",
            "default": false
          },
          "withDescriptionOnly": {
            "title": "With description only",
            "type": "boolean",
            "description": "Only openings that have a description.",
            "default": false
          },
          "withLocationOnly": {
            "title": "With location only",
            "type": "boolean",
            "description": "Only openings that have a parsed location.",
            "default": false
          },
          "firstSeenAtFrom": {
            "title": "First seen from",
            "type": "string",
            "description": "Only openings first seen on or after this date. ISO 8601, e.g. `2026-07-01`. In discover mode this maps to found-at-from."
          },
          "firstSeenAtUntil": {
            "title": "First seen until",
            "type": "string",
            "description": "Only openings first seen on or before this date. ISO 8601, e.g. `2026-07-23`."
          },
          "lastSeenAtFrom": {
            "title": "Last seen from",
            "type": "string",
            "description": "Only openings last seen on or after this date. ISO 8601 (company mode)."
          },
          "lastSeenAtUntil": {
            "title": "Last seen until",
            "type": "string",
            "description": "Only openings last seen on or before this date. ISO 8601 (company mode)."
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Stop after this many job openings (1-5,000). Each API page consumes one credit against your key. You are charged per result returned."
          },
          "apiKey": {
            "title": "API Key",
            "type": "string",
            "description": "Your PredictLeads API Key (sent as X-Api-Key). Required. Get it from your PredictLeads subscription page. Stored securely and never logged."
          },
          "apiToken": {
            "title": "API Token",
            "type": "string",
            "description": "Your PredictLeads API Token (sent as X-Api-Token). Required. Stored securely and never logged."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}