{
  "openapi": "3.0.1",
  "info": {
    "title": "USAJOBS Federal Jobs: Open and Historic Postings, No API Key",
    "description": "US federal jobs from the public USAJOBS API, no key needed: open jobs and postings back to 2017 with salary, grade, occupation series, hiring paths and locations. Filter by keyword, location, agency or pay. Commercial reuse allowed by the API terms.",
    "version": "0.1",
    "x-build-id": "dTDgcBrLPJHIBFPm2"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/jp-data-lab~usajobs-federal-jobs/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-jp-data-lab-usajobs-federal-jobs",
        "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/jp-data-lab~usajobs-federal-jobs/runs": {
      "post": {
        "operationId": "runs-sync-jp-data-lab-usajobs-federal-jobs",
        "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/jp-data-lab~usajobs-federal-jobs/run-sync": {
      "post": {
        "operationId": "run-sync-jp-data-lab-usajobs-federal-jobs",
        "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": {
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Keep jobs whose title or occupation name contains any of these, e.g. nurse, data scientist. Case-insensitive. The source has no job description text, so a word that appears only in the duties will not match.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "Keep jobs with a location whose full city, state or country name equals one of these, e.g. Texas, Seattle, Japan. Virginia does not match West Virginia. Use full state names, not TX.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "agencies": {
            "title": "Agencies",
            "type": "array",
            "description": "Keep jobs whose department, agency or sub-agency name contains any of these, e.g. Veterans, Secret Service, Navy.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "hiringPaths": {
            "title": "Who can apply (hiring paths)",
            "type": "array",
            "description": "Keep jobs open to any of these groups. Choose The public for jobs anyone can apply to. Leave empty for all, including jobs for current federal employees.",
            "items": {
              "type": "string",
              "enum": [
                "The public",
                "Veterans",
                "Federal employees - Competitive service",
                "Federal employees - Excepted service",
                "Internal to an agency",
                "Military spouses",
                "National Guard and reserves",
                "Individuals with disabilities",
                "Students",
                "Recent graduates",
                "Career transition (CTAP, ICTAP, RPL)",
                "Family of overseas employees",
                "Native Americans",
                "Peace Corps & AmeriCorps Vista",
                "Land and base management",
                "Senior executives",
                "Special authorities",
                "Custom announcement"
              ]
            },
            "default": []
          },
          "remoteOnly": {
            "title": "Remote jobs only",
            "type": "boolean",
            "description": "Keep jobs listed as Anywhere in the U.S. (remote job).",
            "default": false
          },
          "minAnnualSalary": {
            "title": "Minimum annual pay (USD)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Keep jobs whose top pay reaches this amount per year. Hourly pay is multiplied by 2,087 hours. Jobs paid per day or by fee are left out when this is set. 0 = no limit.",
            "default": 0
          },
          "acceptingOnly": {
            "title": "Accepting applications only",
            "type": "boolean",
            "description": "Keep jobs still taking applications. Turn this off for past jobs and set a date below.",
            "default": true
          },
          "openedWithinDays": {
            "title": "Opened within (days)",
            "minimum": 0,
            "maximum": 3650,
            "type": "integer",
            "description": "Keep jobs opened in the last N days. Good for a daily or weekly schedule. 0 = no limit.",
            "default": 0
          },
          "openedFrom": {
            "title": "Opened on or after",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
            "type": "string",
            "description": "Date as 2024-01-01. For past jobs. Do not combine with Opened within (days).",
            "default": ""
          },
          "openedTo": {
            "title": "Opened on or before",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
            "type": "string",
            "description": "Date as 2024-01-31. A run reads at most 100,000 jobs before these filters, which is 2 to 3 months of all federal jobs in a busy year. Longer ranges need Occupation series or Department codes.",
            "default": ""
          },
          "occupationSeries": {
            "title": "Occupation series",
            "type": "array",
            "description": "4-digit federal occupation codes, e.g. 2210 (IT), 0610 (nursing), 1102 (contracting). Faster than keywords on long date ranges.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "departmentCodes": {
            "title": "Department codes",
            "type": "array",
            "description": "2-letter codes, e.g. VA (Veterans Affairs), AR (Army), AF (Air Force), NV (Navy), DD (Defense), HS (Homeland Security). Faster than Agencies on long date ranges.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Total for the run, newest first. You are charged per result.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}