USAJOBS Government Jobs Scraper
Pricing
from $2.00 / 1,000 scraped results
USAJOBS Government Jobs Scraper
filtering. Returns job ID, title, agency, deadline, job link, and scrape timestamp.Fetches recent USAJOBS job announcements by date range and agency, with optional keyword
Pricing
from $2.00 / 1,000 scraped results
Rating
0.0
(0)
Developer
Data Pilot
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
4 days ago
Last modified
Categories
Share
ποΈ USAJOBS Government Jobs Scraper is a powerful Apify Actor designed to discover, track, and collect public USAJOBS Government Jobs announcements directly from the official USAJOBS Historic Job Announcements API. This tool provides comprehensive USAJOBS Government Jobs intelligence including job title, hiring agency, application deadline, and direct listing link for any date range, agency, or keyword. Whether you're building a federal job board, tracking hiring trends, or conducting workforce research, the USAJOBS Government Jobs Scraper delivers actionable USAJOBS Government Jobs insights efficiently.
With direct USAJOBS API integration, continuation-token pagination, keyword and agency filtering, and reliable Apify Dataset delivery, the USAJOBS Government Jobs Scraper ensures comprehensive USAJOBS Government Jobs coverage across any federal hiring window. It focuses on key USAJOBS Government Jobs signals including title, agency, and deadline, making it an essential tool for federal employment research and workforce intelligence.
π Table of Contents
- Features
- Data Source
- How It Works
- Input
- Output
- Technical Stack
- Data Fields
- Use Cases
- Quick Start
- Configuration
- Performance
- Important Notes
- License & Legal
π₯ Features
- USAJOBS API Integration β Direct integration with the official USAJOBS Historic Job Announcements API for accurate USAJOBS Government Jobs data.
- Date Range Filtering β Automatically scopes the search window using a configurable
daysBackparameter. - Agency Filtering β Narrow USAJOBS Government Jobs results to a specific hiring agency by code.
- Keyword Title Filtering β Filter announcements by matching keyword directly against the position title.
- Continuation-Token Pagination β Automatically pages through the full result set using the API's continuation token system.
- Configurable Result Cap β Control exactly how many USAJOBS Government Jobs records to collect via
maxResults. - Incremental Dataset Push β Pushes each page's matched USAJOBS Government Jobs records to Apify Dataset immediately.
- Retry Logic with Backoff β Automatically retries failed requests with increasing delay between attempts.
- Residential Proxy Support β Optional Apify residential proxy for reliable USAJOBS Government Jobs access.
- Detailed Logging β Comprehensive per-page progress and total-match logging for every USAJOBS Government Jobs run.
- Graceful Error Handling β Stops cleanly and logs the error if a request ultimately fails after retries.
π Data Source
USAJOBS Historic Job Announcements API
- Authority: Official U.S. Office of Personnel Management (OPM) USAJOBS platform
- Endpoint:
data.usajobs.gov/api/historicjoa - Coverage: All U.S. federal job announcements posted within the queried date range
- Data: Job title, hiring agency, position close date, and control number
- Access: Public JSON API
- Update Frequency: Reflects USAJOBS' current listings at time of run
βοΈ How It Works
The USAJOBS Government Jobs Scraper accepts an optional keyword, agency code, and lookback window, then queries the USAJOBS Historic Job Announcements API for all postings opened within that date range. Each returned announcement is normalized into a clean record with job ID, title, agency, deadline, and a direct link built from the position's control number. If a keyword is supplied, only announcements whose title contains that keyword are kept. The Actor pages through the full result set automatically using the API's continuation token, pushing each matched batch of USAJOBS Government Jobs records to the Apify Dataset as it goes.
Key Processing Steps:
- Input Parsing β Accept keyword, agency code, days-back window, and result cap
- Proxy Setup β Configure Apify residential proxy if enabled
- Date Range Calculation β Compute the start and end dates for the USAJOBS Government Jobs search
- Session Init β Create a Chrome-impersonated HTTP session for reliable API access
- Page Loop β Request successive pages of announcements using the continuation token
- Keyword Filtering β Skip any announcement whose title doesn't match the supplied keyword
- Record Normalization β Build a clean record with job ID, title, agency, deadline, and link
- Incremental Push β Push each page's matched USAJOBS Government Jobs records immediately
- Result Capping β Stop once
maxResultsis reached - Continuation Token Extraction β Parse the next page token from the API's
nextlink - Rate Limiting β Apply a short delay between page requests
- Summary Logging β Report the total number of job announcements harvested
Key Benefits:
- Pull USAJOBS Government Jobs announcements for any date range without manual searching
- Filter federal job postings by agency or keyword to focus on relevant roles
- Track new federal hiring activity over time
- Feed job boards, workforce dashboards, or recruiting research pipelines
- Automate recurring USAJOBS Government Jobs checks as new announcements are posted
π₯ Input
The Actor accepts the following input parameters:
| Field | Type | Default | Description |
|---|---|---|---|
keyword | string | "" | Filter USAJOBS Government Jobs results by matching this keyword against the position title. |
agency | string | "" | Filter results to a specific hiring agency code. |
daysBack | integer | 30 | Number of days back from today to search for open positions. |
maxResults | integer | 100 | Maximum number of USAJOBS Government Jobs records to collect. |
proxyConfiguration | object | {"useApifyProxy": true} | Apify Proxy configuration. |
Example Input:
{"keyword": "data scientist","agency": "","daysBack": 30,"maxResults": 150}
Search All Agencies for a Keyword:
{"keyword": "cybersecurity"}
Search a Specific Agency Without a Keyword:
{"agency": "TR00","daysBack": 60}
π€ Output
The Actor pushes USAJOBS Government Jobs records with the following structure:
| Field | Type | Description |
|---|---|---|
job_id | string | USAJOBS control number uniquely identifying the announcement |
title | string | Position title as posted |
agency | string | Name of the hiring federal agency |
deadline | string | Position close date |
link | string | Direct URL to the full USAJOBS Government Jobs listing page |
scraped_at | string | ISO 8601 timestamp of when the record was scraped |
Example USAJOBS Government Jobs Record:
{"job_id": "789456123","title": "Data Scientist","agency": "Department of the Treasury","deadline": "2026-09-15","link": "https://www.usajobs.gov/job/789456123","scraped_at": "2026-08-17T09:00:00.000Z"}
π§° Technical Stack
- API: USAJOBS Historic Job Announcements API (JSON format)
- HTTP Client:
curl_cffiwith Chrome TLS fingerprint impersonation for reliable USAJOBS Government Jobs access - Pagination: Continuation-token-based pagination parsed from the API's
nextlink - Date Handling:
datetime/datewith timezone-aware UTC timestamps - Async:
asynciowith executor-run blocking requests for non-blocking page fetching - Proxy: Apify Proxy, optional via
useApifyProxy - Logging: Apify Actor logging system
- Platform: Apify Actor serverless environment
π Data Fields Explained
Identification
- job_id / link: The unique USAJOBS control number and direct link to the full USAJOBS Government Jobs listing
Position Details
- title: The official position title as posted on USAJOBS
- agency: The federal agency hiring for this position
Timing
- deadline: The position's application close date
- scraped_at: When this USAJOBS Government Jobs record was collected
π― Use Cases
- Federal Job Boards β Power a job board or newsletter with fresh USAJOBS Government Jobs listings
- Workforce Research β Study federal hiring trends by agency or role type over time
- Career Coaching β Help job seekers discover relevant federal opportunities matching their keywords
- Recruiting Intelligence β Track which agencies are actively hiring for specific skill sets
- Academic Research β Analyze public-sector employment patterns at scale
- Policy Analysis β Monitor federal hiring activity as an economic or staffing indicator
- Alert Systems β Build recurring keyword-based alerts for new federal job postings
- Talent Sourcing β Identify open roles at target agencies for outreach or partnerships
π Quick Start
1. Prepare Input
Go to Apify Console and enter:
{"keyword": "software engineer","daysBack": 30,"maxResults": 100}
2. Run the Actor
Click Start. The Actor will:
- Query USAJOBS for announcements opened within the date range
- Filter titles by keyword and agency, if provided
- Page through all matching results automatically
- Push each batch of USAJOBS Government Jobs records to the Dataset
3. Monitor Progress
Console shows:
π Fetching USAJOBS from 2026-07-18 to 2026-08-17, filtering titles for 'software engineer'π Matched 25/100 (scanned page of 500, 3200 total announcements in date range)π Matched 61/100 (scanned page of 500, 3200 total announcements in date range)π Complete! Successfully harvested 100 job announcements.
4. View & Download Results
- Results Tab: All USAJOBS Government Jobs records
- Export: JSON, CSV, Excel, or HTML
- Filter: By agency, title, or deadline
- API Access: Available via the Apify API
βοΈ Configuration
Keyword search, default window:
{"keyword": "nurse"}
Agency-specific search with longer window:
{"agency": "VA00","daysBack": 90,"maxResults": 200}
No filters, most recent postings:
{"daysBack": 7,"maxResults": 50}
π Performance
Processing Speed
- One request per page of results, with automatic retry on connection failures
- 0.3 second delay between page requests to reduce blocking
- Stops automatically once
maxResultsis reached or no further pages exist
Resource Usage
- Memory: Low, since no browser instance is launched
- Network: One request per result page within the requested date range
- Proxy: Optional residential proxy tunnel shared across the session for the run
β οΈ Important Notes
Legal & Compliance
- Fair Use: Respects the USAJOBS public API and applies pacing delays between requests
- Public Data Only: Retrieves only publicly posted USAJOBS Government Jobs announcements
- Legal: Not legal or employment advice β consult official USAJOBS listings before applying or making hiring decisions
Data Quality
- Freshness: Reflects USAJOBS' listings at time of run
- Completeness: Keyword filtering is title-only; some relevant postings with keywords only in the description may be excluded
- Accuracy: Sourced directly from the official USAJOBS API
- Verification: Always confirm deadlines and eligibility directly on the official USAJOBS listing before applying
Best Practices
- Use specific keywords to narrow large date ranges to relevant USAJOBS Government Jobs postings
- Combine
agencyandkeywordfilters together for the most targeted results - Increase
daysBackfor broader historical coverage, or keep it short for the freshest postings - Re-run periodically to catch newly posted announcements
- Always verify application deadlines directly on the official USAJOBS site before submitting
π License & Legal
Terms of Use:
- Use for legitimate job search, research, and workforce analysis purposes
- Respect the USAJOBS API's terms of use
- Attribute USAJOBS/OPM as the original data source where required
- Use data responsibly
Disclaimer: USAJOBS Government Jobs Scraper is provided as-is for research and informational purposes. Users are responsible for compliance with USAJOBS' terms of use. This is not legal or employment advice β always verify listings directly on the official USAJOBS website.
βοΈ USAJOBS Government Jobs Excellence
This Actor is optimized for USAJOBS Government Jobs research with:
- β Full date-range and agency-scoped search
- β Keyword title filtering
- β Continuation-token pagination for complete coverage
- β Incremental, real-time Dataset push
- β Retry logic with exponential backoff
- β Production-ready code