{
  "openapi": "3.0.1",
  "info": {
    "title": "H-1B Visa Sponsorship Salary Data: PERM & Prevailing Wage",
    "description": "H-1B salary data and PERM prevailing wages from the US Department of Labor public LCA and PERM disclosure files: employer, job title, offered wage, prevailing wage, work location and decision date. Filter by company, title, state and year, or get summaries. $2 per 1,000 cases. No login.",
    "version": "0.0",
    "x-build-id": "tXY7YNMfojJB1aX3n"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/conserving_celerytop~h1b-perm-salary-data/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-conserving_celerytop-h1b-perm-salary-data",
        "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/conserving_celerytop~h1b-perm-salary-data/runs": {
      "post": {
        "operationId": "runs-sync-conserving_celerytop-h1b-perm-salary-data",
        "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/conserving_celerytop~h1b-perm-salary-data/run-sync": {
      "post": {
        "operationId": "run-sync-conserving_celerytop-h1b-perm-salary-data",
        "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": {
          "programs": {
            "title": "Programs",
            "type": "array",
            "description": "LCA covers H-1B, H-1B1 and E-3 labor condition applications (fiscal year 2020 on). PERM covers green card labor certifications (fiscal year 2024 on).",
            "items": {
              "type": "string",
              "enum": [
                "lca",
                "perm"
              ],
              "enumTitles": [
                "H-1B, H-1B1 and E-3 (LCA)",
                "PERM (green card)"
              ]
            },
            "default": [
              "lca"
            ]
          },
          "jobTitles": {
            "title": "Job title keywords",
            "type": "array",
            "description": "Words to find in the job title, such as software engineer or data scientist. A case matches when its title contains any one of them.",
            "items": {
              "type": "string"
            }
          },
          "employers": {
            "title": "Employers",
            "type": "array",
            "description": "Company names or parts of them, such as Google or Amazon. A case matches when the employer name contains any one of them.",
            "items": {
              "type": "string"
            }
          },
          "socCodes": {
            "title": "SOC codes",
            "type": "array",
            "description": "Occupation codes such as 15-1252 (software developers), or a prefix such as 15-12 or 15.",
            "items": {
              "type": "string"
            }
          },
          "states": {
            "title": "Worksite states",
            "type": "array",
            "description": "Two-letter codes such as CA, NY or TX (full names work too).",
            "items": {
              "type": "string"
            }
          },
          "cities": {
            "title": "Worksite cities",
            "type": "array",
            "description": "City names as filed, such as Seattle or New York. Exact match, not case sensitive.",
            "items": {
              "type": "string"
            }
          },
          "fiscalYears": {
            "title": "Fiscal years",
            "type": "array",
            "description": "US federal fiscal years, such as 2026 (October 2025 to September 2026). Empty: the latest year DOL has published.",
            "items": {
              "type": "string"
            }
          },
          "quarters": {
            "title": "Fiscal quarters",
            "type": "array",
            "description": "Limit to quarters of the fiscal year by decision date. Q1 is October to December. Empty: all quarters.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4"
              ],
              "enumTitles": [
                "Q1 (Oct to Dec)",
                "Q2 (Jan to Mar)",
                "Q3 (Apr to Jun)",
                "Q4 (Jul to Sep)"
              ]
            }
          },
          "visaClasses": {
            "title": "Visa classes (LCA)",
            "type": "array",
            "description": "Empty: all visa classes.",
            "items": {
              "type": "string",
              "enum": [
                "H-1B",
                "H-1B1 Chile",
                "H-1B1 Singapore",
                "E-3 Australian"
              ]
            }
          },
          "caseStatuses": {
            "title": "Case status",
            "type": "array",
            "description": "Certified by default. Certified - Withdrawn means the employer withdrew a certified case.",
            "items": {
              "type": "string",
              "enum": [
                "Certified",
                "Certified - Withdrawn",
                "Certified - Expired",
                "Denied",
                "Withdrawn"
              ]
            },
            "default": [
              "Certified"
            ]
          },
          "wageLevels": {
            "title": "Prevailing wage levels (LCA)",
            "type": "array",
            "description": "Level I is entry level, IV is fully competent. Empty: all levels.",
            "items": {
              "type": "string",
              "enum": [
                "I",
                "II",
                "III",
                "IV"
              ]
            }
          },
          "fullTimeOnly": {
            "title": "Full-time only",
            "type": "boolean",
            "description": "Leave out part-time positions.",
            "default": false
          },
          "minAnnualWage": {
            "title": "Minimum annual wage (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Offered wage converted to a yearly amount (hourly times 2,080)."
          },
          "maxAnnualWage": {
            "title": "Maximum annual wage (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Offered wage converted to a yearly amount."
          },
          "outputMode": {
            "title": "Output",
            "enum": [
              "cases",
              "summary"
            ],
            "type": "string",
            "description": "Cases: one row per case. Summary: median, 25th, 75th and 90th percentile annual wage per group.",
            "default": "cases"
          },
          "groupBy": {
            "title": "Summary: group by",
            "enum": [
              "socState",
              "jobTitleState",
              "soc",
              "jobTitle",
              "employer",
              "employerJobTitle"
            ],
            "type": "string",
            "description": "Used in summary mode.",
            "default": "socState"
          },
          "minCasesPerGroup": {
            "title": "Summary: minimum cases per group",
            "minimum": 1,
            "type": "integer",
            "description": "Groups with fewer cases are left out.",
            "default": 3
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Case rows, or summary rows in summary mode.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}