# Levels.fyi H1B Salaries API

> 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.

Source: https://www.sandbase.ai/model/levels-fyi/h1b-salaries
API reference: https://www.sandbase.ai/model/levels-fyi/h1b-salaries/docs

## Facts

- Provider: Levels.fyi
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/levels-fyi/h1b-salaries`
- Price: $0.01 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: api, levels fyi, company people
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/levels-fyi/h1b-salaries` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `page` | integer | no |  |
| `year` | integer | no |  |

## FAQ

### How do I use the Levels.fyi H1B Salaries API?

Send a POST request to https://api.sandbase.ai/v1/api/levels-fyi/h1b-salaries with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Levels.fyi H1B Salaries API cost?

$0.01 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

### What parameters does the Levels.fyi H1B Salaries API accept?

No parameters are required. Optional: page (integer) and year (integer). The Parameters table and the Playground on this page list every field.

### What does the Levels.fyi H1B Salaries API return?

A JSON result. This endpoint runs asynchronously, so the response tells you how to fetch the finished result.

### Do I need a Levels.fyi developer account or API key?

No. Levels.fyi H1B Salaries runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Levels.fyi API access separately.

## README

### Levels.fyi H1B Salaries

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.
