{
  "openapi": "3.0.1",
  "info": {
    "title": "USAJOBS Scraper + Federal Hiring Contacts",
    "description": "Get every open US federal job from USAJOBS with salary, grade, who can apply and closing date, plus the agency HR contact on each announcement (name, email, phone). Filter by place, department, series, hiring path, salary, remote and telework. No API key needed.",
    "version": "0.1",
    "x-build-id": "jq9au7L1opdGBvlhr"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/snappytools~usajobs-public-job-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-snappytools-usajobs-public-job-search",
        "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/snappytools~usajobs-public-job-search/runs": {
      "post": {
        "operationId": "runs-sync-snappytools-usajobs-public-job-search",
        "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/snappytools~usajobs-public-job-search/run-sync": {
      "post": {
        "operationId": "run-sync-snappytools-usajobs-public-job-search",
        "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": {
          "searches": {
            "title": "Searches",
            "type": "array",
            "description": "One search per line: the job title or keywords, then a | and a US city and state (Denver, CO), a state (Texas) or a country. Leave the location out to search everywhere, or paste a usajobs.gov search address. Leave the list empty for all jobs.",
            "items": {
              "type": "string"
            }
          },
          "output": {
            "title": "What to return",
            "enum": [
              "jobs",
              "jobsAndOffices",
              "offices"
            ],
            "type": "string",
            "description": "Jobs gives one row per announcement. Jobs and hiring offices adds one row per hiring office with its HR contact (name, email, phone, address) and what it's hiring for. Hiring offices only gives just the office rows.",
            "default": "jobs"
          },
          "maxJobsPerSearch": {
            "title": "Maximum jobs per search",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Stop each search after this many jobs (1 to 10,000; 100 if left empty). Newest jobs come first."
          },
          "radiusMiles": {
            "title": "Radius around the city (miles)",
            "minimum": 0,
            "maximum": 200,
            "type": "integer",
            "description": "Also include jobs this far from the city you searched. Only used with a city."
          },
          "openedWithinDays": {
            "title": "Opened in the last (days)",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Only jobs that opened for applications in the last this many days. Leave empty for all open jobs."
          },
          "departments": {
            "title": "Departments",
            "type": "array",
            "description": "Only jobs in these departments.",
            "items": {
              "type": "string",
              "enum": [
                "DD",
                "VA",
                "AR",
                "AF",
                "NV",
                "HS",
                "DJ",
                "IN",
                "HE",
                "TD",
                "AG",
                "TR",
                "DN",
                "CM",
                "ST",
                "DL",
                "ED",
                "HU",
                "GS",
                "NN",
                "LL",
                "JL",
                "OT"
              ],
              "enumTitles": [
                "Department of Defense",
                "Department of Veterans Affairs",
                "Department of the Army",
                "Department of the Air Force",
                "Department of the Navy",
                "Department of Homeland Security",
                "Department of Justice",
                "Department of the Interior",
                "Department of Health and Human Services",
                "Department of Transportation",
                "Department of Agriculture",
                "Department of the Treasury",
                "Department of Energy",
                "Department of Commerce",
                "Department of State",
                "Department of Labor",
                "Department of Education",
                "Department of Housing and Urban Development",
                "General Services Administration",
                "NASA",
                "Legislative Branch",
                "Judicial Branch",
                "Other agencies and independent organizations"
              ]
            }
          },
          "agencies": {
            "title": "Agency codes",
            "type": "array",
            "description": "Only jobs at these agencies, by USAJOBS agency code (VATA for the Veterans Health Administration, ARNG for the Army National Guard...). They appear in usajobs.gov search addresses as a=.",
            "items": {
              "type": "string"
            }
          },
          "series": {
            "title": "Occupational series",
            "type": "array",
            "description": "Only jobs in these occupational series, by 4-digit code (0343 Management and program analysis, 0610 Nurse, 2210 IT management).",
            "items": {
              "type": "string"
            }
          },
          "hiringPaths": {
            "title": "Who can apply",
            "type": "array",
            "description": "Only jobs open to these groups. Choose Open to the public for jobs anyone can apply for.",
            "items": {
              "type": "string",
              "enum": [
                "public",
                "fed-competitive",
                "fed-excepted",
                "fed-internal-search",
                "fed-transition",
                "vet",
                "mspouse",
                "nguard",
                "student",
                "graduates",
                "ses",
                "disability",
                "overseas",
                "native",
                "peace",
                "land",
                "special-authorities"
              ],
              "enumTitles": [
                "Open to the public",
                "Federal employees, competitive service",
                "Federal employees, excepted service",
                "Internal to an agency",
                "Career transition (CTAP, ICTAP, RPL)",
                "Veterans",
                "Military spouses",
                "National Guard & reserves",
                "Students",
                "Recent graduates",
                "Senior executives",
                "Individuals with disabilities",
                "Family of overseas employees",
                "Native Americans",
                "Peace Corps & AmeriCorps Vista",
                "Land & base management",
                "Special authorities"
              ]
            }
          },
          "workSchedules": {
            "title": "Work schedule",
            "type": "array",
            "description": "Full time, part time and so on.",
            "items": {
              "type": "string",
              "enum": [
                "fullTime",
                "partTime",
                "shift",
                "intermittent",
                "jobSharing",
                "multiple"
              ],
              "enumTitles": [
                "Full time",
                "Part time",
                "Shift work",
                "Intermittent",
                "Job sharing",
                "Multiple schedules"
              ]
            }
          },
          "appointmentTypes": {
            "title": "Appointment type",
            "type": "array",
            "description": "Permanent, temporary, term and so on.",
            "items": {
              "type": "string",
              "enum": [
                "permanent",
                "temporary",
                "term",
                "detail",
                "temporaryPromotion",
                "seasonal",
                "summer",
                "recentGraduates",
                "multiple",
                "internship",
                "intermittent"
              ],
              "enumTitles": [
                "Permanent",
                "Temporary",
                "Term",
                "Detail",
                "Temporary promotion",
                "Seasonal",
                "Summer",
                "Recent graduates",
                "Multiple",
                "Internships",
                "Intermittent"
              ]
            }
          },
          "minSalary": {
            "title": "Minimum salary (USD a year)",
            "minimum": 0,
            "type": "integer",
            "description": "Only jobs paying at least this much, using usajobs.gov's own salary filter."
          },
          "remoteOnly": {
            "title": "Remote jobs only",
            "type": "boolean",
            "description": "Only jobs marked as remote.",
            "default": false
          },
          "teleworkOnly": {
            "title": "Telework eligible only",
            "type": "boolean",
            "description": "Only jobs that allow telework on some days.",
            "default": false
          },
          "relocationOnly": {
            "title": "Relocation paid only",
            "type": "boolean",
            "description": "Only jobs that reimburse relocation expenses.",
            "default": false
          },
          "noClearanceOnly": {
            "title": "No security clearance needed",
            "type": "boolean",
            "description": "Only jobs that don't require a security clearance.",
            "default": false
          },
          "includeDetails": {
            "title": "Include full job details",
            "type": "boolean",
            "description": "Open each announcement for the salary range, telework, remote, travel, clearance, drug test, promotion potential, summary, duties and the agency contact. Runs take longer.",
            "default": false
          },
          "onlyNew": {
            "title": "Only new jobs since my last run",
            "type": "boolean",
            "description": "Return only jobs you haven't had from the same search and filters before. Use it with a schedule for a daily feed of new jobs.",
            "default": false
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}