> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenWeb Ninja: Openwebninja Jsearch Estimated Salary

> Estimating salaries for a title and location. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Estimating salaries for a title and location.

> [!NOTE]
>
> Tool ID: `openwebninja_jsearch_estimated_salary`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'openwebninja_jsearch_estimated_salary',
  {
    "job_title": "VP of Engineering",
    "location": "example"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute openwebninja_jsearch_estimated_salary --input '{
  "job_title": "VP of Engineering",
  "location": "example"
}' --json
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "status": "example",
  "request_id": "request_123",
  "parameters": {}
}
```

Use `deepline describe openwebninja_jsearch_estimated_salary --json` for the latest machine-readable contract.

## Input reference

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.job_title` | `string` | Yes | — | Minimum length: 1. |
| `payload.location` | `string` | Yes | — | Minimum length: 1. |
| `payload.location_type` | `"ANY" \| "CITY" \| "STATE" \| "COUNTRY"` | No | — | Allowed: `ANY`, `CITY`, `STATE`, `COUNTRY`. |
| `payload.years_of_experience` | `"ALL" \| "LESS_THAN_ONE" \| "ONE_TO_THREE" \| "FOUR_TO_SIX" \| "SEVEN_TO_NINE" \| "TEN_TO_FOURTEEN" \| "ABOVE_FIFTEEN"` | No | — | Allowed: `ALL`, `LESS_THAN_ONE`, `ONE_TO_THREE`, `FOUR_TO_SIX`, `SEVEN_TO_NINE`, `TEN_TO_FOURTEEN`, `ABOVE_FIFTEEN`. |
| `payload.fields` | `string` | No | — | Minimum length: 1. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "properties": {
      "job_title": {
        "type": "string",
        "minLength": 1
      },
      "location": {
        "type": "string",
        "minLength": 1
      },
      "location_type": {
        "type": "string",
        "enum": [
          "ANY",
          "CITY",
          "STATE",
          "COUNTRY"
        ]
      },
      "years_of_experience": {
        "type": "string",
        "enum": [
          "ALL",
          "LESS_THAN_ONE",
          "ONE_TO_THREE",
          "FOUR_TO_SIX",
          "SEVEN_TO_NINE",
          "TEN_TO_FOURTEEN",
          "ABOVE_FIFTEEN"
        ]
      },
      "fields": {
        "type": "string",
        "minLength": 1
      }
    },
    "required": [
      "job_title",
      "location"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Normalized OpenWebNinja result envelope.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.status` | `string` | No | — | — |
| `result.request_id` | `string` | No | — | — |
| `result.parameters` | `record` | No | — | — |
| `result.data` | `unknown` | No | — | — |
| `result.cursor` | `string` | No | — | — |
| `result.next_cursor` | `string` | No | — | — |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Normalized OpenWebNinja result envelope.",
    "properties": {
      "status": {
        "type": "string"
      },
      "request_id": {
        "type": "string"
      },
      "parameters": {
        "type": "object",
        "additionalProperties": {}
      },
      "data": {},
      "cursor": {
        "type": "string"
      },
      "next_cursor": {
        "type": "string"
      }
    },
    "additionalProperties": true
  }
  ```
</details>

## Deepline cost

* Pricing model: `per_result` (per result).
* Estimated Deepline credits: `0.07` per pricing unit.

## Related documentation

* [OpenWeb Ninja provider guide](https://deepline.com/docs/providers/openwebninja/guide.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.