levelsfyi_salaries
Retrieve published salary submissions for a job family with filters for company, country, currency, and focus tag. Use it to compare recent compensation by role and location.
Instructions
Read published Levels.fyi salary submissions. Returns the newest published salary submissions for one job family: company, company slug and icon, title, level, focus tag, years of experience, tenure and time at level, offer date, location with country, DMA and city ids, work arrangement, employment type, compensation perspective and salary format, base salary, total compensation, base salary currency, the caller's currency and the source's exchange rate, company size and funding stage, and the source's redaction and anonymisation flags. Pass a job_family_slug from levelsfyi-job-families; country_ids from levelsfyi-locations, currency from levelsfyi-currencies, company_slug from levelsfyi-company-search and focus_tag_slug from levelsfyi-focus-tags each narrow the set. The source publishes only the first page of any filter: offset 0 is the only offset it accepts and limit tops out at 20, so this route returns the newest 1 to 20 rows and does not advertise further pages. total is the source's own match count for the filter, so total greater than count means more rows exist than this page carries. Rows the source redacts are returned with is_redacted or anonymise set rather than dropped; fields the source publishes as the boolean false or as a range label ("2-4", "11+") are represented rather than coerced.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"job_family_slug": "<job_family_slug>"
},
"name": "levelsfyi_salaries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows to return, 1 to 20; defaults to 20 | |
| currency | No | ISO-4217 currency code from levelsfyi-currencies; defaults to USD | |
| country_ids | No | Comma-separated country ids from levelsfyi-locations; omit for no country filter | |
| company_slug | No | Restrict to one company slug from levelsfyi-company-search | |
| focus_tag_slug | No | Restrict to one focus tag slug from levelsfyi-focus-tags | |
| job_family_slug | Yes | Job family slug from levelsfyi-job-families |