# CareersInGovernment.com Job Scraper (`lexis-solutions/careersingovernment-com-scraper`) Actor

CareersInGovernment.com job scraper for public-sector and government jobs across the US. Extract government job listings, salaries, locations, employers, and categories into JSON/CSV for recruitment analytics and job market research.

- **URL**: https://apify.com/lexis-solutions/careersingovernment-com-scraper.md
- **Developed by:** [Lexis Solutions](https://apify.com/lexis-solutions) (community)
- **Categories:** Jobs, Automation, AI
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.90 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

![CareersInGovernment.com Scraper](https://i.postimg.cc/HsfqgV4x/image.png)

### What does CareersInGovernment.com Scraper do?

CareersInGovernment.com Scraper will help you search and extract comprehensive job posting data from **careersingovernment.com**, a career platform dedicated to public-sector and government job listings across the United States.

You can extract job details such as titles, descriptions, posting dates, locations, salary ranges, job categories, hiring agencies, and employer profiles. CareersInGovernment.com Scraper supports a REST API which gives you access to the extracted dataset, enables you to download it in various formats, and use it in other applications.

It allows you to search and extract government job listings from CareersInGovernment.com, a comprehensive career platform for public-sector professionals. CareersInGovernment role pages include agency metadata, job attributes, and region-based filtering useful for public-sector recruitment monitoring. The scraper supports the REST API which gives you access to the extracted dataset, enables you to download it in various formats, and use it in other applications.

### What data can I extract from CareersInGovernment.com with a web scraper?

With this web scraping tool, you can extract the following data from CareersInGovernment.com:

<table>
<tr>
<td>📰 Job titles</td>
<td>📝 Full descriptions</td>
</tr>
<tr>
<td>📅 Posting dates</td>
<td>📍 Job locations</td>
</tr>
<tr>
<td>🔗 Job URLs</td>
<td>💰 Base salary</td>
</tr>
<tr>
<td>🏢 Employer name & logo</td>
<td>🌆 Employer overview</td>
</tr>
<tr>
<td>🗺️ State/Region</td>
<td>🌍 Country</td>
</tr>
<tr>
<td>📮 Postal codes</td>
<td>📞 Employer telephone</td>
</tr>
<tr>
<td>🌐 Employer website</td>
<td>🏷️ Job categories</td>
</tr>
<tr>
<td>🔍 Search URLs</td>
<td></td>
</tr>
</table>

### Why scrape CareersInGovernment.com?

CareersInGovernment.com is a comprehensive career platform providing job listings across all levels of government — federal, state, county, and municipal — as well as public universities, utilities, and other public-sector agencies. The site aggregates job postings from employers nationwide, offering detailed information on positions, requirements, and agency profiles.

- Monitor public-sector job market trends across the US
- Track compensation and salary ranges in government roles
- Analyze job requirements and qualification demands by region
- Aggregate government job listings for career portals
- Build recruitment intelligence dashboards for public-sector hiring
- Power job alert and notification systems
- Create comparative analysis across government agencies and regions
- Support talent acquisition and workforce planning in the public sector

### How to use CareersInGovernment.com Scraper?

CareersInGovernment.com Scraper is designed for easy and fast start even if you've never extracted data from websites before. Here's how you can extract data from CareersInGovernment.com with this web scraping tool:

1. Create a free Apify account using your email.
2. Open CareersInGovernment.com Scraper on the Apify platform.
3. Click on the **Try for free** button.
4. Enter the start URLs for job search results or individual job detail pages.
5. Click on the **Start** button and wait for the data to be extracted.
6. Download your data in JSON, XML, CSV, Excel, or HTML.

### Input

The actor accepts the following input parameters:

- startUrls (array of objects) - **Required**. URLs to start with. You can provide job search result URLs or individual job detail page URLs.
- maxItems (integer) - The maximum number of jobs to scrape per start URL. Default: 5
- proxyConfiguration (object) - Proxy configuration settings.

#### Supported URL Types (examples)

You can use job search results and individual job detail pages:

**Search URL example:**

- https://www.careersingovernment.com/jobs/?action=search&listing_type%5Bequal%5D=Job&keywords%5Ball_words%5D=software+engineer&GooglePlace%5Blocation%5D%5Bvalue%5D=&GooglePlace%5Blocation%5D%5Bradius%5D=20

**Job Detail Pages:**

- https://www.careersingovernment.com/job/829992/information-technology-analyst-principal-software-engineer/

Example:

```json
{
    "startUrls": [
        {
            "url": "https://www.careersingovernment.com/jobs/?action=search&listing_type%5Bequal%5D=Job&keywords%5Ball_words%5D=software+engineer&GooglePlace%5Blocation%5D%5Bvalue%5D=&GooglePlace%5Blocation%5D%5Bradius%5D=20"
        },
        {
            "url": "https://www.careersingovernment.com/job/829992/information-technology-analyst-principal-software-engineer/"
        }
    ],
    "maxItems": 5,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
}
````

#### Note: The startUrls field is required

### Output

The scraped data will be saved as a dataset. Each item will represent a job posting. You can choose in what format to download your data: JSON, JSONL, HTML table, CSV, Excel spreadsheet, or NDJSON.

Example output structure:

```json
{
    "url": "https://www.careersingovernment.com/job/1003871/part-time-lecturer-pool-comp-science-software-engineering-ay-26-27/",
    "startUrl": "https://www.careersingovernment.com/jobs/?action=search&listing_type%5Bequal%5D=Job&keywords%5Ball_words%5D=software&GooglePlace%5Blocation%5D%5Bvalue%5D=california&GooglePlace%5Blocation%5D%5Bradius%5D=20",
    "title": "Part-Time Lecturer Pool - Comp Science & Software Engineering (AY 26/27)",
    "address": {
        "region": "California",
        "postalCode": "93405",
        "addressCountry": "United States"
    },
    "baseSalary": null,
    "categories": ["Education and Training", "Engineering", "Information Technology and Communication Services"],
    "datePosted": "Apr 02, 2026",
    "description": "APPOINTMENTS FROM THE PART-TIME POOL ARE TEMPORARY...",
    "employer": {
        "employerName": "California Polytechnic State University",
        "employerLogo": "https://www.careersingovernment.com/files/pictures/calpoly.png",
        "employerOverview": "Founded in 1901, California Polytechnic State University (Cal Poly)...",
        "telephone": "805-756-2236",
        "website": "https://jobs.calpoly.edu/",
        "employerUrl": "https://www.careersingovernment.com/company/263944/california-polytechnic-state-university/"
    }
}
```

#### Notes and Limitations

- The actor relies on the structure of the CareersInGovernment.com website. If the website structure changes, the actor may need to be updated.
- For large-scale scraping, use Apify's proxy services to avoid IP blocking.
- When using a proxy, requests can originate from different locations, so the number of results may differ compared to non-proxy runs.

#### 🔍 Looking to Scrape more Job & Career Websites?

In addition to this actor, you can explore our suite of dedicated scrapers tailored for other popular job boards and career platforms. Each scraper is optimized for its target site to ensure accurate, efficient, and high-performance data extraction.

| Scraper                                                                      | Country | Description                                                                                                                                                                                                                                                                     |
| ---------------------------------------------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [vdab.be Scraper](https://apify.com/lexis-solutions/vdab-be-scraper)         | Belgium | Scrape job listings from VDAB.be—including titles, companies, locations, salaries, and requirements. Ideal for job board aggregation, market analysis, and trend tracking. Fast, structured, and customizable extraction from Flanders' public employment service.              |
| [Jobindex.dk Scraper](https://apify.com/lexis-solutions/jobindex-dk-scraper) | Denmark | Extract job listings, company details, and application links from Jobindex.dk—Denmark's top job portal. Ideal for recruitment, market research, and competitor tracking with structured, Denmark-focused job data in minutes.                                                   |
| [Jobs.ams.at Scraper](https://apify.com/lexis-solutions/jobs-ams-at-scraper) | Austria | Scrape job listings from AMS Austria's public employment service—titles, company details, locations, employment relationship, working time, education levels, and more. Supports API-backed pagination, query or startUrls input, location normalization, radius, and maxItems. |

Explore these solutions to expand your data collection capabilities across job boards and career intelligence websites.

***

👀 p.s.

Got feedback or need an extension?

Lexis Solutions is a [certified Apify Partner](https://apify.com/partners). We can help you with custom solutions or data extraction projects.

Contact us over [Email](mailto:info@lexis.solutions) or [LinkedIn](https://www.linkedin.com/company/lexis-solutions)

### Image Credit

Image credit: [careersingovernment.com](https://www.careersingovernment.com/)

# Actor input Schema

## `startUrls` (type: `array`):

URLs to start with.

## `maxItems` (type: `integer`):

Maximum number of jobs that will be scraped.

## `proxyConfiguration` (type: `object`):

Select proxies to be used by your crawler.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.careersingovernment.com/jobs/?action=search&listing_type%5Bequal%5D=Job&keywords%5Ball_words%5D=software+engineer&GooglePlace%5Blocation%5D%5Bvalue%5D=&GooglePlace%5Blocation%5D%5Bradius%5D=20"
    }
  ],
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        {
            "url": "https://www.careersingovernment.com/jobs/?action=search&listing_type%5Bequal%5D=Job&keywords%5Ball_words%5D=software+engineer&GooglePlace%5Blocation%5D%5Bvalue%5D=&GooglePlace%5Blocation%5D%5Bradius%5D=20"
        }
    ],
    "maxItems": 5,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("lexis-solutions/careersingovernment-com-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "startUrls": [{ "url": "https://www.careersingovernment.com/jobs/?action=search&listing_type%5Bequal%5D=Job&keywords%5Ball_words%5D=software+engineer&GooglePlace%5Blocation%5D%5Bvalue%5D=&GooglePlace%5Blocation%5D%5Bradius%5D=20" }],
    "maxItems": 5,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("lexis-solutions/careersingovernment-com-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://www.careersingovernment.com/jobs/?action=search&listing_type%5Bequal%5D=Job&keywords%5Ball_words%5D=software+engineer&GooglePlace%5Blocation%5D%5Bvalue%5D=&GooglePlace%5Blocation%5D%5Bradius%5D=20"
    }
  ],
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call lexis-solutions/careersingovernment-com-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=lexis-solutions/careersingovernment-com-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "CareersInGovernment.com Job Scraper",
        "description": "CareersInGovernment.com job scraper for public-sector and government jobs across the US. Extract government job listings, salaries, locations, employers, and categories into JSON/CSV for recruitment analytics and job market research.",
        "version": "1.0",
        "x-build-id": "g3pY6qSd8J6ZJPlb0"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/lexis-solutions~careersingovernment-com-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-lexis-solutions-careersingovernment-com-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/lexis-solutions~careersingovernment-com-scraper/runs": {
            "post": {
                "operationId": "runs-sync-lexis-solutions-careersingovernment-com-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/lexis-solutions~careersingovernment-com-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-lexis-solutions-careersingovernment-com-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "startUrls"
                ],
                "properties": {
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "URLs to start with.",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "maxItems": {
                        "title": "Maximum number of jobs",
                        "type": "integer",
                        "description": "Maximum number of jobs that will be scraped.",
                        "default": 5
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Select proxies to be used by your crawler."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
