Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Levels.fyi Salary Summary Md

Tài liệu API
https://api.sandbase.ai/v1/api/levels-fyi/salary-summary-md

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.

Giá
$0.01USD / lượt gọi
Phương thức
POST
Phản hồi
JSON bất đồng bộ
Tham số
1 bắt buộc · 1 tùy chọn

Phòng thử nghiệm

Đầu vào
Company slug identifier (e.g. 'google', 'meta', 'amazon'). Obtain from get_popular_companies.
Job family slug (e.g. 'software-engineer', 'product-manager', 'data-scientist'). Omitting returns an overall company salary summary across all roles.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Levels.fyi Salary Summary Md

Returns a salary summary for one company on Levels.fyi as a single Markdown document. It needs a company_slug and accepts an optional job_family_slug to narrow the summary to one role.

Use cases

  • Drop the Markdown straight into an LLM prompt to answer pay questions about a specific company.
  • Render a company pay summary page in an internal tool without building a table layout.
  • Compare the overall pay summary for a company with the summary for one job family such as software-engineer.
  • Archive a text snapshot of a company's pay data for offer research notes.

Request

curl -X POST "https://api.sandbase.ai/v1/api/levels-fyi/salary-summary-md" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"company_slug": "stripe"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
company_slugstringYesCompany slug identifier (e.g. 'google', 'meta', 'amazon'). Obtain from get_popular_companies.
job_family_slugstringNoJob family slug (e.g. 'software-engineer', 'product-manager', 'data-scientist'). Omitting returns an overall company salary summary across all roles.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "markdown": "# Levels.fyi – Stripe Salaries\n\n> AI agents: this is one page of Levels.fyi pay …"
  },
  "status": "success"
}

Response fields

FieldMeaning
statusShows success when the call worked.
data.markdownThe full salary summary as one Markdown string. It starts with a title such as Levels.fyi – Stripe Salaries and is followed by the pay content for the company. Parse the headings and tables in it to pull out specific figures.

Notes

Pricing

$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Levels.fyi$0.01 mỗi lần gọiJSON bất đồng bộ
Levels.fyi$0.01 mỗi lần gọiJSON bất đồng bộ
Levels.fyi$0.01 mỗi lần gọiJSON bất đồng bộ
Levels.fyi$0.01 mỗi lần gọiJSON bất đồng bộ
Levels.fyi$0.01 mỗi lần gọiJSON bất đồng bộ
Levels.fyi$0.01 mỗi lần gọiJSON bất đồng bộ

Câu hỏi

FAQ

Làm thế nào để dùng API Levels.fyi Salary Summary Md?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/levels-fyi/salary-summary-md với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Levels.fyi Salary Summary Md có giá bao nhiêu?

$0.01 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Levels.fyi Salary Summary Md chấp nhận những tham số nào?

Bắt buộc: company_slug (string). Tùy chọn: job_family_slug (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Levels.fyi Salary Summary Md trả về gì?

Kết quả JSON. Endpoint này chạy bất đồng bộ, nên phản hồi sẽ cho bạn biết cách lấy kết quả hoàn tất. README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Levels.fyi không?

Không. Levels.fyi Salary Summary Md chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Levels.fyi.