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

# Glassdoor Jobs

Structured Glassdoor data: send `queries`. Cursor-paginated, 1 credit per successful call.

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

## Overview

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

## Request

```bash
curl -G "https://api.scrapier.io/api/v2/glassdoor-jobs/" \
  -H "X-API-Key: YOUR_API_KEY" \
  --data-urlencode "queries=Software Engineer" \
  --max-time 210
```

```python
import requests

resp = requests.get(
    "https://api.scrapier.io/api/v2/glassdoor-jobs/",
    headers={"X-API-Key": "YOUR_API_KEY"},
    params={"queries": "Software Engineer"},
    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

| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| `X-API-Key` (header) | string | yes | — | Your API key. |
| `queries` | string | yes | e.g. `Software Engineer` | Search keyword. Required first call. 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. |
| `location` | string | no | — | Locked in cursor. |
| `base_url` | string | no | `https://www.glassdoor.com` | Locked in cursor. |
| `radius` | integer | no | `18` | One of: `0`, `6`, `12`, `18`, `31`, `62`, `124`. |
| `include_no_salary_job` | boolean | no | `false` | — |
| `company_name` | string | no | — | Locked in cursor. |
| `min_salary` | integer | no | `0` | — |
| `max_salary` | integer | no | `0` | — |
| `from_age` | string | no | `ANY` | — |
| `job_type` | string | no | `all` | — |
| `seniority_type` | string | no | `all` | — |
| `industry_type` | string | no | `ALL` | — |
| `domain_type` | string | no | `ALL` | — |
| `employer_sizes` | string | no | `ALL` | — |
| `application_type` | string | no | `ALL` | — |
| `remote_work_type` | boolean | no | `false` | — |
| `min_rating` | string | no | `0` | — |
| `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": {
    "queries": "Software Engineer",
    "page": 1,
    "page_size": 30,
    "jobs": [
      {
        "job_title": "Software Engineer (Remote Opportunity)",
        "job_id": "1010207918748",
        "job_url": "https://www.glassdoor.com/partner/jobListing.htm?jobListingId=1010207918748",
        "job_location": {
          "unknown": "Phoenix, AZ",
          "city": "phoenix",
          "country": "us",
          "zip": "85001"
        },
        "job_salary": {
          "currency": "USD",
          "currency_symbol": "$",
          "pay_period": "annual",
          "estimated": true
        },
        "company_name": "Universal Background Screening, Inc.",
        "keyword": "Software Engineer",
        "position": 1,
        "scraped_at": "2026-09-24T09:13:09.786Z"
      }
    ],
    "next_cursor": "eyJrdyI6IlNvZnR3YXJlIEVuZ2luZWVyIiwiY2ZnIjB7fSwibG9jIjowLCJwbiI6MiwicGMiOiJhYmMxMjMiLCJzZWVuIjpbXX0"
  }
}
```

## Response fields

| Field | Type | Example | Description |
|---|---|---|---|
| `queries` | string | `Software Engineer` |  |
| `page` | integer | `1` |  |
| `page_size` | integer | `30` |  |
| `jobs` | array | `[1 item]` | The results. |
| `next_cursor` | string | `eyJrdyI6IlNvZnR3YXJlIEVuZ2luZWVyIiwiY2ZnIjB7f…` | Pass back as `cursor` for the next page. `null` on the last page. |
| `jobs[].job_title` | string | `Software Engineer (Remote Opportunity)` |  |
| `jobs[].job_id` | string | `1010207918748` |  |
| `jobs[].job_url` | string | `https://www.glassdoor.com/partner/jobListing.…` |  |
| `jobs[].job_location` | object | `{…}` |  |
| `jobs[].job_salary` | object | `{…}` |  |
| `jobs[].company_name` | string | `Universal Background Screening, Inc.` |  |
| `jobs[].keyword` | string | `Software Engineer` |  |
| `jobs[].position` | integer | `1` |  |
| `jobs[].scraped_at` | string | `2026-09-24T09:13:09.786Z` |  |

## 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/glassdoor-jobs/"
HEADERS = {"X-API-Key": "YOUR_API_KEY"}
params = {"queries": "Software Engineer"}
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: `queries`, `location`, `base_url`, `company_name`. Set them on the first call; later pages reuse them.

## Related

- [All Glassdoor endpoints](https://docs.scrapier.io/api-reference/glassdoor.md)
