{
  "openapi": "3.0.1",
  "info": {
    "title": "H1B Visa Database Scraper | DOL Disclosure Salaries",
    "description": "H-1B visa database scraper & API: search US H-1B (LCA) filings by employer, job title, year or location and export employer, title, wage, worksite, case status, dates and visa class. Salary benchmarking, immigration and labor-market data — fast, no login.",
    "version": "1.0",
    "x-build-id": "FfTl0tGcHG9iPoclD"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/haketa~h1b-visa-database-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-haketa-h1b-visa-database-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/haketa~h1b-visa-database-scraper/runs": {
      "post": {
        "operationId": "runs-sync-haketa-h1b-visa-database-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/haketa~h1b-visa-database-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-haketa-h1b-visa-database-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": {
          "popularEmployers": {
            "title": "Popular employers (pick from list)",
            "type": "array",
            "description": "Select one or more well-known sponsors to pull their H1B salary filings. This is the easy path — no typing needed. Combine with the fiscal year below. For a company not listed here, use the 'Other employers' box.",
            "items": {
              "type": "string",
              "enum": [
                "google",
                "amazon",
                "microsoft",
                "meta",
                "apple",
                "netflix",
                "nvidia",
                "tesla",
                "intel",
                "ibm",
                "oracle",
                "salesforce",
                "adobe",
                "uber",
                "linkedin",
                "goldman sachs",
                "jpmorgan chase",
                "morgan stanley",
                "citigroup",
                "capital one",
                "deloitte",
                "accenture",
                "cognizant",
                "infosys",
                "tata consultancy services",
                "wipro",
                "ernst & young",
                "pwc",
                "mckinsey",
                "walmart"
              ],
              "enumTitles": [
                "Google",
                "Amazon",
                "Microsoft",
                "Meta (Facebook)",
                "Apple",
                "Netflix",
                "NVIDIA",
                "Tesla",
                "Intel",
                "IBM",
                "Oracle",
                "Salesforce",
                "Adobe",
                "Uber",
                "LinkedIn",
                "Goldman Sachs",
                "JPMorgan Chase",
                "Morgan Stanley",
                "Citigroup",
                "Capital One",
                "Deloitte",
                "Accenture",
                "Cognizant",
                "Infosys",
                "Tata Consultancy Services (TCS)",
                "Wipro",
                "Ernst & Young (EY)",
                "PwC",
                "McKinsey & Company",
                "Walmart"
              ]
            },
            "default": []
          },
          "year": {
            "title": "Fiscal year",
            "enum": [
              "All Years",
              "2026",
              "2025",
              "2024",
              "2023",
              "2022",
              "2021",
              "2020",
              "2019",
              "2018",
              "2017",
              "2016",
              "2015",
              "2014"
            ],
            "type": "string",
            "description": "US DOL fiscal year of the H1B petition. Pick 'All years' for the full history, or a single year for a focused, faster result.",
            "default": "2024"
          },
          "employers": {
            "title": "Other employers (type a name)",
            "type": "array",
            "description": "Optional. Type any employer name for a company not in the dropdown above (case-insensitive partial match). Examples: 'stripe', 'databricks', 'two sigma'. Each name runs as its own search.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "jobTitles": {
            "title": "Job titles (optional)",
            "type": "array",
            "description": "Optional. Narrow results to specific roles (partial match). Examples: 'software engineer', 'data scientist', 'product manager', 'machine learning engineer'. Leave empty for all roles.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "cities": {
            "title": "Cities (optional)",
            "type": "array",
            "description": "Optional. Filter results to specific US cities (case-insensitive). Examples: 'san francisco', 'new york', 'austin', 'seattle'. Leave empty for nationwide.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minSalary": {
            "title": "Minimum salary (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Only return petitions with a base salary at or above this amount. Leave 0 for no minimum.",
            "default": 0
          },
          "maxSalary": {
            "title": "Maximum salary (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Only return petitions with a base salary at or below this amount. Leave 0 for no maximum.",
            "default": 0
          },
          "maxRecords": {
            "title": "Max records",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of petitions to return in total. A single popular employer can have 20,000+ filings, so keep this capped for fast, focused runs. Set 0 for unlimited.",
            "default": 100
          },
          "startUrls": {
            "title": "Start URLs (advanced)",
            "type": "array",
            "description": "Advanced / power users only — you do NOT need this. Paste a ready-made h1bdata.info search URL and it overrides the fields above. Most users should just use the dropdowns and search boxes.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "requestDelay": {
            "title": "Request delay (ms)",
            "minimum": 100,
            "maximum": 10000,
            "type": "integer",
            "description": "Delay between requests. A value of 500-2000ms keeps runs smooth and polite.",
            "default": 1000
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. Only needed if you want IP rotation for very large jobs. The default works out of the box."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}