# discoverJobOpenings

**Identifier:** `predictleads_discoverJobOpenings`

**Provider:** [PredictLeads](https://kirha.com/providers/predictleads.md)

Search job openings across all companies by title words, occupation, seniority or company location. Use it to find which companies are hiring for a role, e.g., who is recruiting sales engineers in Germany.

## Run it with the CLI

```bash
kirha tools run predictleads_discoverJobOpenings \
  --input '{}'
```

`--input` takes a JSON object that matches the input schema. Pass `--input -` to read it from stdin.

## Call it over HTTP

```bash
curl https://api.kirha.com/tools/v1/execute \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: **********' \
  --data '{
  "tool_name": "predictleads_discoverJobOpenings",
  "input": {}
}'
```

Replace the stars with an API key from https://app.kirha.com/api-keys.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "activeOnly": {
      "type": "boolean"
    },
    "foundFrom": {
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "type": "string"
    },
    "limit": {
      "default": 20,
      "maximum": 50,
      "minimum": 1,
      "type": "integer"
    },
    "location": {
      "description": "Country name, or US state name or abbreviation, e.g., France",
      "minLength": 2,
      "type": "string"
    },
    "onetCodes": {
      "description": "O*NET occupation codes, e.g., 41-9031.00",
      "items": {
        "pattern": "^\\d{2}-\\d{4}\\.\\d{2}$",
        "type": "string"
      },
      "minItems": 1,
      "type": "array"
    },
    "page": {
      "maximum": 9007199254740991,
      "minimum": 1,
      "type": "integer"
    },
    "seniority": {
      "enum": [
        "founder",
        "c_level",
        "partner",
        "president",
        "vice_president",
        "head",
        "director",
        "manager",
        "mid_senior",
        "junior"
      ],
      "type": "string"
    },
    "title": {
      "description": "Words that must all appear in the title, e.g., product manager",
      "minLength": 2,
      "type": "string"
    }
  },
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "context": {
      "type": "string"
    },
    "jobs": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "categories": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "closed": {
            "type": "boolean"
          },
          "companyDomain": {
            "type": "string"
          },
          "companyName": {
            "type": "string"
          },
          "contractTypes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "description": {
            "type": "string"
          },
          "firstSeenOn": {
            "type": "string"
          },
          "jobId": {
            "type": "string"
          },
          "lastSeenOn": {
            "type": "string"
          },
          "location": {
            "type": "string"
          },
          "occupation": {
            "type": "string"
          },
          "onetCode": {
            "type": "string"
          },
          "postedOn": {
            "type": "string"
          },
          "salary": {
            "type": "string"
          },
          "salaryHighUsd": {
            "type": "number"
          },
          "salaryLowUsd": {
            "type": "number"
          },
          "salaryTimeUnit": {
            "type": "string"
          },
          "seniority": {
            "type": "string"
          },
          "tags": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "jobId",
          "categories",
          "contractTypes",
          "closed",
          "tags"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "total": {
      "type": "number"
    }
  },
  "required": [
    "context",
    "total",
    "jobs"
  ],
  "type": "object"
}
```

-----

[All PredictLeads tools](https://kirha.com/providers/predictleads.md) · [< Back to tools list](https://kirha.com/tools.md)