{
  "openapi": "3.0.1",
  "info": {
    "title": "H-1B Sponsor & Salary Data – DOL LCA Disclosure Search",
    "description": "Search official DOL OFLC H-1B, H-1B1 and E-3 LCA disclosure records: employer, job title, SOC, wage, worksite, status and dates. Filter by company, title, state, salary and quarter, or get an employer summary. $0.50 per 1,000 records.",
    "version": "0.1",
    "x-build-id": "3QDJaR93mUkRofgv0"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/gazidev~h1b-lca-sponsors/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-gazidev-h1b-lca-sponsors",
        "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/gazidev~h1b-lca-sponsors/runs": {
      "post": {
        "operationId": "runs-sync-gazidev-h1b-lca-sponsors",
        "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/gazidev~h1b-lca-sponsors/run-sync": {
      "post": {
        "operationId": "run-sync-gazidev-h1b-lca-sponsors",
        "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": {
          "employerNames": {
            "title": "Employer names",
            "type": "array",
            "description": "Employer (or trade/DBA) names to look for. Case-insensitive 'contains' match on the normalised name, e.g. 'google' matches 'Google LLC'. Leave empty for all employers.",
            "items": {
              "type": "string"
            }
          },
          "jobTitleKeywords": {
            "title": "Job title keywords",
            "type": "array",
            "description": "Keep rows whose job title contains ANY of these words (case-insensitive), e.g. 'data scientist', 'nurse'.",
            "items": {
              "type": "string"
            }
          },
          "socCodes": {
            "title": "SOC codes",
            "type": "array",
            "description": "Standard Occupational Classification code prefixes, e.g. '15-1252' (Software Developers) or '15-' (all computer and math jobs).",
            "items": {
              "type": "string"
            }
          },
          "worksiteStates": {
            "title": "Worksite states",
            "type": "array",
            "description": "Two-letter US state codes of the worksite, e.g. CA, NY, TX.",
            "items": {
              "type": "string"
            }
          },
          "worksiteCities": {
            "title": "Worksite cities",
            "type": "array",
            "description": "Exact worksite city names (case-insensitive), e.g. 'Mountain View'.",
            "items": {
              "type": "string"
            }
          },
          "minAnnualWage": {
            "title": "Minimum annual wage (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep rows whose offered wage ('wage rate from', annualised: hour x 2080, week x 52, month x 12) is at least this amount."
          },
          "maxAnnualWage": {
            "title": "Maximum annual wage (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep rows whose annualised offered wage is at most this amount."
          },
          "caseStatuses": {
            "title": "Case status",
            "type": "array",
            "description": "Leave empty for all statuses.",
            "items": {
              "type": "string",
              "enum": [
                "Certified",
                "Certified - Withdrawn",
                "Withdrawn",
                "Denied"
              ]
            }
          },
          "visaClasses": {
            "title": "Visa class",
            "type": "array",
            "description": "Leave empty for all. Values: H-1B, H-1B1 Chile, H-1B1 Singapore, E-3 Australian.",
            "items": {
              "type": "string",
              "enum": [
                "H-1B",
                "H-1B1 Chile",
                "H-1B1 Singapore",
                "E-3 Australian"
              ]
            }
          },
          "fullTimeOnly": {
            "title": "Full-time positions only",
            "type": "boolean",
            "description": "Skip part-time positions.",
            "default": false
          },
          "employerFeins": {
            "title": "Employer FEINs",
            "type": "array",
            "description": "Federal Employer Identification Numbers, e.g. 77-0493581 (exact match, dashes optional).",
            "items": {
              "type": "string"
            }
          },
          "decisionDateFrom": {
            "title": "Decided on or after",
            "type": "string",
            "description": "YYYY-MM-DD. Keep cases with a DOL decision date on or after this day."
          },
          "decisionDateTo": {
            "title": "Decided on or before",
            "type": "string",
            "description": "YYYY-MM-DD."
          },
          "periods": {
            "title": "Fiscal quarters",
            "type": "array",
            "description": "Which OFLC quarterly files to search. 'latest' = newest quarter; 'latest-4' = newest four quarters; 'FY2026' = all quarters of a fiscal year (Oct-Sep); 'FY2026_Q3' = one quarter. Available from FY2020. Up to 8 quarters per run.",
            "default": [
              "latest"
            ],
            "items": {
              "type": "string"
            }
          },
          "outputMode": {
            "title": "Output",
            "enum": [
              "records",
              "employers"
            ],
            "type": "string",
            "description": "'records' = one row per LCA case. 'employers' = one summary row per matching employer (filings, certified/denied counts, positions, median wage, top job titles, SOC codes and states), ranked by filings.",
            "default": "records"
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum rows to save (each saved row is charged). 0 = no limit.",
            "default": 100
          },
          "refreshCache": {
            "title": "Force re-download",
            "type": "boolean",
            "description": "The Actor caches each parsed quarterly file in a named key-value store (h1b-lca-sponsors-cache) in your account and re-downloads it only when DOL republishes it. Tick to rebuild the cache anyway.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}