> ## 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.

# LeadMagic: Jobs Finder

> Searches for job postings based on various criteria. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Searches for job postings based on various criteria.

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

## 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(
  'leadmagic_jobs_finder',
  {
    "company_name": "Example Corp",
    "company_website": "https://example.com",
    "job_title": "VP of Engineering"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute leadmagic_jobs_finder --input '{
  "company_name": "Example Corp",
  "company_website": "https://example.com",
  "job_title": "VP of Engineering"
}' --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"]}}
{
  "data": {
    "total_count": 123,
    "page": 123,
    "per_page": 123,
    "total_pages": 123,
    "results": [
      {
        "company": {
          "name": "Example",
          "website_url": "https://example.com",
          "linkedin_url": "https://www.linkedin.com/in/jane-doe"
        },
        "title": "VP of Engineering",
        "location": "example"
      }
    ]
  }
}
```

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

## Input reference

Searches for job postings based on various criteria.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.company_name` | `string` | No | — | Filter by company name. |
| `payload.company_website` | `string` | No | — | Filter by company website. |
| `payload.job_title` | `string` | No | — | Filter by job title. |
| `payload.location` | `string` | No | — | Filter by job location. |
| `payload.experience_level` | `"entry" \| "mid" \| "senior" \| "executive"` | No | — | Required experience level. Allowed: `entry`, `mid`, `senior`, `executive`. |
| `payload.job_description` | `string` | No | — | Keywords from the job description. |
| `payload.country_id` | `string` | No | — | Filter jobs by country ID. |
| `payload.page` | `integer` | No | `1` | Minimum: 1. |
| `payload.per_page` | `integer` | No | `20` | Number of results per page. Maximum of 50. Minimum: 1. Maximum: 50. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Searches for job postings based on various criteria.",
    "properties": {
      "company_name": {
        "type": "string",
        "description": "Filter by company name."
      },
      "company_website": {
        "type": "string",
        "description": "Filter by company website."
      },
      "job_title": {
        "type": "string",
        "description": "Filter by job title."
      },
      "location": {
        "type": "string",
        "description": "Filter by job location."
      },
      "experience_level": {
        "type": "string",
        "description": "Required experience level.",
        "enum": [
          "entry",
          "mid",
          "senior",
          "executive"
        ]
      },
      "job_description": {
        "type": "string",
        "description": "Keywords from the job description."
      },
      "country_id": {
        "type": "string",
        "description": "Filter jobs by country ID."
      },
      "page": {
        "type": "integer",
        "default": 1,
        "minimum": 1
      },
      "per_page": {
        "type": "integer",
        "description": "Number of results per page. Maximum of 50.",
        "default": 20,
        "minimum": 1,
        "maximum": 50
      }
    },
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.total_count` | `integer` | Yes | — | — |
| `result.data.page` | `integer` | Yes | — | — |
| `result.data.per_page` | `integer` | Yes | — | — |
| `result.data.total_pages` | `integer` | Yes | — | — |
| `result.data.results` | `array` | Yes | — | — |
| `result.data.results[].company` | `object` | No | — | — |
| `result.data.results[].company.name` | `string` | No | — | — |
| `result.data.results[].company.website_url` | `string` | No | — | — |
| `result.data.results[].company.linkedin_url` | `string` | No | — | — |
| `result.data.results[].company.twitter_handle` | `string` | No | — | — |
| `result.data.results[].company.github_url` | `string` | No | — | — |
| `result.data.results[].company.is_agency` | `boolean` | No | — | — |
| `result.data.results[].title` | `string` | No | — | — |
| `result.data.results[].location` | `string` | No | — | — |
| `result.data.results[].types` | `array` | No | — | — |
| `result.data.results[].types[].id` | `integer` | No | — | — |
| `result.data.results[].types[].name` | `string` | No | — | — |
| `result.data.results[].cities` | `array` | No | — | — |
| `result.data.results[].cities[].geonameid` | `integer` | No | — | — |
| `result.data.results[].cities[].asciiname` | `string` | No | — | — |
| `result.data.results[].cities[].name` | `string` | No | — | — |
| `result.data.results[].cities[].country` | `object` | No | — | — |
| `result.data.results[].cities[].country.id` | `integer` | No | — | — |
| `result.data.results[].cities[].country.code` | `string` | No | — | — |
| `result.data.results[].cities[].country.name` | `string` | No | — | — |
| `result.data.results[].has_remote` | `boolean` | No | — | — |
| `result.data.results[].published` | `string` | No | — | Format: `date-time`. |
| `result.data.results[].expired` | `string \| null` | No | — | Format: `date-time`. |
| `result.data.results[].application_url` | `string` | No | — | — |
| `result.data.results[].language` | `string` | No | — | — |
| `result.data.results[].salary_min` | `string` | No | — | — |
| `result.data.results[].salary_max` | `string` | No | — | — |
| `result.data.results[].salary_currency` | `string` | No | — | — |
| `result.data.results[].experience_level` | `string` | No | — | — |
| `result.data.results[].description` | `string` | No | — | Full job description text |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

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

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "total_count": {
            "type": "integer"
          },
          "page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total_pages": {
            "type": "integer"
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Job search result",
              "properties": {
                "company": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "website_url": {
                      "type": "string"
                    },
                    "linkedin_url": {
                      "type": "string"
                    },
                    "twitter_handle": {
                      "type": "string"
                    },
                    "github_url": {
                      "type": "string"
                    },
                    "is_agency": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                },
                "title": {
                  "type": "string"
                },
                "location": {
                  "type": "string"
                },
                "types": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "integer"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "cities": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "geonameid": {
                        "type": "integer"
                      },
                      "asciiname": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "country": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "integer"
                          },
                          "code": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "has_remote": {
                  "type": "boolean"
                },
                "published": {
                  "type": "string",
                  "format": "date-time"
                },
                "expired": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "application_url": {
                  "type": "string"
                },
                "language": {
                  "type": "string"
                },
                "salary_min": {
                  "type": "string"
                },
                "salary_max": {
                  "type": "string"
                },
                "salary_currency": {
                  "type": "string"
                },
                "experience_level": {
                  "type": "string"
                },
                "description": {
                  "type": "string",
                  "description": "Full job description text"
                }
              },
              "additionalProperties": false
            }
          }
        },
        "required": [
          "total_count",
          "page",
          "per_page",
          "total_pages",
          "results"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

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

## Related documentation

* [LeadMagic provider guide](https://deepline.com/docs/providers/leadmagic/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.