# Search jobs

Searches and continues through public LinkedIn job cards by absolute offset, with filters, stable continuation metadata, and explicit result-card limitations.

- Platform: [LinkedIn](https://docs.upscrape.com/docs/platforms/linkedin)
- Capability ID: `linkedin.jobs.search`
- Cost: 1 credit per request
- Maximum runtime: 120 seconds
- Execute endpoint: `POST https://data.upscrape.com/execute`

## Request

Use the exact public capability ID in the shared execute envelope.

```bash
curl --request POST \
  --url https://data.upscrape.com/execute \
  --header "Authorization: Bearer $UPSCRAPE_API_KEY" \
  --header "Content-Type: application/json" \
  --header "Prefer: wait=30" \
  --data '{
  "input": {
    "date_posted": "past_month",
    "keywords": "software engineer",
    "limit": 25,
    "location": "United States",
    "start": 0,
    "workplace_types": [
      "remote",
      "hybrid"
    ]
  },
  "capability": "linkedin.jobs.search"
}'
```

## Input


| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `company_id` | `string` | No | Optional numeric LinkedIn organization id to restrict the search to one company. |
| `date_posted` | `string` | No | Restrict jobs by their LinkedIn posting window. Allowed values: `any_time`, `past_24_hours`, `past_week`, `past_month`. Default: `any_time`. |
| `employment_types` | `array<string>` | No | Allowed values: `full_time`, `part_time`, `contract`, `temporary`, `internship`, `volunteer`, `other`. |
| `experience_levels` | `array<string>` | No | Allowed values: `internship`, `entry_level`, `associate`, `mid_senior`, `director`, `executive`. |
| `keywords` | `string` | No | Search terms, e.g. a job title or skill. |
| `limit` | `integer` | No | Maximum job results to return. Pages are walked in tens until this is met. From 1 to 400. Default: `25`. |
| `location` | `string` | No | Location filter as typed on LinkedIn, e.g. a country, region or city. |
| `max_pages` | `integer` | No | Maximum upstream page attempts in this call; no module page retries. Result limit may stop earlier. This is an upper bound: the host deadline may stop execution earlier. LinkedIn results may change between requests; pagination does not provide a consistent snapshot. From 1 to 40. Default: `40`. |
| `start` | `integer` | No | Absolute result offset for deterministic continuation with next_start. From 0 to 10000. Default: `0`. |
| `workplace_types` | `array<string>` | No | Allowed values: `on_site`, `remote`, `hybrid`. |

### Example input

```json
{
  "date_posted": "past_month",
  "keywords": "software engineer",
  "limit": 25,
  "location": "United States",
  "start": 0,
  "workplace_types": [
    "remote",
    "hybrid"
  ]
}
```

## Response

Successful output is returned in `results[0].data`.

Raw platform output is intentionally open-ended and may evolve with the upstream source.

### Illustrative sample output

This example shows one response. Values and optional fields vary with the data available.

```json
{
  "count": 25,
  "coverage": {
    "limitations": [
      "Search results contain LinkedIn's logged-out result-card projection; use linkedin.job.get for complete public job details.",
      "has_more and next_start are emitted when the requested limit or a later-page failure truncates collection."
    ],
    "missing_fields": [],
    "source": "linkedin_public_job_search",
    "status": "partial_public",
    "truncated_fields": [
      "results"
    ]
  },
  "date_posted": "past_month",
  "has_more": true,
  "keywords": "software engineer",
  "location": "United States",
  "next_start": 25,
  "results": [
    {
      "company_name": "General Motors",
      "company_url": "https://www.linkedin.com/company/general-motors",
      "job_id": "4419969671",
      "location": "Warren, MI",
      "posted_at": "2026-08-01",
      "title": "Senior Software Engineer – Go (Golang)",
      "url": "https://www.linkedin.com/jobs/view/4419969671",
      "urn": "urn:li:jobPosting:4419969671"
    },
    {
      "company_name": "General Motors",
      "company_url": "https://www.linkedin.com/company/general-motors",
      "job_id": "4419973506",
      "location": "Mountain View, CA",
      "posted_at": "2026-08-01",
      "title": "Senior Software Engineer – Go (Golang)",
      "url": "https://www.linkedin.com/jobs/view/4419973506",
      "urn": "urn:li:jobPosting:4419973506"
    },
    {
      "company_name": "JPMorganChase",
      "company_url": "https://www.linkedin.com/company/jpmorganchase",
      "job_id": "4453670973",
      "location": "New York, NY",
      "posted_at": "2026-08-13",
      "title": "Software Engineer III (Java/AWS)",
      "url": "https://www.linkedin.com/jobs/view/4453670973",
      "urn": "urn:li:jobPosting:4453670973"
    }
  ],
  "start": 0,
  "truncated": true,
  "workplace_types": [
    "remote",
    "hybrid"
  ]
}
```
### Illustrative output fields

Derived from the sample above for orientation only. These fields are not a fixed response schema.

| Path | Observed type | Example |
| --- | --- | --- |
| `count` | `integer` | 25 |
| `coverage` | `object` | 5 fields |
| `coverage.limitations` | `array` | 2 items |
| `coverage.missing_fields` | `array` | 0 items |
| `coverage.source` | `string` | linkedin_public_job_search |
| `coverage.status` | `string` | partial_public |
| `coverage.truncated_fields` | `array` | 1 items |
| `date_posted` | `string` | past_month |
| `has_more` | `boolean` | true |
| `keywords` | `string` | software engineer |
| `location` | `string` | United States |
| `next_start` | `integer` | 25 |
| `results` | `array` | 3 items |
| `results` | `array` | 3 items |
| `start` | `integer` | 0 |
| `truncated` | `boolean` | true |
| `workplace_types` | `array` | 2 items |
| `workplace_types` | `array` | 2 items |

## Execution behavior

A `200` response completed inline. A `202` response was queued; poll `GET /jobs/{id}` until the job reaches `completed` or `failed`. Use an `Idempotency-Key` when retrying must not create a duplicate logical job.

## Related documentation

- [Authentication](https://docs.upscrape.com/docs/api/authentication)
- [Jobs and results](https://docs.upscrape.com/docs/api/jobs)
- [Errors and retries](https://docs.upscrape.com/docs/api/errors)
- [Idempotency](https://docs.upscrape.com/docs/api/idempotency)
