ParseForge Scrapers

GovernmentJobs Scraper

parseforge/governmentjobs-scraper

JobsAutomationDeveloper tools

Scrapes job postings from GovernmentJobs.com by keyword, location, or direct URL. Returns each listing as a flat row with optional detail-page extraction for descriptions and benefits.

Run this scraper See the API call
Total users
25
Monthly active
6
Total runs
363
Bookmarked
0
Rating
Not rated yet
Last modified
12 days ago

Overview

ParseForge

GovernmentJobs Scraper

Scrape public sector jobs from GovernmentJobs.com by keyword, location, or direct URL, up to a million per run. Each listing returns title, department, salary, closing date, and full description when detail extraction is on. No login or API key. Export to CSV, JSON, Excel, or XML.

GovernmentJobs.com is the largest board for city, county, state, and public agency openings in the U.S., but browsing it manually means clicking through pages and copying details one by one. This Actor reads the public search listings directly, applies your filters for job type, remote work, salary, and posting date, and returns every match in a single structured dataset. It can also open each job page to pull the full description, benefits, and application questions.

Who uses it What they scrape GovernmentJobs for
Job seekers Monitor new public sector openings that match their skills and location in one feed.
Recruiters and HR analysts Benchmark salary ranges, job titles, and closing dates across agencies.
Data journalists Track hiring trends and vacancy volumes in local government over time.
Nonprofits and civic tech teams Build dashboards of open public service roles for underserved communities.

What it does

This Actor collects job postings from GovernmentJobs.com by keyword search, location, or a pre-filtered URL, and returns each one as a flat row with optional detail-page fields.

  • πŸ” Keyword and location search: enter a job title and a city or state, and the Actor builds the search for you.
  • πŸ”— Direct URL input: paste a GovernmentJobs search URL with your filters already applied and scrape exactly that result set.
  • πŸ“‹ Detail-page extraction: toggle on to open each job card and pull the full description, benefits, and application questions.
  • πŸ“Š Structured output: every job returns the same flat schema, ready for spreadsheets or databases.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

What you can do with GovernmentJobs data

πŸ“¬ Build a personal job alert feed.

A job seeker runs the Actor weekly with their keyword and city, exports the CSV, and reviews only new postings that match.

πŸ’° Compare public sector salaries.

An HR consultant scrapes all engineering roles in California with the salary filter set to $100,000+ and analyzes the range in Excel.

πŸ“ˆ Track municipal hiring trends.

A data journalist collects monthly snapshots of postings by state and job type to report on which agencies are growing.

πŸ—ΊοΈ Map remote government jobs.

A civic tech nonprofit scrapes all remote-only listings nationwide and publishes them on a community job board.

Why choose this scraper

What you get
No API key or login Reads the public job board directly, no registration needed.
Full detail extraction Optionally opens each posting to capture the description, benefits, and questions.
Built-in search filters Filter by job type, remote option, minimum salary, and date posted without constructing a URL.
Scalable runs Grab ten jobs for a quick check or up to a million for a complete market snapshot.

How it compares

This Actor is built specifically for GovernmentJobs.com, the dominant U.S. public sector board. The competitors below target different official government job sites in other countries.

Feature ParseForge Werk.nl Scraper Taasuka.gov.il Scraper Rojgarlive Jobs Monitor
Scrapes GovernmentJobs.com Yes Not listed Not listed Not listed
Keyword and location search Yes Not listed Yes Not listed
Full job description extraction Yes Not listed Not listed Not listed
Salary filter Yes Yes Not listed Not listed
Remote work filter Yes Not listed Not listed Not listed

Configure the run

Drive the Actor from a keyword, a location, or a pre-built GovernmentJobs URL, and apply filters for job type, remote work, salary, and posting date so only matching listings reach your dataset. The Input tab lists every parameter.

A first run with the defaults:

{
  "startUrl": "https://www.governmentjobs.com/jobs?keyword=engineer",
  "maxItems": 10,
  "includeDetails": true
}

A larger pull:

{
  "startUrl": "https://www.governmentjobs.com/jobs?keyword=engineer",
  "maxItems": 200,
  "includeDetails": true
}

Pricing

Pay-per-result: $0.01599 per result collected. You pay only for the results written to your dataset.

Results collected Approximate cost
100 results $1.60
1,000 results $15.99
10,000 results $159.90

New Apify accounts start with $5 in free credit.

Free users

Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.

Run it

  1. Create a free Apify account with $5 in credit.
  2. Open the GovernmentJobs Scraper.
  3. Set your inputs and any filters, then click Start.
  4. Export the results as CSV, Excel, JSON, or XML from the Dataset tab.

Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.

Use with AI agents (MCP)

Give an AI agent live access to GovernmentJobs through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/governmentjobs-scraper"

Then prompt it in plain language to run the scraper and read back the results.

Troubleshooting

Why am I getting no results?

Check that your keyword and location combination returns listings on the live GovernmentJobs.com site. Also make sure you are not using both a direct URL and the search filter fields at the same time.

The run is slow when I turn on detail extraction.

Detail extraction opens every job page individually, which takes more time. Reduce the maximum job count or run it without details first to test your filters, then enable details for the final run.

Some fields are empty in my output.

Not every GovernmentJobs posting fills in all fields. Salary, closing date, or benefits may be blank if the agency did not provide them. This is expected.

I pasted a URL but the Actor used my keyword instead.

The start URL and the search filter fields are mutually exclusive. Clear the keyword and location fields when you use a direct URL, or clear the URL field when you use the filters.

FAQ

Question Answer
Do I need a GovernmentJobs.com account to scrape? No. The Actor reads the public job listings that anyone can see in a browser. No login, API key, or account is required.
Can I scrape jobs from a specific city or state? Yes. Use the location field to enter a city, state, or region like 'California' or 'Santa Clara, CA'. You can also set a search radius in miles.
How do I get the full job description and benefits? Turn on the 'Include Details' option. The Actor will open each individual job page and extract the description, benefits, and any application questions.
What is the difference between using a keyword and pasting a URL? The keyword and filter fields build a GovernmentJobs search for you. Pasting a direct URL lets you scrape a search you have already customized on the site. Use one or the other, not both.
Can I filter for remote or hybrid jobs? Yes. The Remote Options filter lets you select Remote Only, Remote Optional, or Flexible/Hybrid roles.
How many jobs can I scrape in one run? Free Apify users are limited to 100 jobs. Paid users can set the maximum up to 1,000,000 jobs per run.
Does the Actor handle pagination automatically? Yes. It follows every page of search results until it reaches your maximum job count or the end of the listings.
What export formats are supported? You can export your dataset to CSV, JSON, Excel, or XML directly from the Apify run console.
Can I schedule this scraper to run daily? Yes. Apify's scheduler lets you set the Actor to run on a recurring interval, so you always have fresh job data.

Related actors

Browse the full ParseForge collection for more scrapers.

πŸ†˜ Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.

⚠️ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by GovernmentJobs.com, Inc. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.

Input

FieldTypeWhat it doesDefault
startUrl string Paste a GovernmentJobs search URL with filters already applied. Use this or the fields below, not both. https://www.governmentjobs.com/jobs?keyw
maxItems integer Free users: Limited to 100. Paid users: Optional, max 1,000,000. 10
query string Enter the job keyword to search for, for example engineer, analyst, or planner. not set
location string Limit results to a city, state, or region, for example California or Santa Clara, CA. not set
distance integer Search radius in miles around the location field. not set
jobTypes array Only include specific job types such as Full Time or Internship. not set
remoteWorkOptionIds array Filter for hybrid, remote-only, or remote-optional roles. not set
salary string (9 options) Only keep jobs at or above the selected salary threshold. not set
daysPosted string (4 options) Restrict results to jobs posted recently, such as the last 7 days. not set
sortBy string (2 options) Choose whether results should follow relevance or newest postings first. not set
includeDetails boolean Turn this on to open each job and extract description, benefits, questions, and extra metadata. true

Pricing

from $11.99 per 1,000 results

Charged forWhat it isPrice each
Actor Start Charged once when the run starts. $0.005
Result Item Charged once per result collected. $0.01199 to $0.01599

Tiered: the lower figure is the price on a higher Apify plan. Billing and the free credit live on Apify.

API

One POST returns the dataset directly. Same shape for every scraper in the library, so swapping the slug is the only change.

POST Β· run and get results
curl -X POST "https://api.apify.com/v2/acts/parseforge~governmentjobs-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "helloWorld": 123
  }'

Examples

Input that runs as-is.

input.json
{
  "helloWorld": 123
}

Reviews

No reviews yet. Be the first.

Issues

We build and maintain this scraper, so a problem with it comes to us. Report it on the Apify listing and the thread stays attached to the scraper where the next person can find it: open an issue.

Broken and urgent, or you would rather not post in public? Write to parseforge@protonmail.com and it reaches the people who wrote it.

Related scrapers

Run GovernmentJobs Scraper on Apify All scrapers