usajobs_historic_search

Pack: usajobs · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/usajobs_historic_search for the schema, then POST the same URL with its arguments for the data.

Search CLOSED and past federal job announcements from USAJOBS (OPM), filtered by occupational series (e.g. “0905” Attorney), the date range an announcement OPENED or CLOSED, hiring department code (e.g. “DJ” Justice, “VA”) or hiring agency code, or announcement number. The publisher documents the dataset as all current and past USAJOBS postings; probed 2026-12-01: rows dated to the day, nothing opened in 2005 or 2010, rows from 2013. Needs no key. Returns up to 500 announcements per page (agency, title, grade, salary band, open/close dates, series, locations, status) plus remaining_matches, the count from this page onward. An empty window returns found=false with zero rows and the filters echoed (not an error). Paging is by continuation token: pass the returned next_continuation_token back with the SAME filters to get the next page. For open postings use usajobs_search.

Parameters

NameTypeRequiredDescription
seriesstringyesOccupational series code, 4 digits (e.g. “0905”, “2210”)
open_date_fromstringnoAnnouncement opened on or after this date, YYYY-MM-DD
open_date_tostringnoAnnouncement opened on or before this date, YYYY-MM-DD
close_date_fromstringnoAnnouncement closed on or after this date, YYYY-MM-DD
close_date_tostringnoAnnouncement closed on or before this date, YYYY-MM-DD
departmentstringnoHiring department code (e.g. “DJ”, “VA”, “DD”); several allowed, comma-separated
agencystringnoHiring agency code (e.g. “VALA”, “AF”); several allowed, comma-separated
announcement_numberstringnoExact announcement number (e.g. “USCA-25-09”)
continuation_tokenstringnonext_continuation_token from the previous page; repeat the same filters

Example call

Arguments

{
  "series": "0905",
  "open_date_from": "2025-05-05",
  "open_date_to": "2025-05-09"
}

curl

curl -X POST https://gateway.pipeworx.io/usajobs/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"usajobs_historic_search","arguments":{"series":"0905","open_date_from":"2025-05-05","open_date_to":"2025-05-09"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('usajobs_historic_search', {
  "series": "0905",
  "open_date_from": "2025-05-05",
  "open_date_to": "2025-05-09"
});

Response shape

Always returns: found, count, announcements, filters, source

FieldTypeDescription
foundbooleanFalse when nothing matches (zero rows, not an error)
countnumberAnnouncements on this page
remaining_matchesnumberMatches from this page onward
page_sizenumber | nullUpstream page size when more than one page exists
next_continuation_tokenstring | nullPass back with the same filters for the next page; null on the last page
filtersobjectThe filters as applied
announcementsarray
notestringPaging or empty-window note
sourcestringPublisher and dataset
Full JSON Schema
{
  "type": "object",
  "description": "Past USAJOBS announcements for the filters given",
  "properties": {
    "found": {
      "type": "boolean",
      "description": "False when nothing matches (zero rows, not an error)"
    },
    "count": {
      "type": "number",
      "description": "Announcements on this page"
    },
    "remaining_matches": {
      "type": "number",
      "description": "Matches from this page onward"
    },
    "page_size": {
      "type": [
        "number",
        "null"
      ],
      "description": "Upstream page size when more than one page exists"
    },
    "next_continuation_token": {
      "type": [
        "string",
        "null"
      ],
      "description": "Pass back with the same filters for the next page; null on the last page"
    },
    "filters": {
      "type": "object",
      "description": "The filters as applied"
    },
    "announcements": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "usajobs_control_number": {
            "type": [
              "number",
              "null"
            ],
            "description": "USAJOBS control number"
          },
          "announcement_number": {
            "type": [
              "string",
              "null"
            ],
            "description": "Announcement number"
          },
          "position_title": {
            "type": [
              "string",
              "null"
            ],
            "description": "Job title"
          },
          "hiring_department_code": {
            "type": [
              "string",
              "null"
            ],
            "description": "Department code"
          },
          "hiring_department_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Department name"
          },
          "hiring_agency_code": {
            "type": [
              "string",
              "null"
            ],
            "description": "Agency code"
          },
          "hiring_agency_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Agency name"
          },
          "hiring_subelement_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Sub-element name"
          },
          "position_open_date": {
            "type": [
              "string",
              "null"
            ],
            "description": "Date the announcement opened, YYYY-MM-DD"
          },
          "position_close_date": {
            "type": [
              "string",
              "null"
            ],
            "description": "Date it closed"
          },
          "position_expire_date": {
            "type": [
              "string",
              "null"
            ],
            "description": "Early close date, if any"
          },
          "series": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Occupational series codes"
          },
          "pay_scale": {
            "type": [
              "string",
              "null"
            ],
            "description": "Pay plan"
          },
          "minimum_grade": {
            "type": [
              "string",
              "null"
            ],
            "description": "Lowest grade"
          },
          "maximum_grade": {
            "type": [
              "string",
              "null"
            ],
            "description": "Highest grade"
          },
          "minimum_salary": {
            "type": [
              "number",
              "null"
            ],
            "description": "Lowest salary"
          },
          "maximum_salary": {
            "type": [
              "number",
              "null"
            ],
            "description": "Highest salary"
          },
          "salary_type": {
            "type": [
              "string",
              "null"
            ],
            "description": "Salary frequency"
          },
          "appointment_type": {
            "type": [
              "string",
              "null"
            ],
            "description": "Appointment type"
          },
          "work_schedule": {
            "type": [
              "string",
              "null"
            ],
            "description": "Work schedule"
          },
          "service_type": {
            "type": [
              "string",
              "null"
            ],
            "description": "Competitive, Excepted or Senior Executive"
          },
          "supervisory_status": {
            "type": [
              "string",
              "null"
            ],
            "description": "Y or N"
          },
          "telework_eligible": {
            "type": [
              "string",
              "null"
            ],
            "description": "Y or N"
          },
          "security_clearance": {
            "type": [
              "string",
              "null"
            ],
            "description": "Clearance level"
          },
          "total_openings": {
            "type": [
              "string",
              "null"
            ],
            "description": "Number of openings"
          },
          "opening_status": {
            "type": [
              "string",
              "null"
            ],
            "description": "Status of the announcement"
          },
          "hiring_paths": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Who may apply"
          },
          "locations": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "city": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "City"
                },
                "state": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "State"
                },
                "country": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Country"
                }
              }
            },
            "description": "Up to 10 locations"
          },
          "locations_total": {
            "type": "number",
            "description": "Total number of locations on the announcement"
          }
        }
      }
    },
    "note": {
      "type": "string",
      "description": "Paging or empty-window note"
    },
    "source": {
      "type": "string",
      "description": "Publisher and dataset"
    }
  },
  "required": [
    "found",
    "count",
    "announcements",
    "filters",
    "source"
  ]
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the usajobs pack
{
  "mcpServers": {
    "usajobs": {
      "url": "https://gateway.pipeworx.io/usajobs/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build December 1, 2026