{
  "openapi": "3.0.1",
  "info": {
    "title": "DOL H-1B LCA Salary Scraper",
    "description": "Search official DOL salary disclosures for H-1B, H-1B1, and E-3 filings. Filter employers, roles, worksites, wages, visa classes, and case statuses, then export normalized records.",
    "version": "0.1",
    "x-build-id": "8CnTxWTpFlhb9v0yw"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automation-lab~dol-h1b-lca-salary-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automation-lab-dol-h1b-lca-salary-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/automation-lab~dol-h1b-lca-salary-scraper/runs": {
      "post": {
        "operationId": "runs-sync-automation-lab-dol-h1b-lca-salary-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/automation-lab~dol-h1b-lca-salary-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-automation-lab-dol-h1b-lca-salary-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": {
          "fiscalYear": {
            "title": "📅 Fiscal year",
            "minimum": 2008,
            "maximum": 2027,
            "type": "integer",
            "description": "DOL fiscal year to search.",
            "default": 2026
          },
          "quarter": {
            "title": "Fiscal quarter",
            "enum": [
              "Q1",
              "Q2",
              "Q3",
              "Q4"
            ],
            "type": "string",
            "description": "Quarterly/YTD disclosure file to search.",
            "default": "Q2"
          },
          "employerQuery": {
            "title": "🏢 Employer name contains",
            "type": "string",
            "description": "Case-insensitive partial employer name, for example Microsoft or Deloitte."
          },
          "jobTitleQuery": {
            "title": "Job title contains",
            "type": "string",
            "description": "Case-insensitive partial job title, for example Software Engineer."
          },
          "socCode": {
            "title": "SOC code",
            "type": "string",
            "description": "Exact Standard Occupational Classification code, such as 15-1252."
          },
          "state": {
            "title": "Worksite state",
            "type": "string",
            "description": "Exact two-letter U.S. worksite state code, such as CA, NY, or TX."
          },
          "city": {
            "title": "Worksite city contains",
            "type": "string",
            "description": "Case-insensitive worksite city filter."
          },
          "caseStatuses": {
            "title": "Case statuses",
            "type": "array",
            "description": "Include only selected DOL case statuses.",
            "items": {
              "type": "string",
              "enum": [
                "Certified",
                "Certified - Withdrawn",
                "Denied",
                "Withdrawn"
              ]
            }
          },
          "visaClasses": {
            "title": "Visa classes",
            "type": "array",
            "description": "Include H-1B, H-1B1, E-3, or any combination.",
            "items": {
              "type": "string",
              "enum": [
                "H-1B",
                "H-1B1 Chile",
                "H-1B1 Singapore",
                "E-3 Australian"
              ]
            }
          },
          "wageMin": {
            "title": "💵 Minimum annualized offered wage",
            "minimum": 0,
            "type": "number",
            "description": "Minimum offered wage after annualizing hourly, weekly, biweekly, and monthly source values."
          },
          "wageMax": {
            "title": "Maximum annualized offered wage",
            "minimum": 0,
            "type": "number",
            "description": "Maximum annualized offered wage."
          },
          "wageLevel": {
            "title": "Prevailing wage level",
            "enum": [
              "Level I",
              "Level II",
              "Level III",
              "Level IV"
            ],
            "type": "string",
            "description": "Exact DOL prevailing wage level."
          },
          "maxItems": {
            "title": "📦 Maximum filings",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many matching, unique LCA filing/worksite records.",
            "default": 20
          },
          "sourceUrl": {
            "title": "Advanced: official workbook URL",
            "type": "string",
            "description": "Optional direct dol.gov XLSX URL. Overrides fiscal year discovery; useful when DOL publishes a corrected file."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}