USAJOBS Scraper - federal jobs, GS grade, salary
Pricing
from $0.90 / 1,000 jobs
USAJOBS Scraper - federal jobs, GS grade, salary
Scrape USAJOBS federal job announcements by keyword, location, grade and hiring path into one normalized JSON record per vacancy: agency, salary range, locations, remote flag and description. $1.50 per 1,000 jobs, $0.90 on Gold. Monitor mode bills the first baseline, then only changes.
Pricing
from $0.90 / 1,000 jobs
Rating
0.0
(0)
Developer
Ярослав Литовченко
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
14 hours ago
Last modified
Categories
Features
Share
Give it a keyword, a place, a pay floor or a hiring path. It searches USAJOBS, opens each announcement and returns one normalized record per vacancy: agency, department, series, grade range, salary range, locations, remote flag, telework, clearance, hiring paths and the full description text.
$1.50 per 1,000 returned jobs, $0.90 on Gold and above. No API key, no account, no browser. In monitor mode the same Actor returns only new and updated announcements.
At a glance
| Source | usajobs.gov search and announcement pages |
| Input | keyword, location, who can apply, remote-only, salary floor, seniority, employment type, posted within |
| Output | one JSON row per announcement; JSON, CSV, Excel, XML, HTML |
| Modes | one-off snapshot; monitor mode with new / updated |
| Price | $0.0015 per returned job ($0.0009 on Gold and above) + $0.00005 actor start |
| Setup | nothing to register, nothing to install on your side |
| Measured | 50 announcements in 27 s (2 search pages, 50 announcement pages, 3.4 MB, 69 KB per row) |
Quick start
- Type a keyword:
{"search": "software engineer"}
- Press Start. The run returns up to
maxJobs(50 by default) announcements, newest first. - Download the dataset, or connect a webhook / Google Sheets / n8n to it.
Narrow it:
{"search": "contract specialist","location": "Denver, Colorado","hiringPath": "public","seniority": ["mid", "senior"],"employmentType": "full-time","minAnnualSalary": 90000,"postedWithinDays": 14,"maxJobs": 200}
To watch for new announcements instead of taking a snapshot:
{"search": "information technology specialist","hiringPath": "public","monitorMode": true}
The first monitor run stores a baseline and returns the full list. It is billed per row, like a snapshot; later runs return only new and updated announcements, and only those rows are billed. To get the full list on every run and deduplicate it yourself, leave monitorMode off: a snapshot run is never restricted and bills every returned row.
What you get
One row per announcement. Fields are null when USAJOBS does not publish them; nothing is invented.
| Field | Example | Notes |
|---|---|---|
source | usajobs | |
jobId | 893002300 | USAJOBS document number, stable across runs, used as the monitoring key |
title | SI Software Engineer | |
agency | Treasury, Departmental Offices | hiring agency |
department | Department of the Treasury | parent department |
subAgency | null | when the announcement names one |
announcementNumber | 27-DO-13105675-DH | the agency's own announcement id |
series | 2210 Information Technology Management | federal occupational series |
gradeLow, gradeHigh | 13, 14 | the announced GS/special pay range |
payPlan | GS | GS, WG, NH, AD, FV, SES and so on |
employmentType | full-time | schedule and appointment combined: full-time, part-time, temporary, internship |
appointmentType | Permanent | as published: Permanent, Term, Temporary, Detail, Internship |
seniority | senior | from the grade on GS and wage-grade plans: 1-4 intern, 5-8 junior, 9-11 mid, 12-13 senior, 14-15 lead; from the title on alternate pay plans or when no grade is published |
workplaceType, isRemote | onsite, false | the published "Remote job" flag; null if the page could not be read |
teleworkEligible, teleworkNote | true, Yes-as determined by the agency policy. | telework is not remote |
locations | ["Port Hueneme, CA", "San Diego, CA"] | every duty location; an announcement can be filled at any of them |
locationCount | 2 | |
vacancies | 3 | sum of the per-location counts, null when not published |
salary | see below | the range from the announcement overview |
postedAt | 2026-11-16T11:10:08.310Z | opening date |
validThrough | 2027-01-31T23:59:59.997Z | closing date |
applyUrl | https://www.usajobs.gov/job/893002300 | canonical announcement page |
hiringPaths | ["Open to the public"] | who can apply, as published |
supervisory | false | |
securityClearance | Top Secret | as published |
summary | the announcement's own About text | |
descriptionHtml, descriptionText | summary, duties, requirements, evaluation and how-to-apply | |
changeType, changes, firstSeenAt, lastSeenAt, coreHash, descriptionHash | monitor mode |
Salary is an object, not a string:
{"salary": {"min": 106437,"max": 163514,"currency": "USD","period": "year","annualMin": 106437,"annualMax": 163514,"source": "structured"}}
Federal ranges are set by grade, step and locality, so every range here is source: structured — it comes from the announcement's own overview table. Hourly pay plans (WG, WS) keep period: "hour" with the yearly figure in annualMin / annualMax.
minAnnualSalary is passed to USAJOBS as a pay floor, and USAJOBS matches on the top of the range, not the bottom: a floor of $150,000 returns announcements whose range reaches $150,000, so a row's annualMin can be below your floor. For engineer that is 246 announcements out of 683 instead of 683. Filter on salary.annualMin yourself if you need the stricter reading.
How it works
- The keyword, location, hiring path, schedule and pay floor go to the search endpoint the site's own search page calls (
POST /Search/ExecuteSearch, 25 results per page), so filtering happens on their side. Results are sorted by opening date, newest first — the firstmaxJobsrows are therefore the newest announcements, not a relevance slice. - Each search hit already carries title, department, grade, work schedule, appointment type and both dates, so a filter can reject it before its page is opened. In one measured
contract specialistrun with seniority, full-time and a 7-day window, 20 of 25 hits were dropped for free and 5 rows cost 5 pages. - Each announcement page is read once and parsed from its own overview table (salary, pay plan, remote, telework, clearance, supervisory, vacancy counts per location) and its
joa-*description blocks. Icons, help popovers, form controls,class/data-/aria-/idattributes and inline scripts are stripped before anything is stored. - Requests pass through one shared pacing gate (2 page reads in parallel, 400 ms between request starts). A 429 pauses every worker, widens the gap and retries; a clean streak narrows it again.
Descriptions are capped at 40,000 characters per field, which is about 69 KB per row with both HTML and text. With includeDescription: false a row is about 1.8 KB.
Monitoring
Built for scheduled feeds, not for re-downloading the same search every day.
- Baseline is billed like a snapshot. The first run writes what it saw to
usajobs-jobs-state-<stateKey>and charges $0.0015 per delivered row, the same as a normal run. - The index is enough to skip a job. An announcement's opening date, closing date and title are in the search hit. If all three are unchanged since the last run, its page is not opened at all. Measured: a 56-announcement baseline was followed by runs that read 0 announcement pages in about 1 second and pushed one free status row.
- Only real changes are billed.
newandupdatedrows cost $0.0015 ($0.0009 on Gold and above). A rewritten description isupdatedwithchanges: ["description"], not a new vacancy. - A busy query catches up before it goes quiet.
maxJobsis a per-run cap, not a subscription: the task run measured for this listing has 253 matching announcements andmaxJobs: 100, and delivered 100 rows (58 s), 100 rows (59 s), 53 rows (33 s), then nothing — 12 search pages, 253 announcements recognised from the index, 0 announcement pages, 5 s. Rows over the cap stay unseen, so no charge is ever skipped. - The scan is bounded. Monitor runs read the 12 newest search pages (300 hits). The rest of a large result set is the long tail of older announcements, which cannot contain anything new.
- No phantom closures. A missing announcement can also mean it fell outside
maxJobsor outside the 300-hit window, so monitor mode reports new and updated rows only;closedis never emitted. - State is never dropped. Announcements fetched on an earlier run keep their state when a later run skips them, instead of coming back as
newand being charged twice. Removing one entry from the state re-delivers exactly that announcement — verified: one page read, onenewrow. - No cross-talk. Each
stateKeyis its own key-value store; a Task without astateKeygets one derived from the task id.
Who it is for
- GovTech and federal-contracting vendors — a daily feed of openings by keyword, agency or place, in one schema.
- Staffing and recruiting firms — federal hiring is public and dated; new announcements are a lead, not a rumour.
- Career services and relocation tools — pay ranges by grade and locality, with closing dates.
- Analysts — which agencies open which series at which grades, with opening and closing dates to measure hiring cycles.
- Job boards and aggregators — fill a federal section without re-reading the whole board.
- AI agents — connect over MCP and ask "which GS-13 IT announcements opened this week?".
Pricing
| Run | Jobs | Cost on Free |
|---|---|---|
| Default run | 50 | $0.075 |
| One keyword, whole public set | 200 | $0.30 |
| First monitor run (baseline) | 200 | $0.30 |
| Daily monitor after the baseline | 20 changes | $0.03 |
| 10,000-announcement pull | 10,000 | $15.00 |
Every figure drops by 40 % on Gold and above: $0.90 per 1,000 jobs.
How to spend less:
- run monitor mode — after the first billed baseline, only new and updated rows cost anything; unchanged runs and status rows are free;
- narrow with
postedWithinDays,seniority,employmentType,minAnnualSalary,locationandremoteOnly— every dropped announcement is a page not opened; - keep
maxJobsat what you actually consume; - turn
includeDescriptionoff when you only need the index; each row is about 2 KB instead of 69 KB.
Apify's free plan includes monthly credits, so a first small run usually costs nothing.
When something breaks
- Rate limit (HTTP 429). The Actor raises the gap between requests and retries up to three times per request; the pause and the retry are logged.
SUMMARY.rateLimitHitsandSUMMARY.finalRequestDelayMsshow how hard the site pushed back. Nothing is billed for a page that was not read. - A failed announcement page is reported in
SUMMARY.warningsand skipped; the rest of the run continues. - A keyword that matches nothing produces one free status row with
status: "no_results"and the warnings, instead of an empty dataset. - Budget truncation. If the run budget is exhausted, rows the platform refused to push are removed from the state, so the next run delivers them instead of treating them as already seen.
- Failed pushes. A dataset write error restores the previous state for that search.
- State after push. A crash in that narrow window can re-deliver and re-charge a row; this is deliberate, the alternative is silently losing it.
Run it from code
JavaScript:
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'YOUR_TOKEN' });const run = await client.actor('aigrator/usajobs-jobs-api').call({search: 'software engineer',hiringPath: 'public',maxJobs: 100,});const { items } = await client.dataset(run.defaultDatasetId).listItems();
Python:
from apify_client import ApifyClientclient = ApifyClient('YOUR_TOKEN')run = client.actor('aigrator/usajobs-jobs-api').call(run_input={'search': 'software engineer','hiringPath': 'public','maxJobs': 100,})items = client.dataset(run['defaultDatasetId']).list_items().items
CLI and REST:
apify call aigrator/usajobs-jobs-api --input '{"search":"software engineer","maxJobs":100}'curl -X POST "https://api.apify.com/v2/acts/aigrator~usajobs-jobs-api/run-sync-get-dataset-items?token=YOUR_TOKEN" \-H 'Content-Type: application/json' \-d '{"search":"software engineer","maxJobs":100}'
Schedule it
- Console: save the Actor as a Task, then Schedules → New schedule. A daily run after the baseline returns only the day's changes.
- Webhooks: actor run finished → your endpoint, or use the Apify integrations for Make, n8n, Zapier and Google Sheets.
- AI agents: connect
https://mcp.apify.com?tools=aigrator/usajobs-jobs-apito Claude, Cursor or VS Code and ask "which GS-13 IT announcements opened this week?".
Limits and edge cases
- Federal only. This is the US federal service. State, county and city jobs are not in USAJOBS, and neither are most contractor jobs.
- One request per returned job. There is no bulk endpoint; every row needs its own announcement page. 50 rows take about 30 seconds, 500 about 4 minutes at the default pace.
- Who can apply matters more than the job count. With
hiringPath: "public"(the default)engineeris 423 announcements; without it the same search is 685, because the rest are open only to current or former federal employees. SethiringPath: ""(Any) if you want those too. - Remote federal jobs are rare.
remoteOnlyonengineerreturned 3 of 685. UseteleworkEligibleif "may work from home some days" is enough. - Location search is radial.
Denver, Coloradoreturns Denver, Golden and Lakewood, plus one row locatedAnywhere In The U.S. (Remote Job). The Actor does not re-check the location text against the filter, because that would drop the neighbouring cities USAJOBS deliberately included. - A grade number is not always a GS grade. Alternate pay plans (
NH,ND,DP,CT,FV,AD,FG) use band numbers or letters: NH-3 sits around GS-12/13, and FV publishes letters instead of numbers. Those numbers are returned as published ingradeLow/gradeHigh, butseniorityis taken from the title for them — reading NH-3 as grade 3 would call a senior engineer an intern. In one 50-row run 44 rows carried a numeric grade. vacanciesis often null. Plenty of announcements say "1 vacancy" only in the text; the field is filled from the page's own per-location labels and left null rather than guessed.- Dates have no timezone. USAJOBS publishes opening and closing dates as dates; they are stored as UTC instants (
T00:00:00Zfor an opening date,T23:59:59.997Zfor a closing date). - Descriptions are HTML.
descriptionHtmlkeeps the announcement's structure (headings, lists, tables) with scripts, forms, icons and attributes removed, up to 40,000 characters;descriptionTextis the same content as plain text. - robots.txt.
https://www.usajobs.gov/robots.txtdisallows/Content/,/Scripts/,/foresee/and/Service References/. The search endpoint and/job/<id>pages are not disallowed and are listed in the site's sitemap. The Actor requests nothing from the disallowed paths. Check the site's terms for your own use. - Not the keyed API. USAJOBS also runs its own developer API with registered keys; this Actor does not use it. It calls the same search endpoint the site's own search page calls, plus the announcement pages, and needs no credentials.
- No personal data. No recruiter names, emails or applicant records; only what the public announcement shows.
FAQ
Do I need a USAJOBS account or an API key? No. Only your Apify account.
How much does 1,000 announcements cost? $1.50 plus $0.00005 for the start event, or $0.90 on Gold and above. The first monitor run is billed like a snapshot; later runs bill only new and updated jobs. Unchanged runs and status rows are free.
Why does software engineer return only 56 rows?
That is the whole public set for that keyword at the time of writing. Federal job titles are formal: IT specialist, contract specialist, program analyst and nurse return far more than "software engineer". Use hiringPath: "" to include federal-employee-only openings.
Why does a 50-row run take about half a minute? Every row is one announcement page, and requests are spaced to stay polite. Faster defaults buy nothing on a source that answers 25 hits per search page.
Do I pay for announcements I already saw?
No. After the first baseline run, monitor mode charges only new and updated rows. The baseline itself is billed per row, like a snapshot. Unchanged announcements are recognised from the search index without opening their pages.
Is salary reliable?
It is the announcement's own range, not a parse: source is always structured here. Range width comes from the announced grades and the locality pay table, so the same title in two places can differ by tens of thousands.
Can I get only jobs open to the public?
That is the default. hiringPath: "Current and former federal employees" gives internal-only openings, and "Any" gives everything USAJOBS indexes.
Can I run it on a schedule? Yes — a Task plus a schedule, and optionally a webhook or Google Sheets.
Is it legal? The Actor reads job announcements that federal agencies publish for distribution, does not log in, does not bypass paywalls and collects no personal data. It respects the site's robots.txt and paces its requests. You are responsible for how you use the output.
Changelog
- 2026-11-22 — monitor baseline billing: the first run returns the full list and is billed per row like a snapshot; later runs bill only new and updated jobs.
- 0.1.0 — first release: keyword, location, hiring path, pay floor, remote and posted-within search; grade-based seniority; sanitized descriptions; adaptive pacing; monitor mode, index-based change detection and a bounded scan.
Local development
npm installnpm start # local run, reads storage/key_value_stores/default/INPUT.jsonnpm run check # syntax check of src/main.jsnpm run check:output # validate the local dataset against .actor/dataset_schema.jsonnpm run check:salary # 25 salary-parser regression cases
npx apify-cli push deploys; title, description, SEO fields and category are set separately through PUT /v2/acts/{id} because the push does not carry them.