{
  "openapi": "3.0.1",
  "info": {
    "title": "H1B Salary Scraper: Employers, Jobs & Pay Data",
    "description": "Scrape H1B visa salary data from public DOL LCA filings: employer, job title, base salary, city, dates and per-employer median, average and max pay. Fiscal years 2012-2026. Export CSV, Excel, JSON or XML. No login or API key. Netflix 2026 returns 2,157 filings.",
    "version": "0.2",
    "x-build-id": "LRKqmeqqRpPUeeUbD"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/recordsdata~h1b-salaries-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-recordsdata-h1b-salaries-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/recordsdata~h1b-salaries-scraper/runs": {
      "post": {
        "operationId": "runs-sync-recordsdata-h1b-salaries-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/recordsdata~h1b-salaries-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-recordsdata-h1b-salaries-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": {
          "dataSource": {
            "title": "Where should the data come from?",
            "enum": [
              "h1bdata",
              "dol"
            ],
            "type": "string",
            "description": "h1bdata.info = fast salary search (certified filings, 6 fields, FY2012 to 2026). DOL files = official disclosure data (60+ fields, all case statuses, wage level, SOC code, FEIN); FY2020 to 2026, broad searches take longer.",
            "default": "h1bdata"
          },
          "employers": {
            "title": "Employer names",
            "type": "array",
            "description": "One search per employer. Example: Google, Microsoft, Deloitte.",
            "default": [
              "Google"
            ],
            "items": {
              "type": "string"
            }
          },
          "jobTitle": {
            "title": "Job title (optional)",
            "type": "string",
            "description": "Job title keyword. Example: Software Engineer, Data Scientist.",
            "default": ""
          },
          "city": {
            "title": "City (optional)",
            "type": "string",
            "description": "Work city. Example: New York, Seattle.",
            "default": ""
          },
          "state": {
            "title": "Work state (optional)",
            "enum": [
              "",
              "AL",
              "AK",
              "AZ",
              "AR",
              "CA",
              "CO",
              "CT",
              "DE",
              "DC",
              "FL",
              "GA",
              "HI",
              "ID",
              "IL",
              "IN",
              "IA",
              "KS",
              "KY",
              "LA",
              "ME",
              "MD",
              "MA",
              "MI",
              "MN",
              "MS",
              "MO",
              "MT",
              "NE",
              "NV",
              "NH",
              "NJ",
              "NM",
              "NY",
              "NC",
              "ND",
              "OH",
              "OK",
              "OR",
              "PA",
              "RI",
              "SC",
              "SD",
              "TN",
              "TX",
              "UT",
              "VT",
              "VA",
              "WA",
              "WV",
              "WI",
              "WY",
              "PR",
              "GU",
              "VI",
              "MP",
              "AS"
            ],
            "type": "string",
            "description": "Keep only filings with a worksite in this US state or territory. Works with both sources. Any state = no filter.",
            "default": ""
          },
          "year": {
            "title": "Fiscal year",
            "enum": [
              "All Years",
              "2026",
              "2025",
              "2024",
              "2023",
              "2022",
              "2021",
              "2020",
              "2019",
              "2018",
              "2017",
              "2016",
              "2015",
              "2014",
              "2013",
              "2012"
            ],
            "type": "string",
            "description": "Filing fiscal year (October to September). h1bdata.info: 2012 to 2026 (2024 is sparse). DOL: 2020 to 2026 or All years. Example: 2025.",
            "default": "2026"
          },
          "minSalary": {
            "title": "Minimum base salary (USD per year)",
            "minimum": 0,
            "type": "integer",
            "description": "Skip filings below this yearly base salary. DOL hourly, weekly, bi-weekly and monthly wages are converted to yearly first. Example: 150000.",
            "default": 0
          },
          "maxSalary": {
            "title": "Maximum base salary (USD per year)",
            "minimum": 0,
            "type": "integer",
            "description": "Skip filings above this yearly base salary, same conversion. Example: 300000.",
            "default": 0
          },
          "caseStatus": {
            "title": "Case status (optional)",
            "enum": [
              "",
              "CERTIFIED",
              "CERTIFIED-WITHDRAWN",
              "WITHDRAWN",
              "DENIED"
            ],
            "type": "string",
            "description": "Keep only filings with this outcome. h1bdata.info has certified filings only; denied, withdrawn and certified-withdrawn need the DOL source.",
            "default": ""
          },
          "quarter": {
            "title": "Fiscal quarter (DOL only)",
            "enum": [
              "",
              "1",
              "2",
              "3",
              "4"
            ],
            "type": "string",
            "description": "Read only one quarter (Q1 = October to December). Empty = all quarters.",
            "default": ""
          },
          "visaClass": {
            "title": "Visa class (DOL only)",
            "enum": [
              "",
              "H-1B",
              "H-1B1 Chile",
              "H-1B1 Singapore",
              "E-3 Australian"
            ],
            "type": "string",
            "description": "Keep only one visa class. Example: H-1B.",
            "default": ""
          },
          "wageLevel": {
            "title": "Prevailing wage level (DOL only)",
            "enum": [
              "",
              "I",
              "II",
              "III",
              "IV",
              "N/A"
            ],
            "type": "string",
            "description": "I = entry level, IV = fully experienced. Empty = all.",
            "default": ""
          },
          "socCode": {
            "title": "SOC occupation code (DOL only)",
            "type": "string",
            "description": "Filings whose SOC code starts with this value. Example: 15-1252 (software developers), 15-1 (computer jobs), 29 (healthcare).",
            "default": ""
          },
          "h1bDependent": {
            "title": "H-1B dependent employer (DOL only)",
            "enum": [
              "",
              "yes",
              "no"
            ],
            "type": "string",
            "description": "yes = only dependent employers, no = only non-dependent. Empty = both.",
            "default": ""
          },
          "employerMatch": {
            "title": "Employer name match (DOL only)",
            "enum": [
              "contains",
              "startsWith",
              "exact"
            ],
            "type": "string",
            "description": "How your names are compared with the legal employer name (case and punctuation ignored). Contains finds Google in GOOGLE LLC and subsidiaries; exact needs the full legal name.",
            "default": "contains"
          },
          "maxItems": {
            "title": "Max results (free plan: 10)",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Maximum filing rows per run. Free users get 10; paid users up to 1,000,000. The employer summary row is separate and not counted.",
            "default": 10
          },
          "includeEmployerSummary": {
            "title": "Add an employer summary row",
            "type": "boolean",
            "description": "One extra row per employer: filing count, min/median/average/max salary and top job titles. Billed as its own event. With DOL files the numbers are exact only if summaryComplete is true (the actor reads at most 4 extra quarterly files after Max results); raise Max results for a complete summary.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}