company_slugstringobrigatório
Company slug identifier (e.g. 'google', 'meta', 'amazon'). Obtain from get_popular_companies.
https://api.sandbase.ai/v1/api/levels-fyi/salary-summary-mdRetrieve 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.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
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.
software-engineer.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.
| Name | Type | Required | Description |
|---|---|---|---|
company_slug | string | Yes | Company slug identifier (e.g. 'google', 'meta', 'amazon'). Obtain from get_popular_companies. |
job_family_slug | string | No | Job family slug (e.g. 'software-engineer', 'product-manager', 'data-scientist'). Omitting returns an overall company salary summary across all roles. |
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"
}
| Field | Meaning |
|---|---|
status | Shows success when the call worked. |
data.markdown | The 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. |
company_slug values from Levels.fyi Popular Companies.job_family_slug values from Levels.fyi Job Families. Leave it out to get the summary across all roles.$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
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"
}'Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
company_slugstringobrigatórioCompany slug identifier (e.g. 'google', 'meta', 'amazon'). Obtain from get_popular_companies.
job_family_slugstringJob family slug (e.g. 'software-engineer', 'product-manager', 'data-scientist'). Omitting returns an overall company salary summary across all roles.
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
| API | Preço | Resposta |
|---|---|---|
Levels.fyi Salary Summary MdEsta API Levels.fyi | $0.01 por chamada | JSON assíncrono |
Levels.fyi | $0.01 por chamada | JSON assíncrono |
Levels.fyi | $0.01 por chamada | JSON assíncrono |
Levels.fyi | $0.01 por chamada | JSON assíncrono |
Levels.fyi | $0.01 por chamada | JSON assíncrono |
Levels.fyi | $0.01 por chamada | JSON assíncrono |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/levels-fyi/salary-summary-md com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
$0.01 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: company_slug (string). Opcionais: job_family_slug (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Um resultado JSON. Este endpoint é assíncrono, então a resposta informa como buscar o resultado final. O README desta página inclui um exemplo de resposta.
Não. Levels.fyi Salary Summary Md funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Levels.fyi separadamente.