> Documentation index: https://docs.scrapier.io/llms.txt
> Auth: header `X-API-Key: <key>` · Base: https://api.scrapier.io/api/v2 · Synchronous; paginate with `cursor` ← `data.next_cursor`.

# LinkedIn Jobs Search

Structured LinkedIn data: every input is optional. Cursor-paginated, 1 credit per successful call.

`GET|POST https://api.scrapier.io/api/v2/linkedin-jobs/` · 1 credit per successful call · Cursor-paginated

## Overview

Call `GET /api/v2/linkedin-jobs/`. The results are in `data.jobs`; send `data.next_cursor` back as `cursor` to get the next page. 9 optional parameters refine the call (see Parameters).

## Request

```bash
curl -G "https://api.scrapier.io/api/v2/linkedin-jobs/" \
  -H "X-API-Key: YOUR_API_KEY" \
  --max-time 210
```

```python
import requests

resp = requests.get(
    "https://api.scrapier.io/api/v2/linkedin-jobs/",
    headers={"X-API-Key": "YOUR_API_KEY"},
    params={},
    timeout=210,
)
body = resp.json()
if not resp.ok:
    raise RuntimeError(body.get("error") or body.get("detail"))

print(body["data"]["jobs"])
```

POST with a JSON body works too (same parameters; the body is merged over the query string).

## Parameters

> **Note:** No parameter is strictly required, but send at least the inputs shown in the example.

| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| `X-API-Key` (header) | string | yes | — | Your API key. |
| `queries` | string | no | `React Developer` | Job title / keywords. One page of jobs per call. Optional if a location is given. |
| `location` | string | no | `Canada` | Broad location / country. Locked in cursor. |
| `cursor` | string | no | — | Pagination cursor returned in the previous response's `next_cursor`. Pass it back unchanged to fetch the next page. When `next_cursor` is null, you have reached the last page. |
| `fetch_details` | boolean | no | `true` | Fetch each job detail page. Locked in cursor. |
| `experience` | string | no | — | Experience level filter. One of: `Intern`, `Assistant`, `Junior`, `Mid-Senior`, `Director`, `Executive`. Locked in cursor. |
| `employment_type` | string | no | — | Employment type filter. One of: `Full-time`, `Part-time`, `Contract`, `Temporary`, `Volunteer`, `Internship`, `Other`. Locked in cursor. |
| `work_arrangement` | string | no | — | On-site / Remote / Hybrid. One of: `On-site`, `Remote`, `Hybrid`. Locked in cursor. |
| `posted_within` | string | no | `Any Time` | Date-posted filter. One of: `Any Time`, `Past 24 hours`, `Past Week`, `Past Month`. Locked in cursor. |
| `easy_apply` | boolean | no | `false` | Only Easy Apply jobs. Locked in cursor. |
| `use_proxy` | boolean | no | `true` | Route the request through Scrapier's residential proxy pool. Default: `true`. Leave as is unless support tells you otherwise. |
| `raw_data` | boolean | no | `false` | When true, the response carries the full raw upstream payload(s) the scraper received (GraphQL / JSON API bodies, HTML, embedded JSON-LD -- exactly as the platform returned them) under `raw_responses`, in place of the formatted items. When false (default) you get the formatted output. Pagination (`cursor` / `next_cursor`) works the same in both modes. |

## Response

HTTP 200. Results are in `data.jobs`. Sample from the live catalog, arrays trimmed to 3 items.

```json
{
  "success": true,
  "data": {
    "query": "React Developer",
    "location": "Canada",
    "page": 1,
    "page_size": 25,
    "jobs": [
      {
        "job_id": "4424000998",
        "job_url": "https://www.linkedin.com/jobs/view/4424000998",
        "job_title": "React Developer - Junior Level",
        "company_name": "Mercor",
        "location": "Toronto, Ontario, Canada",
        "time_posted": "6 days ago",
        "num_applicants": "Over 200 applicants",
        "seniority_level": "Not Applicable",
        "employment_type": "Part-time",
        "job_function": "Engineering and Information Technology",
        "industries": "Software Development",
        "easy_apply": false,
        "apply_url": "https://www.linkedin.com/jobs/view/4424000998",
        "search_keyword": "React Developer",
        "search_location": "Canada",
        "scraped_at": "2026-06-25T12:00:00.000Z"
      }
    ],
    "next_cursor": "eyJsayI6eyJsb2NhdGlvbiI6IkNhbmFkYSJ9LCJwIjoyLCJxIjoiUmVhY3QgRGV2ZWxvcGVyIiwicyI6MjV9"
  }
}
```

## Response fields

| Field | Type | Example | Description |
|---|---|---|---|
| `query` | string | `React Developer` |  |
| `location` | string | `Canada` |  |
| `page` | integer | `1` |  |
| `page_size` | integer | `25` |  |
| `jobs` | array | `[1 item]` | The results. |
| `next_cursor` | string | `eyJsayI6eyJsb2NhdGlvbiI6IkNhbmFkYSJ9LCJwIjoyL…` | Pass back as `cursor` for the next page. `null` on the last page. |
| `jobs[].job_id` | string | `4424000998` |  |
| `jobs[].job_url` | string | `https://www.linkedin.com/jobs/view/4424000998` |  |
| `jobs[].job_title` | string | `React Developer - Junior Level` |  |
| `jobs[].company_name` | string | `Mercor` |  |
| `jobs[].location` | string | `Toronto, Ontario, Canada` |  |
| `jobs[].time_posted` | string | `6 days ago` |  |
| `jobs[].num_applicants` | string | `Over 200 applicants` |  |
| `jobs[].seniority_level` | string | `Not Applicable` |  |
| `jobs[].employment_type` | string | `Part-time` |  |
| `jobs[].job_function` | string | `Engineering and Information Technology` |  |
| `jobs[].industries` | string | `Software Development` |  |
| `jobs[].easy_apply` | boolean | `false` |  |
| `jobs[].apply_url` | string | `https://www.linkedin.com/jobs/view/4424000998` |  |
| `jobs[].search_keyword` | string | `React Developer` |  |
| `jobs[].search_location` | string | `Canada` |  |
| `jobs[].scraped_at` | string | `2026-06-25T12:00:00.000Z` |  |

## Pagination

Pass `data.next_cursor` back as `cursor` until it is `null`. Required inputs are ignored once a cursor is sent. Each page is one billed call.

```python
import requests

URL = "https://api.scrapier.io/api/v2/linkedin-jobs/"
HEADERS = {"X-API-Key": "YOUR_API_KEY"}
params = {}
items = []

for _ in range(10):  # each page is one billed call
    resp = requests.get(URL, headers=HEADERS, params=params, timeout=210)
    resp.raise_for_status()
    data = resp.json()["data"]
    items.extend(data.get("jobs") or [])
    if not data.get("next_cursor"):  # None = last page
        break
    params = {"cursor": data["next_cursor"]}
```

## Errors

Failed calls are free. Branch on HTTP status; the message is in `error` (or `detail`). See https://docs.scrapier.io/errors.md

- **400** Bad input. The exact message varies by endpoint. `{"success":false,"error":"…"}`
- **402** Balance below the endpoint's price. `{"error":"Insufficient credits. Buy more to scrape more.","balance":1,"required":2}`
- **403** Invalid or unknown API key. `{"detail":"Authentication service unavailable or invalid API key."}`
- **429** Throttled — wait for Retry-After. `{"detail":"Request was throttled. Expected available in N seconds."}`
- **404** unknown slug · **503** busy (retry after `Retry-After`) · **5xx** upstream failure or timeout (retry with backoff).

## Notes

- Locked into the cursor: `location`, `fetch_details`, `experience`, `employment_type`, `work_arrangement`, `posted_within`, `easy_apply`. Set them on the first call; later pages reuse them.

## Related

- [LinkedIn Ads](https://docs.scrapier.io/api-reference/linkedin/linkedin-ad-library.md): Structured LinkedIn data: send `urls`. Cursor-paginated, 1 credit per successful call.
- [LinkedIn Company About](https://docs.scrapier.io/api-reference/linkedin/linkedin-company-about.md): Structured LinkedIn data: send `urls`. Cursor-paginated, 1 credit per successful call.
- [LinkedIn Search Posts By Keyword](https://docs.scrapier.io/api-reference/linkedin/linkedin-post-search.md): Structured LinkedIn data: send `queries`. Cursor-paginated, 1 credit per successful call.
- [LinkedIn Post Transcript](https://docs.scrapier.io/api-reference/linkedin/linkedin-post-transcript.md): Structured LinkedIn data: send `urls`. Single lookup, 1 credit per successful call.
