USAJOBS Scraper
Under maintenancePricing
from $2.49 / 1,000 results
USAJOBS Scraper
Under maintenanceFind federal job announcements on USAJOBS.gov by keyword or location. Google Search results discover the jobs, then each announcement is read once, after a robots.txt check, for agency, location, salary and dates. Uses the residential proxy for those reads. No grade or schedule filters.
Pricing
from $2.49 / 1,000 results
Rating
0.0
(0)
Developer
ScrapeAI
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
11 days ago
Last modified
Categories
Features
Share
USAJOBS Scraper
Returns federal job announcements from USAJOBS: jobs are found in public Google results, and the agency, location, salary and dates are read from each announcement page.
Where the data comes from
- The USAJOBS search page (
usajobs.gov/Search/Results) is a JavaScript page whose HTML holds no job rows (checked on 2026-11-13 through a US residential proxy), and the official search API needs an API key. Neither is used. - Jobs are found through public Google results for
site:usajobs.gov/job <your keywords>read through the ApifyGOOGLE_SERPproxy group. Only results that are individual job announcements (https://www.usajobs.gov/job/<id>) are kept. - Each announcement page is then requested once through an Apify proxy (a US residential proxy by default: the site's CDN refused the Apify datacenter proxy) and its structured job data and overview values are read. No login, API key or private endpoint is used and the requests carry the default client headers. robots.txt of usajobs.gov is read first through the same proxy and a page it disallows is not requested; when robots.txt cannot be read, no page is requested. After three refused pages in a row the site is treated as blocked and no more pages are requested.
Google shows a result's address in one of two ways: as the job page address itself, or as an opaque redirect token. The token holds no readable address and the redirect endpoint is not requested (it is disallowed in Google's robots.txt), so a result that only has a token cannot be used. When a whole results page comes back with tokens only, it is skipped. A results page is never requested again to get a different link layout.
What each record contains
Every record is one USAJOBS announcement, with dataOrigin set to google-serp+job-page and sourceUrl / itemUrl
set to the announcement address.
| Field | Read from |
|---|---|
title | the announcement's structured data (the Google title when that is missing) |
company | hiring organization of the announcement (the agency) |
location | work locations of the announcement, separated by semicolons |
salary, payScaleAndGrade, workSchedule, appointmentType, announcementNumber | the labelled values of the announcement's overview section |
datePosted, closingDate, employmentType, description | the announcement's structured data (description is its short summary, not the full duties and requirements) |
id | the control number in the announcement address |
snippet, snippetDate, snippetDateText, googleTitle, searchQuery, searchPage, searchPosition | the Google result the job was found in |
A record is kept only when the announcement page could be read and names the title and the agency. Results that are not job announcements, whose page was refused, or whose title does not share the searched words are skipped.
Not returned: the full duties, requirements and benefits text, application instructions, and USAJOBS search filters (grade, schedule, who may apply, date posted). The Store description of this actor matches this version.
Input
query: keywords, for exampleSoftware Engineer(default).location: optional city or state added to the Google query. Google ranks matching jobs higher; it is not an exact filter.maxItems: number of records to return (default 10, maximum 50).maxSearchPages: Google result pages to read (default 5, maximum 5). Each page is 10 results and one billedGOOGLE_SERPrequest (repeated once after a timeout or connection error). A page that Google lists with redirect tokens only is skipped, so fewer usable pages can be read than the number requested.requestTimeoutSecs: seconds to wait for one Google request (default 60, maximum 120).proxyConfiguration: Apify Proxy with theGOOGLE_SERPgroup (default). It has to stay enabled.detailProxyConfiguration: Apify Proxy for the announcement pages (default:RESIDENTIALgroup, countryUS; residential traffic is billed per GB, about 130 KB per announcement).
The run fails with a clear message when Google shows a verification page or when no announcement could be read.
Verification pages are not worked around. When a later Google page times out (it is retried once), is refused or shows a verification page after some records were collected, the run ends with those records and the reason is stored as stoppedEarly in the RUN_SUMMARY record.
Run locally
npm start
npm start uses this folder's input.json. It needs APIFY_PROXY_PASSWORD (or an Apify login) so that the proxies
can be reached. Records are written to storage/datasets/default/; check them with node dataset-validator.js.