{
  "openapi": "3.0.1",
  "info": {
    "title": "USAJobs Scraper - Federal Government Jobs Data",
    "description": "Scrape USAJobs.gov federal job listings without an API key. Export to CSV/JSON - a USAJobs API alternative & federal jobs data extraction tool.",
    "version": "1.0",
    "x-build-id": "ZQJNZHmdd9cOoo71Q"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/logiover~usajobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-logiover-usajobs-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/logiover~usajobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-logiover-usajobs-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/logiover~usajobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-logiover-usajobs-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "Free-text keyword matched against the position title, e.g. 'engineer', 'nurse', 'analyst', 'cyber'. Leave empty to return every job announcement in the date range.",
            "default": ""
          },
          "hiringDepartmentCodes": {
            "title": "Hiring Department",
            "type": "array",
            "description": "Filter by one or more federal departments. Applied server-side by the USAJobs API. Leave empty for all departments.",
            "items": {
              "type": "string",
              "enum": [
                "AF",
                "AR",
                "NV",
                "DD",
                "HS",
                "VA",
                "TR",
                "JU",
                "IN",
                "AG",
                "HE",
                "TD",
                "CM",
                "LP",
                "EP",
                "SB",
                "ST",
                "ED",
                "HU",
                "EN",
                "NN",
                "NM",
                "GS",
                "OM",
                "SZ",
                "SE",
                "FQ",
                "FC",
                "AH",
                "TB",
                "RR",
                "SM",
                "GG",
                "IB",
                "PU",
                "CT",
                "CU",
                "NF",
                "LL",
                "JL"
              ],
              "enumTitles": [
                "Department of the Air Force (AF)",
                "Department of the Army (AR)",
                "Department of the Navy (NV)",
                "Department of Defense (DD)",
                "Department of Homeland Security (HS)",
                "Department of Veterans Affairs (VA)",
                "Department of the Treasury (TR)",
                "Department of Justice (JU)",
                "Department of the Interior (IN)",
                "Department of Agriculture (AG)",
                "Department of Health and Human Services (HE)",
                "Department of Transportation (TD)",
                "Department of Commerce (CM)",
                "Department of Labor (LP)",
                "Environmental Protection Agency (EP)",
                "Small Business Administration (SB)",
                "Department of State (ST)",
                "Department of Education (ED)",
                "Department of Housing and Urban Development (HU)",
                "Department of Energy (EN)",
                "National Aeronautics and Space Administration (NN)",
                "Nuclear Regulatory Commission (NM)",
                "General Services Administration (GS)",
                "Office of Personnel Management (OM)",
                "Social Security Administration (SZ)",
                "Securities and Exchange Commission (SE)",
                "Federal Deposit Insurance Corporation (FQ)",
                "Farm Credit Administration (FC)",
                "Federal Reserve System (AH)",
                "Federal Trade Commission (TB)",
                "Railroad Retirement Board (RR)",
                "Smithsonian Institution (SM)",
                "Government Accountability Office (GG)",
                "International Boundary & Water Commission (IB)",
                "Broadcasting Board of Governors (PU)",
                "Court Services & Offender Supervision (CT)",
                "Consumer Financial Protection Bureau (CU)",
                "National Science Foundation (NF)",
                "Library of Congress (LL)",
                "Judicial Branch (JL)"
              ]
            },
            "default": []
          },
          "positionSeries": {
            "title": "Occupational Series",
            "type": "array",
            "description": "Filter by one or more occupational (job) series. Applied server-side by the USAJobs API. Leave empty for all series.",
            "items": {
              "type": "string",
              "enum": [
                "2210",
                "0343",
                "0301",
                "0303",
                "1102",
                "0610",
                "0602",
                "0511",
                "0510",
                "0201",
                "0080",
                "1811",
                "0083",
                "0855",
                "0801",
                "0810",
                "0830",
                "0850",
                "1550",
                "1560",
                "1515",
                "0132",
                "0110",
                "0501",
                "0560",
                "0505",
                "0905",
                "0958",
                "0018",
                "0028",
                "0089",
                "0401",
                "0403",
                "0404",
                "0080g",
                "0640",
                "0620",
                "0621",
                "0644",
                "0647",
                "0660",
                "0680",
                "0685",
                "1101",
                "1105",
                "1109",
                "1140",
                "1150",
                "1160",
                "1170",
                "0340",
                "0341",
                "0342",
                "0344",
                "0346",
                "0399",
                "2001",
                "2003",
                "2005",
                "2010",
                "2032",
                "0006",
                "0007",
                "1035"
              ],
              "enumTitles": [
                "2210 - Information Technology Management",
                "0343 - Management & Program Analysis",
                "0301 - Miscellaneous Administration & Program",
                "0303 - Miscellaneous Clerk & Assistant",
                "1102 - Contracting",
                "0610 - Nurse",
                "0602 - Medical Officer (Physician)",
                "0511 - Auditing",
                "0510 - Accounting",
                "0201 - Human Resources Management",
                "0080 - Security Administration",
                "1811 - Criminal Investigation",
                "0083 - Police",
                "0855 - Electronics Engineering",
                "0801 - General Engineering",
                "0810 - Civil Engineering",
                "0830 - Mechanical Engineering",
                "0850 - Electrical Engineering",
                "1550 - Computer Science",
                "1560 - Data Science",
                "1515 - Operations Research",
                "0132 - Intelligence",
                "0110 - Economist",
                "0501 - Financial Administration & Program",
                "0560 - Budget Analysis",
                "0505 - Financial Management",
                "0905 - General Attorney",
                "0958 - Employee & Labor Relations",
                "0018 - Safety & Occupational Health Management",
                "0028 - Environmental Protection Specialist",
                "0089 - Emergency Management",
                "0401 - General Natural Resources & Biological Science",
                "0403 - Microbiology",
                "0404 - Biological Science Technician",
                "0080g - Security Guard",
                "0640 - Health Aid & Technician",
                "0620 - Practical Nurse",
                "0621 - Nursing Assistant",
                "0644 - Medical Technologist",
                "0647 - Diagnostic Radiologic Technologist",
                "0660 - Pharmacist",
                "0680 - Dental Officer",
                "0685 - Public Health Program Specialist",
                "1101 - General Business & Industry",
                "1105 - Purchasing",
                "1109 - Grants Management",
                "1140 - Trade Specialist",
                "1150 - Industrial Specialist",
                "1160 - Financial Analysis",
                "1170 - Realty",
                "0340 - Program Management",
                "0341 - Administrative Officer",
                "0342 - Support Services Administration",
                "0344 - Management & Program Clerical & Assistance",
                "0346 - Logistics Management",
                "0399 - Administration & Office Support Student Trainee",
                "2001 - General Supply",
                "2003 - Supply Program Management",
                "2005 - Supply Clerical & Technician",
                "2010 - Inventory Management",
                "2032 - Packaging",
                "0006 - Correctional Institution Administration",
                "0007 - Correctional Officer",
                "1035 - Public Affairs"
              ]
            },
            "default": []
          },
          "payScale": {
            "title": "Pay Scale / Grade System",
            "type": "array",
            "description": "Keep only jobs on the selected pay plan(s) (applied to results after download). Leave empty for all pay plans. GS = General Schedule (white-collar), WG = Wage Grade (blue-collar), SES/ES = Senior Executive.",
            "items": {
              "type": "string",
              "enum": [
                "GS",
                "GG",
                "WG",
                "WL",
                "WS",
                "SV",
                "NF",
                "NA",
                "CY",
                "FG",
                "AD",
                "AT",
                "NH",
                "VN",
                "ES",
                "SL",
                "ST",
                "GL",
                "IA",
                "VM"
              ],
              "enumTitles": [
                "GS - General Schedule",
                "GG - Grades Similar to GS",
                "WG - Wage Grade (Federal Wage System)",
                "WL - Wage Leader",
                "WS - Wage Supervisor",
                "SV - Transportation Security (TSA)",
                "NF - Nonappropriated Fund (MWR)",
                "NA - Wage Grade Nonappropriated Fund",
                "CY - Child & Youth (NAF)",
                "FG - Foreign Service",
                "AD - Administratively Determined",
                "AT - Air Traffic Control",
                "NH - AcqDemo (DoD)",
                "VN - VA Nurse",
                "ES - Senior Executive Service",
                "SL - Senior Level",
                "ST - Scientific & Professional",
                "GL - GS Law Enforcement",
                "IA - Intelligence (Defense)",
                "VM - VA Physician"
              ]
            },
            "default": []
          },
          "serviceType": {
            "title": "Service Type",
            "type": "array",
            "description": "Keep only jobs of the selected federal service type(s) (applied to results after download). Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "Competitive",
                "Excepted",
                "Senior Executive"
              ],
              "enumTitles": [
                "Competitive Service",
                "Excepted Service",
                "Senior Executive Service"
              ]
            },
            "default": []
          },
          "workSchedule": {
            "title": "Work Schedule",
            "type": "array",
            "description": "Keep only jobs with the selected work schedule(s) (applied to results after download). Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "Full-time",
                "Part-time",
                "Shift work",
                "Intermittent",
                "Job sharing",
                "Multiple Schedules"
              ],
              "enumTitles": [
                "Full-time",
                "Part-time",
                "Shift work",
                "Intermittent",
                "Job sharing",
                "Multiple Schedules"
              ]
            },
            "default": []
          },
          "appointmentType": {
            "title": "Appointment Type",
            "type": "array",
            "description": "Keep only jobs with the selected appointment type(s) (applied to results after download). Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "Permanent",
                "Term",
                "Temporary",
                "Seasonal",
                "Detail",
                "Multiple",
                "Temporary promotion",
                "Intermittent",
                "Agency Employees Only",
                "Recent graduates",
                "Internships",
                "Presidential Management Fellows"
              ],
              "enumTitles": [
                "Permanent",
                "Term",
                "Temporary",
                "Seasonal",
                "Detail",
                "Multiple",
                "Temporary Promotion",
                "Intermittent",
                "Agency Employees Only",
                "Recent Graduates",
                "Internships",
                "Presidential Management Fellows"
              ]
            },
            "default": []
          },
          "securityClearance": {
            "title": "Security Clearance",
            "type": "array",
            "description": "Keep only jobs requiring the selected security clearance level(s) (applied to results after download). Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "Not Required",
                "Other",
                "Confidential",
                "Secret",
                "Top Secret",
                "Sensitive Compartmented Information",
                "Q Sensitive",
                "L Non-Sensitive",
                "Public Trust - Background Investigation"
              ],
              "enumTitles": [
                "Not Required",
                "Other",
                "Confidential",
                "Secret",
                "Top Secret",
                "Sensitive Compartmented Information (TS/SCI)",
                "Q Sensitive",
                "L Non-Sensitive",
                "Public Trust - Background Investigation"
              ]
            },
            "default": []
          },
          "supervisoryStatusOnly": {
            "title": "Supervisory / Management Positions Only",
            "type": "boolean",
            "description": "When enabled, keep only supervisory / management positions. Leave off to include all.",
            "default": false
          },
          "teleworkEligibleOnly": {
            "title": "Telework-Eligible Positions Only",
            "type": "boolean",
            "description": "When enabled, keep only telework-eligible positions. Leave off to include all.",
            "default": false
          },
          "startDate": {
            "title": "Start Date",
            "type": "string",
            "description": "Earliest position open date (YYYY-MM-DD). Leave empty for the last 30 days.",
            "default": ""
          },
          "endDate": {
            "title": "End Date",
            "type": "string",
            "description": "Latest position open date (YYYY-MM-DD). Leave empty for today.",
            "default": ""
          },
          "maxJobs": {
            "title": "Max Jobs",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum job announcements to save. 0 = all matching the date range (can be tens of thousands). Empty input returns the most recent federal job announcements."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}