# Levels.fyi API on SandBase

> Read Levels.fyi compensation data: salaries by company and role, internship pay, H-1B salaries, company benefits and job families.

Source: https://www.sandbase.ai/apis/levels-fyi

- Endpoints: 8
- Call: `POST https://api.sandbase.ai/v1/api/{vendor}/{endpoint}` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body
- Billing: pay per call from one SandBase balance; no provider account or subscription needed

## Endpoints

- [Levels.fyi Company Benefits](https://www.sandbase.ai/apis/levels-fyi/company-benefits.md): $0.01 per call
  Retrieve benefits and perks data for a specific company including benefit categories, descriptions, field values, and computed monetary values. Each benefit includes its perk definition, category tag,...
- [Levels.fyi Company Overview](https://www.sandbase.ai/apis/levels-fyi/company-overview.md): $0.01 per call
  Retrieve a company profile overview including full company details (name, description, industry, ticker, HQ location, vesting info), a structured overview summary, related companies, and available job...
- [Levels.fyi H1B Salaries](https://www.sandbase.ai/apis/levels-fyi/h1b-salaries.md): $0.01 per call
  Retrieve paginated H-1B visa salary records for a given year, sorted by date descending. Each record includes company, job title, wage, location (city/state), and certification status.
- [Levels.fyi Internship Salaries](https://www.sandbase.ai/apis/levels-fyi/internship-salaries.md): $0.01 per call
  Retrieve internship salary data across all companies. Returns the full dataset including monthly and hourly pay, location, season, year, and education level for each record.
- [Levels.fyi Job Families](https://www.sandbase.ai/apis/levels-fyi/job-families.md): $0.01 per call
  Retrieve the full directory of job titles and families organized as a flat list. Each job family includes slug, name, category, focus tags, and job titles.
- [Levels.fyi Jobs](https://www.sandbase.ai/apis/levels-fyi/jobs.md): From $0.00085 per call
  Search Levels.fyi job listings by title or keyword and get each job with its salary range and estimated total compensation where Levels.fyi has them, plus company, location, listing date and job link....
- [Levels.fyi Popular Companies](https://www.sandbase.ai/apis/levels-fyi/popular-companies.md): $0.01 per call
  Retrieve a list of popular companies from the Levels.fyi directory with their slugs and salary page URLs. Returns approximately 24 top companies.
- [Levels.fyi Salary Summary Md](https://www.sandbase.ai/apis/levels-fyi/salary-summary-md.md): $0.01 per call
  Retrieve an aggregate salary summary in Markdown format for a given company and optional job family. Includes median compensation, level breakdowns by job family, and attribution information.

## Use it through SandBase

- Base URL: `https://api.sandbase.ai/v1`, with `Authorization: Bearer $SANDBASE_API_KEY`.
- Language models use the OpenAI-compatible `POST /v1/chat/completions`; media models use `POST /v1/run`; data APIs use `POST /v1/api/{vendor}/{endpoint}`.
- AI agents can connect through the SandBase MCP server or CLI: https://www.sandbase.ai/skill.md
- Every model and API page has a Markdown twin at the same URL plus `.md`. Full index: https://www.sandbase.ai/llms.txt
