# Glassdoor API

> Glassdoor returns employee ratings, company reviews, and public company details as a workflow and API.

Glassdoor, also called Glassdoor.com, returns employee ratings and public company details from a company overview; enter a company name. Get company rating returns overall and category ratings, review counts, recommendation percentages, and public company details for the named company.

- Page: https://fous.com/workflows/glassdoor
- Handle: `@glassdoor`
- Category: [Jobs](https://fous.com/workflows/category/jobs)
- Source website: https://glassdoor.com
- Last verified: Sep 29, 2026
- Fous is not affiliated with Glassdoor.

## Methods

### Get company rating

Operation `get_company_rating`, version 1. 1 credit per call.

Get employee ratings and public company details from a Glassdoor company overview. Details not available without signing in are null.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `company` | string | yes | `"Microsoft"` | Company name to look up, for example Deloitte. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "company"
  ],
  "properties": {
    "company": {
      "type": "string",
      "description": "Company name to look up, for example Deloitte.",
      "examples": [
        "Microsoft",
        "Deloitte"
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "company": "Microsoft"
    },
    {
      "company": "Deloitte"
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `company` | string | `"Microsoft"` | Matched company name. |
| `website` | string or null | `"https://www.microsoft.com/en-gb/"` | Company website. |
| `ceo_name` | string or null | `"Satya Nadella"` | CEO name if public. |
| `industry` | string or null | `"Computer Hardware Development"` | Company industry. |
| `founded_year` | integer or null | `1975` | Year founded. |
| `headquarters` | string or null | `"Redmond, WA"` | Company headquarters. |
| `glassdoor_link` | string | `"https://www.glassdoor.com/Overview/Working-at-Microsoft-EI_IE1651.11,20.htm"` | Public Glassdoor company overview link. |
| `overall_rating` | number | `4` | Overall employee rating out of 5. |
| `company_size_band` | string or null | `"10000+ Employees"` | Employee count range or band. |
| `number_of_reviews` | integer | `54748` | Number of ratings shown on the overview. |
| `ceo_approval_percent` | integer or null | `74` | CEO approval percentage if public. |
| `senior_management_rating` | number or null | `3.3` | Senior management rating out of 5. |
| `work_life_balance_rating` | number or null | `3.9` | Work-life balance rating out of 5. |
| `culture_and_values_rating` | number or null | `3.8` | Culture and values rating out of 5. |
| `career_opportunities_rating` | number or null | `3.7` | Career opportunities rating out of 5. |
| `recommend_to_friend_percent` | integer | `74` | Percent who would recommend the company to a friend. |
| `diversity_and_inclusion_rating` | number or null | `4.1` | Diversity and inclusion rating out of 5. |
| `compensation_and_benefits_rating` | number or null | `3.8` | Compensation and benefits rating out of 5. |

**Example input**

```json
{
  "company": "Microsoft"
}
```

**Example output**

```json
{
  "company": "Microsoft",
  "website": "https://www.microsoft.com/en-gb/",
  "ceo_name": "Satya Nadella",
  "industry": "Computer Hardware Development",
  "founded_year": 1975,
  "headquarters": "Redmond, WA",
  "glassdoor_link": "https://www.glassdoor.com/Overview/Working-at-Microsoft-EI_IE1651.11,20.htm",
  "overall_rating": 4,
  "company_size_band": "10000+ Employees",
  "number_of_reviews": 54748,
  "ceo_approval_percent": 74,
  "senior_management_rating": 3.3,
  "work_life_balance_rating": 3.9,
  "culture_and_values_rating": 3.8,
  "career_opportunities_rating": 3.7,
  "recommend_to_friend_percent": 74,
  "diversity_and_inclusion_rating": 4.1,
  "compensation_and_benefits_rating": 3.8
}
```

## Quick start

Call the API with a Fous API key (`FOUS_API_KEY`). To create one, turn on Developer mode in Fous Studio, then open Keys & connections → API keys (https://app.fous.com/keys).

```bash
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
: "${FOUS_API_KEY:?Set FOUS_API_KEY before running this example}"

curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 120 \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@glassdoor",
  "visibility": "public",
  "operation": "get_company_rating",
  "version": 1,
  "input": {
    "company": "Microsoft"
  },
  "response": {
    "format": "json"
  }
}'
```

```python
# Save as fous.py and run with python3 fous.py. No packages needed.
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
import json
import os
import urllib.error
import urllib.request

api_key = os.environ.get("FOUS_API_KEY")
if not api_key:
    raise RuntimeError("Set FOUS_API_KEY before running this example")

body = json.loads("{\n  \"api\": \"@glassdoor\",\n  \"visibility\": \"public\",\n  \"operation\": \"get_company_rating\",\n  \"version\": 1,\n  \"input\": {\n    \"company\": \"Microsoft\"\n  },\n  \"response\": {\n    \"format\": \"json\"\n  }\n}")
request = urllib.request.Request(
    "https://api.fous.com/v1/query",
    data=json.dumps(body).encode("utf-8"),
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    method="POST",
)
try:
    with urllib.request.urlopen(request, timeout=120) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError(f"HTTP {error.code}: {error.read().decode('utf-8', errors='replace')}") from error
if result.get("success") is False:
    raise RuntimeError(result.get("error", {}).get("message", "Request failed"))
print(json.dumps(result["data"]["output"], indent=2))
```

```typescript
// Save as fous.mts and run with npx tsx fous.mts.
// First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
const apiKey = process.env.FOUS_API_KEY;
if (!apiKey) throw new Error("Set FOUS_API_KEY before running this example");

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(120_000),
  body: JSON.stringify({
  "api": "@glassdoor",
  "visibility": "public",
  "operation": "get_company_rating",
  "version": 1,
  "input": {
    "company": "Microsoft"
  },
  "response": {
    "format": "json"
  }
}),
});
type ApiResult = { success: boolean; data?: { output: unknown }; error?: { message: string } };
const result: ApiResult = await response.json();
if (!response.ok || result.success === false) {
  throw new Error(result.error?.message ?? `HTTP ${response.status}`);
}
if (!result.data) throw new Error("Missing API response data");
console.log(result.data.output);
```

Or describe the data in plain language: send `{"api":"@glassdoor","prompt":"Describe the data you need, with every detail"}` to the same URL. Fous fills in the input, runs the method that fits and returns only the fields you asked for; `data.route.calls[].request` is the exact call it made. Routing is free; the run costs the same.

## Use cases

- Compare employee ratings across companies
- Review ratings for work-life balance and management
- Check company size, industry, and headquarters
- Assess employee recommendations and CEO approval

## FAQ

### Is Fous affiliated with Glassdoor?

No. Fous is not affiliated with Glassdoor. This workflow reads the public glassdoor.com website and returns its data.

### How much does it cost?

Each run costs 1 credit. With pay-as-you-go, a credit costs 1¢; monthly plans cost less per credit.

### Do I need a Glassdoor account?

No. You only need a Fous account.

### How current is the data?

Fous gets the data from glassdoor.com when you run it; repeating the same request within a day may return the saved result. Fous checks this workflow automatically; it last passed a check on Sep 29, 2026.

### What is a company's overall employee rating?

Get company rating returns the overall employee rating out of 5 for a company name.

### How many ratings does a company have?

Get company rating returns the number of ratings shown on the company overview.

### What are a company's work-life balance ratings?

Get company rating returns the work-life balance rating out of 5.

## Related

- [Indeed API](https://fous.com/workflows/indeed.md): Indeed returns public first-page listings and details for available, unexpired jobs, company employee ratings and CEO approval when available, and typical pay from public salary pages.
- [AmbitionBox API](https://fous.com/workflows/ambitionbox.md): AmbitionBox covers company reviews, salaries and jobs, including role pay, experience averages and ratings; verification can limit salary results, and review summaries may be unavailable.
- [Trustpilot API](https://fous.com/workflows/trustpilot.md): Trustpilot provides company ratings, reply and location details when available, recent public reviews, and company search results with ratings, review counts, categories, locations, and links.
- [LinkedIn API](https://fous.com/workflows/linkedin.md): LinkedIn returns publicly visible company information, recent company posts, open job listings and details, and similar midsized robotics companies; closed jobs, hidden details, and exhaustive company matches are unavailable.
- [Forbes API](https://fous.com/workflows/forbes.md): Forbes provides business news, real-time billionaire rankings and wealth that can change during the trading day, plus ranked Global 2000 companies with financial figures and company profiles.
- [PayScale API](https://fous.com/workflows/payscale.md): PayScale provides job and location salary research, skill pay effects when published, and employer average base salaries and common jobs where available.
- [Levels.fyi API](https://fous.com/workflows/levels-fyi.md): Levels.fyi returns published per-level median annual pay, rankings of up to 50 companies by role/location median total pay, and cross-company pay comparisons for 2–10 companies.
- [G2 API](https://fous.com/workflows/g2.md): G2 provides software ratings, review counts, pricing, category scores, and up to 25 newest public reviews; ratings and counts may lag, and some details may be unavailable.
- [All Jobs workflows](https://fous.com/workflows/category/jobs)
