Glassdoor APIglassdoor.co.in ↗
Access Glassdoor India company ratings, salary data, and interview questions via 4 endpoints. Search companies and fetch employer insights programmatically.
What is the Glassdoor API?
The Glassdoor India API provides access to employer data from glassdoor.co.in across 4 endpoints, covering company search, aggregate ratings, salary submissions by job title, and candidate interview questions. The search_companies endpoint lets you look up any company by name and retrieve its employerId and slug, which are then used to pull detailed overview, compensation, and interview data for that employer.
curl -X GET 'https://api.parse.bot/scraper/f651ee5b-d086-4d96-a0d1-337af8db79c6/search_companies?query=Infosys' \ -H 'X-API-Key: $PARSE_API_KEY'
Typed, relational, agent-ready
A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.
- Fully typed · autocompletes
- Objects link to objects
- Typed errors & pagination
Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:
uv add parse-sdk uv run parse init uv run parse add --marketplace glassdoor-co-in-api
uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.
"""Walkthrough: Glassdoor India SDK — search companies and drill into salary, overview, and interview data."""
from parse_apis.glassdoor_india_api import Glassdoor, CompanyNotFound
client = Glassdoor()
# Search for companies by name; limit= caps total items fetched.
for company in client.companies.search(query="Infosys", limit=3):
print(company.name, company.employer_id, company.slug)
# Drill into the first result for detailed data.
company = client.companies.search(query="TCS", limit=1).first()
if company:
# Get company overview — rating, reviews, CEO approval.
overview = company.overview()
print(overview.rating_value, overview.review_count, overview.recommend_to_friend_percentage)
# Get salary data for top job titles at this company.
salary_data = company.salaries()
print(salary_data.total_salaries)
for entry in salary_data.salaries[:3]:
print(entry.job_title, entry.salaries_submitted, entry.salary_range)
# Get interview questions and FAQ.
interviews = company.interviews()
print(interviews.total_questions_found)
for q in interviews.questions[:3]:
print(q)
for faq_item in interviews.faq[:2]:
print(faq_item.question, faq_item.answer[:80])
# Typed error handling: catch CompanyNotFound for invalid IDs.
try:
bad = client.companies.search(query="NonexistentXYZ12345", limit=1).first()
if bad:
bad.overview()
except CompanyNotFound as exc:
print(f"Company not found: employer_id={exc.employer_id}, slug={exc.company_slug}")
print("exercised: companies.search / overview / salaries / interviews / CompanyNotFound")
Full-text search for companies by name on Glassdoor India. Returns company name, employer ID, and slug for each match. Results are extracted from the search results page; the number of results varies by query specificity. Each result provides the identifiers needed to call other endpoints (employer_id, company_slug).
| Param | Type | Description |
|---|---|---|
| queryrequired | string | Company name to search for. |
{
"type": "object",
"fields": {
"query": "string, the search term used",
"results": "array of company objects with name, employerId, and slug"
},
"sample": {
"data": {
"query": "Infosys",
"results": [
{
"name": "Infosys",
"slug": "Infosys",
"employerId": "7927"
},
{
"name": "Infosys",
"slug": "Infosys",
"employerId": "10628599"
},
{
"name": "Inforsys",
"slug": "Inforsys",
"employerId": "1503118"
}
]
},
"status": "success"
}
}About the Glassdoor API
Company Search and Identification
Start with search_companies, which accepts a query string (company name) and returns an array of matching employer objects, each containing name, employerId, and slug. These two identifiers — employer_id and company_slug — are required inputs for all three detail endpoints, so the search step is the entry point for any workflow.
Company Overview and Reputation Signals
get_company_overview returns aggregate sentiment data for a given employer: ratingValue (overall score out of 5), reviewCount (total reviews submitted), ceoApprovalPercentage (share of employees approving of leadership), and recommendToFriendPercentage (share who would recommend the company to a friend). These four fields together give a compact snapshot of employer reputation as reflected on Glassdoor India.
Salary Data by Job Title
get_company_salaries returns a salaries array where each entry includes a jobTitle, a salariesSubmitted count, and an optional salaryRange when enough data exists. The totalSalaries field tells you how many job-title entries were returned for that employer. The endpoint also includes a faq array with question-and-answer strings covering compensation context — useful for surfacing qualitative detail alongside the numeric ranges.
Interview Questions and Hiring Process FAQs
get_company_interview_questions returns two parallel structures: a faq array covering the hiring process (difficulty, typical duration, common experiences) and a questions array of verbatim interview question strings submitted by candidates. The totalQuestionsFound integer tells you how many questions were extracted. Both structures are scoped to a single employer via employer_id and company_slug.
The Glassdoor API is a managed, monitored endpoint for glassdoor.co.in — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when glassdoor.co.in changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.
This isn't an official glassdoor.co.in API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.
Will this API break when the source site changes?+
Is this an official API from the source site?+
Can I fix or extend this API myself if I need a new endpoint or field?+
What happens if I call an endpoint that has an issue?+
- Build a company comparison tool that ranks employers by
ratingValueandrecommendToFriendPercentage. - Aggregate salary ranges across job titles at target companies for compensation benchmarking in India.
- Populate a recruiting dashboard with CEO approval and employee recommendation percentages.
- Feed interview prep tools with real candidate-submitted questions for specific companies.
- Screen employers by review volume (
reviewCount) to filter out companies with thin data. - Track changes in
ceoApprovalPercentageover time by periodically polling company overview data. - Cross-reference
salariesSubmittedcounts to assess how reliable the salary range data is for a given role.
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 100 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does Glassdoor have an official developer API?+
What does `get_company_salaries` return when salary data is sparse for a job title?+
salaryRange field inside each salary object is optional — it is omitted when insufficient submissions exist for that job title. The salariesSubmitted count on each entry tells you whether the range, when present, is based on a meaningful sample. The totalSalaries field reports how many job-title entries were returned overall for the employer.Does the API return individual employee reviews or just aggregate ratings?+
get_company_overview. Individual review text, star breakdowns by category (culture, work-life balance, etc.), and reviewer metadata are not exposed. You can fork this API on Parse and revise it to add an endpoint covering individual review content.Is this API limited to Indian companies, or does it cover global employers?+
Can I retrieve interview questions for a specific job role rather than for the whole company?+
get_company_interview_questions returns all candidate-submitted questions for an employer without filtering by job title or department. You can fork this API on Parse and revise it to add role-level filtering if the underlying data supports it.