# BLS Occupational Outlook Handbook Scraper (`crawlerbros/bls-ooh-scraper`) Actor

Scrape Bureau of Labor Statistics Occupational Outlook Handbook - wages, employment counts, job outlook, education requirements and career data for 300+ US occupations. No API key needed.

- **URL**: https://apify.com/crawlerbros/bls-ooh-scraper.md
- **Developed by:** [Crawler Bros](https://apify.com/crawlerbros) (community)
- **Categories:** Jobs, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## BLS Occupational Outlook Handbook Scraper

Extract detailed career and wage data for 300+ US occupations from the Bureau of Labor Statistics (BLS) Occupational Outlook Handbook (OOH). No API key required.

### What This Actor Does

This actor scrapes the BLS OOH website to extract structured occupation data including:
- Median annual and hourly wages
- Employment counts and projections
- 10-year job outlook and growth category
- Education and training requirements
- Typical job duties and work settings
- Related occupations

### Data Source

**Bureau of Labor Statistics — Occupational Outlook Handbook**  
Website: [https://www.bls.gov/ooh/](https://www.bls.gov/ooh/)  
No API key or registration required. The data is published by the U.S. Department of Labor.

### Use Cases

- **Career research** — Compare wages and outlook across occupation groups
- **Workforce analytics** — Analyze labor market trends and projected job growth
- **Education planning** — Map education requirements to occupations
- **Salary benchmarking** — Compare median wages by occupation and group
- **Job market intelligence** — Identify growing vs. declining occupations

### Input Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| `mode` | Select | How to fetch: `allOccupations`, `byOccupationGroup`, `searchByKeyword`, `byOccupation` |
| `occupationGroup` | Select | One of 23 BLS occupation groups (used with `byOccupationGroup`) |
| `keyword` | String | Keyword to search in occupation names (used with `searchByKeyword`) |
| `occupationUrl` | String | Full URL or relative path to a specific occupation page |
| `minMedianWage` | Integer | Minimum median annual wage (USD) filter |
| `maxItems` | Integer | Maximum records to return (default: 50, max: 1000) |

### Output Fields

| Field | Type | Description |
|-------|------|-------------|
| `occupation_title` | String | Occupation name |
| `occupation_group` | String | Major occupation group |
| `median_annual_wage_usd` | Integer | Median annual wage in USD |
| `median_hourly_wage_usd` | Number | Median hourly wage in USD |
| `employment_count` | Integer | Number of jobs in the reference year |
| `employment_percent_change_10yr` | Number | Projected % change in employment over 10 years |
| `job_outlook_category` | String | Growth category (e.g., "Faster than average") |
| `entry_level_education` | String | Typical education to enter the occupation |
| `work_experience` | String | Work experience requirement |
| `on_the_job_training` | String | On-the-job training requirement |
| `number_of_jobs` | Integer | Total number of jobs |
| `projected_employment_change` | Integer | Projected new jobs over 10 years |
| `occupation_code` | String | SOC code |
| `summary` | String | Brief occupation description |
| `typical_duties` | Array | List of common job duties |
| `work_settings` | Array | List of common work environments |
| `related_occupations` | Array | List of similar occupations |
| `url` | String | BLS OOH page URL |
| `scrapedAt` | String | ISO-8601 scrape timestamp |

### Example Output

```json
{
  "occupation_title": "Registered Nurses",
  "occupation_group": "Healthcare Practitioners and Technical",
  "median_annual_wage_usd": 86070,
  "median_hourly_wage_usd": 41.38,
  "employment_count": 3372400,
  "employment_percent_change_10yr": 6.0,
  "job_outlook_category": "Faster than average",
  "entry_level_education": "Bachelor's degree",
  "work_experience": "None",
  "on_the_job_training": "None",
  "number_of_jobs": 3372400,
  "projected_employment_change": 193100,
  "summary": "Registered nurses (RNs) provide and coordinate patient care...",
  "typical_duties": [
    "Assess patient health problems and needs",
    "Maintain accurate, detailed reports and records"
  ],
  "work_settings": [
    "Hospitals; state, local, and private",
    "Ambulatory health care services"
  ],
  "related_occupations": [
    "Nurse Anesthetists, Nurse Midwives, and Nurse Practitioners",
    "Licensed Practical and Licensed Vocational Nurses"
  ],
  "url": "https://www.bls.gov/ooh/healthcare/registered-nurses.htm",
  "scrapedAt": "2026-06-02T10:00:00+00:00"
}
````

### Modes

#### `allOccupations`

Scrapes all ~330 occupations from the A-Z index. Best for comprehensive data collection.

#### `byOccupationGroup`

Scrapes all occupations within a specific group (e.g., Healthcare, Management). Faster than all occupations.

#### `searchByKeyword`

Filters occupations by keyword in the title. E.g., `keyword=nurse` returns all nursing-related occupations.

#### `byOccupation`

Scrapes a single specific occupation by URL or path.

### Occupation Groups

- Management
- Business and Financial Operations
- Computer and Information Technology
- Architecture and Engineering
- Life, Physical, and Social Science
- Community and Social Service
- Legal
- Educational Instruction and Library
- Arts, Design, Entertainment, Sports, and Media
- Healthcare Practitioners and Technical
- Healthcare Support
- Protective Service
- Food Preparation and Serving Related
- Building and Grounds Cleaning and Maintenance
- Personal Care and Service
- Sales and Related
- Office and Administrative Support
- Farming, Fishing, and Forestry
- Construction and Extraction
- Installation, Maintenance, and Repair
- Production
- Transportation and Material Moving
- Military

### Frequently Asked Questions

**Q: Is an API key required?**\
A: No. The BLS OOH is a public government website with no authentication required.

**Q: How current is the data?**\
A: The BLS updates OOH data periodically (typically every 2 years). Wage data is from the most recent BLS Occupational Employment and Wage Statistics survey.

**Q: How many occupations are covered?**\
A: The OOH covers approximately 330 occupational profiles across 23 major groups.

**Q: What does "≥$239,200 per year" mean for wage?**\
A: For high-wage occupations (like physicians), the BLS reports a threshold rather than a specific median. The actor records this as the threshold value.

**Q: Can I filter by wage?**\
A: Yes. Use `minMedianWage` to filter out occupations below a salary threshold.

# Actor input Schema

## `mode` (type: `string`):

How to fetch occupations.

## `occupationGroup` (type: `string`):

Major occupation group to browse (mode=byOccupationGroup).

## `keyword` (type: `string`):

Filter occupations by keyword in title (mode=searchByKeyword). E.g. 'nurse', 'engineer', 'manager'.

## `occupationUrl` (type: `string`):

Full URL or relative path for a specific occupation (mode=byOccupation). E.g. '/ooh/healthcare/physicians-and-surgeons.htm' or 'https://www.bls.gov/ooh/computer-and-information-technology/software-developers.htm'.

## `minMedianWage` (type: `integer`):

Filter out occupations with median annual wage below this threshold.

## `maxItems` (type: `integer`):

Maximum number of occupation records to return.

## Actor input object example

```json
{
  "mode": "byOccupationGroup",
  "occupationGroup": "Healthcare Practitioners and Technical",
  "maxItems": 10
}
```

# Actor output Schema

## `records` (type: `string`):

Dataset containing all scraped BLS Occupational Outlook Handbook records.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "byOccupationGroup",
    "occupationGroup": "Healthcare Practitioners and Technical",
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlerbros/bls-ooh-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "byOccupationGroup",
    "occupationGroup": "Healthcare Practitioners and Technical",
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("crawlerbros/bls-ooh-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "byOccupationGroup",
  "occupationGroup": "Healthcare Practitioners and Technical",
  "maxItems": 10
}' |
apify call crawlerbros/bls-ooh-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=crawlerbros/bls-ooh-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "BLS Occupational Outlook Handbook Scraper",
        "description": "Scrape Bureau of Labor Statistics Occupational Outlook Handbook - wages, employment counts, job outlook, education requirements and career data for 300+ US occupations. No API key needed.",
        "version": "1.0",
        "x-build-id": "nSTWopc0G9N2buVVf"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/crawlerbros~bls-ooh-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-crawlerbros-bls-ooh-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/crawlerbros~bls-ooh-scraper/runs": {
            "post": {
                "operationId": "runs-sync-crawlerbros-bls-ooh-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/crawlerbros~bls-ooh-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-crawlerbros-bls-ooh-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",
                "required": [
                    "mode"
                ],
                "properties": {
                    "mode": {
                        "title": "Mode",
                        "enum": [
                            "allOccupations",
                            "byOccupationGroup",
                            "searchByKeyword",
                            "byOccupation"
                        ],
                        "type": "string",
                        "description": "How to fetch occupations.",
                        "default": "byOccupationGroup"
                    },
                    "occupationGroup": {
                        "title": "Occupation Group",
                        "enum": [
                            "Management",
                            "Business and Financial Operations",
                            "Computer and Information Technology",
                            "Architecture and Engineering",
                            "Life Physical and Social Science",
                            "Community and Social Service",
                            "Legal",
                            "Educational Instruction and Library",
                            "Arts Design Entertainment Sports and Media",
                            "Healthcare Practitioners and Technical",
                            "Healthcare Support",
                            "Protective Service",
                            "Food Preparation and Serving Related",
                            "Building and Grounds Cleaning and Maintenance",
                            "Personal Care and Service",
                            "Sales and Related",
                            "Office and Administrative Support",
                            "Farming Fishing and Forestry",
                            "Construction and Extraction",
                            "Installation Maintenance and Repair",
                            "Production",
                            "Transportation and Material Moving",
                            "Military"
                        ],
                        "type": "string",
                        "description": "Major occupation group to browse (mode=byOccupationGroup).",
                        "default": "Healthcare Practitioners and Technical"
                    },
                    "keyword": {
                        "title": "Keyword",
                        "type": "string",
                        "description": "Filter occupations by keyword in title (mode=searchByKeyword). E.g. 'nurse', 'engineer', 'manager'."
                    },
                    "occupationUrl": {
                        "title": "Occupation URL or slug",
                        "type": "string",
                        "description": "Full URL or relative path for a specific occupation (mode=byOccupation). E.g. '/ooh/healthcare/physicians-and-surgeons.htm' or 'https://www.bls.gov/ooh/computer-and-information-technology/software-developers.htm'."
                    },
                    "minMedianWage": {
                        "title": "Minimum Median Annual Wage (USD)",
                        "minimum": 0,
                        "maximum": 500000,
                        "type": "integer",
                        "description": "Filter out occupations with median annual wage below this threshold."
                    },
                    "maxItems": {
                        "title": "Max Items",
                        "minimum": 1,
                        "maximum": 1000,
                        "type": "integer",
                        "description": "Maximum number of occupation records to return.",
                        "default": 50
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
